Update smb_ms17_010.rb

GSoC/Meterpreter_Web_Console
Auxilus 2018-03-13 00:28:37 +05:30 committed by GitHub
parent 6e9a4916f5
commit 2c52498d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -92,14 +92,14 @@ class MetasploitModule < Msf::Auxiliary
print_good("Host is likely VULNERABLE to MS17-010! - #{os}")
accessible_pipes , pipe_handlers = connect_to_pipe()
p_pipes = ""
if accessible_pipes.count != 0
accessible_pipes.each do |a_pipe|
p_pipes += ", #{a_pipe}"
end
print_good("Following accessible named pipe(s) found: #{p_pipes}")
p_pipes = ""
if accessible_pipes.count != 0
accessible_pipes.each do |a_pipe|
p_pipes += ", #{a_pipe}"
end
print_good("Following accessible named pipe(s) found: #{p_pipes}")
else
print_status("No accessible named pipes found on the target")
print_status("No accessible named pipes found on the target")
end
report_vuln(
host: ip,