mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-13 00:24:00 -07:00
fixed error in Exception handling in SMBserver.py
This commit is contained in:
parent
2cde231b55
commit
f99080fc4c
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class SMBserver(ConfigWatcher):
|
||||||
|
|
||||||
except socketerror as e:
|
except socketerror as e:
|
||||||
if "Address already in use" in e:
|
if "Address already in use" in e:
|
||||||
shutdown("\n[-] Unable to start SMB server on port {}: port already in use".format(listenPort))
|
shutdown("\n[-] Unable to start SMB server on port {}: port already in use".format(self.smb_port))
|
||||||
|
|
||||||
def configureLogging(self, formatter):
|
def configureLogging(self, formatter):
|
||||||
#yes I know this looks awful, yuck
|
#yes I know this looks awful, yuck
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue