psc4re / NSE-scripts

NSE scripts to detect CVE-2020-1350 SIGRED and CVE-2020-0796 SMBGHOST, CVE-2021-21972, proxyshell, CVE-2021-34473

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing Else

gioulisapo opened this issue · comments

I believe you are missing an else on line 87. I ran it against some older SMB versions and it crashed. Thanks for the script!

Line 93 should take care of any case outside the if cases earlier could you post the debug information