Switch the exe back to windows mode (vs console)

git-svn-id: file:///home/svn/framework3/trunk@5691 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-09-26 23:01:58 +00:00
parent 4d47f49c1c
commit b94d10f53c
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -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