Respin of the service file

git-svn-id: file:///home/svn/framework3/trunk@9226 4d416f70-5f16-0410-b530-b9f4589650da
unstable
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