mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
Add a new msrpc.lua module, plus new scripts smb-enumdomains.nse,
smb-enumshares.nse, and smb-enumusers.nse. Also enhance the netbios.lua and smb.lua modules. Remove the smb-enum.nse script. All these changes are from Ron Bowes.
This commit is contained in:
@@ -291,8 +291,8 @@ function do_nbstat(host)
|
||||
return false, result
|
||||
end
|
||||
|
||||
status, err = socket:close()
|
||||
if(status == false) then
|
||||
close_status, err = socket:close()
|
||||
if(close_status == false) then
|
||||
return false, err
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user