mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
Respin of the service file
git-svn-id: file:///home/svn/framework3/trunk@9226 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
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
Block a user