1
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:
HD Moore 2010-05-05 18:25:26 +00:00
parent 0c63df8db5
commit 47cea7bbb3
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

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