Fix empty output in nbns_response

Normally, the module prints nothing unless VERBOSE is true. In practice,
we at least want to see responded-to hosts. We leave details to be
printed when VERBOSE is set.
bug/bundler_fix
William Vu 2016-07-31 09:45:04 -07:00
parent 10653fadb1
commit e699d3f05b
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class MetasploitModule < Msf::Auxiliary
return unless nbnsq_decodedname =~ /#{datastore['REGEX'].source}/i
vprint_good("#{rhost.ljust 16} nbns - #{nbnsq_decodedname} matches regex, responding with #{spoof}")
print_good("#{rhost.ljust 16} nbns - #{nbnsq_decodedname} matches regex, responding with #{spoof}")
vprint_status("transid: #{nbnsq_transid.unpack('H4')}")
vprint_status("tlags: #{nbnsq_flags.unpack('B16')}")