mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Added some extra information to an error message -- I realized the current error wasn't descriptive enough
This commit is contained in:
parent
f2ae05968b
commit
50f8718389
1 changed files with 1 additions and 1 deletions
|
|
@ -588,7 +588,7 @@ local function find_share(host)
|
|||
-- Try and find a share to use.
|
||||
status, share, path, shares = smb.share_find_writable(host)
|
||||
if(status == false) then
|
||||
return false, share
|
||||
return false, share .. " (May not have an administrator account)"
|
||||
end
|
||||
if(path == nil) then
|
||||
return false, string.format("Couldn't find path to writable share (we probably don't have admin access): '%s'", share)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue