revert service name string insertion
git-svn-id: file:///home/svn/framework3/trunk@9079 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
e5d0e54de8
commit
6fec79926c
|
@ -339,7 +339,7 @@ require 'metasm'
|
|||
|
||||
bo = pe.index('SERVICENAME')
|
||||
raise RuntimeError, "Invalid Win32 PE Service EXE template!" if not bo
|
||||
pe[bo, name.length] = name
|
||||
pe[bo, 11] = [name].pack('a11')
|
||||
|
||||
pe[136, 4] = [rand(0x100000000)].pack('V')
|
||||
|
||||
|
|
Loading…
Reference in New Issue