mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fixed a simple bad gameplay in which I attempt to close
an already closed SMB session.
This commit is contained in:
parent
24807128d2
commit
0f4d199b1e
1 changed files with 1 additions and 1 deletions
|
|
@ -441,13 +441,13 @@ function check_ms06_025(host)
|
|||
stdnse.print_debug(
|
||||
3,
|
||||
"check_ms06_025: RRAS_SubmitRequest failed")
|
||||
msrpc.stop_smb(smbstate)
|
||||
if(sr_result == "NT_STATUS_PIPE_BROKEN") then
|
||||
return true, VULNERABLE
|
||||
else
|
||||
return true, PATCHED
|
||||
end
|
||||
else
|
||||
msrpc.stop_smb(smbstate)
|
||||
return true, PATHED
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue