1
0
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:
patrik
2011-06-21 22:52:40 +00:00
parent c57de44417
commit 67bac23e97

View File

@@ -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)