mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 12:19:02 +00:00
Added MS error code to error messages returned from the script [Patrik]
This commit is contained in:
@@ -171,7 +171,7 @@ action = function(host, port)
|
||||
status, entries = msrpc.rap_netserverenum2(smbstate, domain, filter, detail_level)
|
||||
if ( not(status) ) then
|
||||
log("ERROR: msrpc.call_lanmanapi failed")
|
||||
return "\n ERROR: Failed to retrieve list of servers from browser service"
|
||||
return "\n ERROR: " .. entries
|
||||
end
|
||||
|
||||
status, err = smb.tree_disconnect(smbstate)
|
||||
|
||||
Reference in New Issue
Block a user