Respin of the service file
git-svn-id: file:///home/svn/framework3/trunk@9226 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
0c63df8db5
commit
47cea7bbb3
Binary file not shown.
|
@ -335,7 +335,7 @@ require 'metasm'
|
|||
|
||||
bo = pe.index('PAYLOAD:')
|
||||
raise RuntimeError, "Invalid Win32 PE Service EXE template!" if not bo
|
||||
pe[bo, code.length] = code
|
||||
pe[bo, 8192] = [code].pack("a8192")
|
||||
|
||||
bo = pe.index('SERVICENAME')
|
||||
raise RuntimeError, "Invalid Win32 PE Service EXE template!" if not bo
|
||||
|
@ -1307,3 +1307,4 @@ require 'metasm'
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue