We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14b3e64 commit 55dbfc9Copy full SHA for 55dbfc9
modules/auxiliary/scanner/smb/smb_enumshares.rb
@@ -359,10 +359,10 @@ def run_host(ip)
359
os_info = get_os_info(ip, rport)
360
print_status("#{ip}:#{rport} - #{os_info}") if os_info
361
362
- shares_info = shares.map{|x| "#{x[0]} - #{x[2]} (#{x[1]})" }.join(", ")
363
if shares.empty?
364
print_status("#{ip}:#{rport} - No shares collected")
365
else
+ shares_info = shares.map{|x| "#{x[0]} - #{x[2]} (#{x[1]})" }.join(", ")
366
print_status("#{ip}:#{rport} - #{shares_info}")
367
report_note(
368
:host => ip,
0 commit comments