Skip to content

Commit e0ba903

Browse files
author
x2020
committed
Merge remote-tracking branch 'upstream/master'
2 parents acfd214 + ec020e3 commit e0ba903

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

lib/msf/core/exploit/http/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def send_request_cgi(opts={}, timeout = 20)
366366
print_line('#' * 20)
367367
print_line(res.to_s)
368368
end
369-
369+
disconnect(c)
370370
res
371371
rescue ::Errno::EPIPE, ::Timeout::Error => e
372372
print_line(e.message) if datastore['HttpTrace']

modules/auxiliary/scanner/http/cisco_ironport_enum.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def check_conn?
6161
'method' => 'GET'
6262
})
6363
print_good("#{rhost}:#{rport} - Server is responsive...")
64+
return 1
6465
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout, ::Rex::ConnectionError, ::Errno::EPIPE
6566
return
6667
end

modules/auxiliary/scanner/http/owa_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def try_user_pass(opts)
195195

196196
if not res
197197
print_error("#{msg} HTTP Connection Error, Aborting")
198-
return :abort
198+
return
199199
end
200200

201201
if action.name != "OWA_2013" and res.get_cookies.empty?

scripts/resource/auto_win32_multihandler.rc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ def out_path
1313
"#{Msf::Config::local_directory}/meterpreter_reverse_tcp.exe"
1414
end
1515

16+
# Please see:
17+
# https://github.com/rapid7/metasploit-framework/issues/7603
18+
sleep(1)
19+
1620
run_single("use payload/#{PAYLOAD}")
1721
run_single("set lhost #{payload_lhost}")
1822
run_single("set lport #{payload_lport}")
@@ -25,4 +29,4 @@ run_single("set lhost #{payload_lhost}")
2529
run_single("set lport #{payload_lport}")
2630
run_single('set exitonsession false')
2731
run_single('run -j')
28-
</ruby>
32+
</ruby>

0 commit comments

Comments
 (0)