Skip to content

Commit 160c497

Browse files
committed
Land rapid7#7166, Fix empty output in nbns_response
2 parents abf435d + e699d3f commit 160c497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/spoof/nbns/nbns_response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def dispatch_request(packet, rhost, src_port)
8484

8585
return unless nbnsq_decodedname =~ /#{datastore['REGEX'].source}/i
8686

87-
vprint_good("#{rhost.ljust 16} nbns - #{nbnsq_decodedname} matches regex, responding with #{spoof}")
87+
print_good("#{rhost.ljust 16} nbns - #{nbnsq_decodedname} matches regex, responding with #{spoof}")
8888

8989
vprint_status("transid: #{nbnsq_transid.unpack('H4')}")
9090
vprint_status("tlags: #{nbnsq_flags.unpack('B16')}")

0 commit comments

Comments
 (0)