ShawnDEvans / smbmap

SMBMap is a handy SMB enumeration tool
GNU General Public License v3.0
1.8k stars 348 forks source link

smbmap gitclone not working #79

Closed jimneshp closed 1 year ago

jimneshp commented 2 years ago

I have cloned the smabmap from https://github.com/ShawnDEvans/smbmap.git after cloning the same run the following command python3 -m pip install -r requirements.txt and successfully installed the requirement.

further when i am running the smbmap observed the following error in kali linux smbmap Traceback (most recent call last): File "/usr/bin/smbmap", line 19, in from impacket import version, smbserver File "/usr/local/lib/python3.10/dist-packages/impacket/smbserver.py", line 172 except Exception, e: ^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized

please help me to resolve the issue

ShawnDEvans commented 1 year ago

The exception seems to be related to the Impacket object 'smbserver'. I think you just need to update your Impacket. Better late than never solution haha.