1
0
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:
paulino
2017-05-29 19:48:35 +00:00
parent 850ae6ef52
commit ba992765b3

View File

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