mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 18:39:03 +00:00
Closes smb connection properly.
This commit is contained in:
@@ -4722,6 +4722,7 @@ function get_share_info(host, name)
|
||||
stdnse.debug2("Calling NetShareGetInfo with information level 1")
|
||||
status, netsharegetinfo_result = srvsvc_netsharegetinfo(smbstate, host.ip, name, 1)
|
||||
if status then
|
||||
smb.stop(smbstate)
|
||||
return true, netsharegetinfo_result
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user