Switch the exe back to windows mode (vs console)
git-svn-id: file:///home/svn/framework3/trunk@5691 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4d47f49c1c
commit
b94d10f53c
Binary file not shown.
|
@ -593,8 +593,8 @@ module Text
|
|||
bo = pe.index('PAYLOAD:')
|
||||
pe[bo, 1024] = [code].pack('a1024') if bo
|
||||
|
||||
ds = pe.index([0x48dd5feb].pack('V'))
|
||||
pe[ds, 4] = [rand(0x100000000)].pack('V')
|
||||
ds = pe.index([0x48dd6922].pack('V'))
|
||||
pe[ds, 4] = [rand(0x100000000)].pack('V') if ds
|
||||
|
||||
return pe
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue