Skip to content

Commit 02d40eb

Browse files
committed
Land rapid7#7044, Pass exploit SRVPORT in BrowserAutopwn2
2 parents 6e1b6e9 + 118caa1 commit 02d40eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/msf/core/exploit/browser_autopwn2.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ def set_exploit_options(xploit)
130130
xploit.datastore['PAYLOAD'] = p.first[:payload_name]
131131
xploit.datastore['LPORT'] = p.first[:payload_lport]
132132
xploit.datastore['SRVHOST'] = datastore['SRVHOST']
133+
xploit.datastore['SRVPORT'] = datastore['SRVPORT']
133134
xploit.datastore['LHOST'] = get_payload_lhost
134135

135136
%w(JsObfuscate CookieName VERBOSE Retries SSL SSLVersion SSLCipher URIHOST URIPORT).each do |opt|

0 commit comments

Comments
 (0)