Wrap the shellcode in SEH
git-svn-id: file:///home/svn/framework3/trunk@5692 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b94d10f53c
commit
16d2825b83
Binary file not shown.
|
@ -593,7 +593,7 @@ module Text
|
|||
bo = pe.index('PAYLOAD:')
|
||||
pe[bo, 1024] = [code].pack('a1024') if bo
|
||||
|
||||
ds = pe.index([0x48dd6922].pack('V'))
|
||||
ds = pe.index([0x48dd7103].pack('V'))
|
||||
pe[ds, 4] = [rand(0x100000000)].pack('V') if ds
|
||||
|
||||
return pe
|
||||
|
|
Loading…
Reference in New Issue