Closed AzureVision1 closed 4 months ago
which version of impacket you have? it doesn't look like the latest one
I just checked smbserver.py, it doesn't contain any line with "exception Exception,e:". Update your impacket installation to the latest one which is compatible with python3. Closing this one reopen if needed. Thanks
└─$ impacket-smbserver
from impacket import smbserver, version
File "/home/kali/.local/lib/python3.10/site-packages/impacket/smbserver.py", line 147
except Exception, e:
^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
Traceback (most recent call last): File "/usr/share/doc/python3-impacket/examples/smbserver.py", line 22, in
└─$ python --version Python 3.10.5
Can i get some help on this? I can't seem to run impacket-smbserver due to the wrong python version? But both impacket and my default are using Python3. Any help would be appreciated