Update smb_ms17_010.rb

GSoC/Meterpreter_Web_Console
Auxilus 2018-03-09 16:07:09 +05:30 committed by GitHub
parent 7855c416c9
commit 56fe70d84b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -90,8 +90,6 @@ class MetasploitModule < Msf::Auxiliary
end
print_good("Host is likely VULNERABLE to MS17-010! - #{os}")
# Detect accessible named pipes
vprint_status("Checking for accessible named pipes")
target_pipes = [
@ -127,10 +125,10 @@ class MetasploitModule < Msf::Auxiliary
pipe_handle = self.simple.create_pipe(pipe_name, 'o')
accessible_pipes << pipe
end
p_pipes = ""
p_pipes = ""
if accessible_pipes.count != 0
accessible_pipes.each do |a_pipe|
p_pipes += ", #{a_pipe}"
p_pipes += ", #{a_pipe}"
end
print_good("Following accessible named pipe(s) found: #{p_pipes}")
else