Wrap the shellcode in SEH

git-svn-id: file:///home/svn/framework3/trunk@5692 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-09-26 23:35:47 +00:00
parent b94d10f53c
commit 16d2825b83
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -593,7 +593,7 @@ module Text
bo = pe.index('PAYLOAD:') bo = pe.index('PAYLOAD:')
pe[bo, 1024] = [code].pack('a1024') if bo 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 pe[ds, 4] = [rand(0x100000000)].pack('V') if ds
return pe return pe