Javascript unicode encoded shellcode to hex(\x type)

encodedShell = '%u10EB%u4B5B%uC933%uB966%u03B8%u3480%uBD0B%uFAE2%u05EB%uEBE8%uFFFF'
x = encodedShell.replace('%u','')
length = len(x)/4
sh = ''
for i in range(length):
 sh = sh + r'\x' + x[2:4] + r'\x' + x[:2]
 x = x[4:]
print sh

by codexb | 2009/08/09 23:15 | Web | 트랙백

◀ 이전 페이지          다음 페이지 ▶