mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
Merge in changes from my private branch, primarily smb-brute.nse and smb-pwdump.nse, among other smaller changes.
This commit is contained in:
@@ -255,10 +255,10 @@ function do_nbstat(host)
|
||||
local encoded_name = name_encode("*")
|
||||
local statistics
|
||||
|
||||
stdnse.print_debug(1, "Performing nbstat on host '%s'", host)
|
||||
stdnse.print_debug(3, "Performing nbstat on host '%s'", host)
|
||||
-- Check if it's cased in the registry for this host
|
||||
if(nmap.registry["nbstat_names_" .. host] ~= nil) then
|
||||
stdnse.print_debug(1, " |_ [using cached value]")
|
||||
stdnse.print_debug(3, " |_ [using cached value]")
|
||||
return true, nmap.registry["nbstat_names_" .. host], nmap.registry["nbstat_statistics_" .. host]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user