Randomize the timedatestamp

git-svn-id: file:///home/svn/framework3/trunk@5690 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2008-09-26 22:37:41 +00:00
parent 6d5ac7eead
commit 4d47f49c1c
1 changed files with 3 additions and 0 deletions

View File

@ -593,6 +593,9 @@ 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')
return pe
end