Explicitly set vulnerable port to None

This commit is contained in:
VakarisZ 2020-05-26 14:17:21 +03:00
parent 1ed49c6eb0
commit 8cf9c9f8f4
1 changed files with 2 additions and 0 deletions

View File

@ -169,3 +169,5 @@ class SmbExploiter(HostExploiter):
self.vulnerable_port = "445"
elif 'tcp-139' in self.host.services:
self.vulnerable_port = "139"
else:
self.vulnerable_port = None