unstable
Florian Gaultier 2013-12-17 15:47:17 +01:00 committed by agix
parent ca7a2c7a36
commit 914d15c285
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ require 'msf/core/exe/segment_injector'
entryPoint_file_offset = exe.rva_to_file_offset(exe.hdr.opt.AddressOfEntryPoint)
my_payload_length = code_service.length + code.length
payload_service = code_service + code
pe[entryPoint_file_offset,my_payload] = payload_service
pe[entryPoint_file_offset,my_payload_length] = payload_service
when :dll
max_length = 2048