View Issue Details

IDProjectCategoryView StatusLast Update
0007597Kali LinuxKali Package Bugpublic2025-07-14 09:38
ReporterLeeRock Assigned Todaniruiz  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version2022.1 
Summary0007597: smbmap is broke
Description

smbmap

Traceback (most recent call last):
File "/usr/bin/smbmap", line 19, in <module>
from impacket import version, smbserver
File "/usr/local/lib/python3.9/dist-packages/impacket/smbserver.py", line 172
except Exception, e:
^
SyntaxError: invalid syntax

Activities

daniruiz

daniruiz

2022-02-24 11:30

manager   ~0015812

Just tested it and it's working fine in Kali 2022.1

I've checked kali's package tracker and there hasn't been an update in smbmap package nor the dependent package python3-impacket.
What's the exact command you are running?

sbrun

sbrun

2022-02-24 12:53

manager   ~0015814

the problem is probably because you have an incompatible version of impacket installed locally. The error message mentioned "/usr/local/lib".
You should uninstall this module (or maybe try to update it).

LeeRock

LeeRock

2022-02-24 14:53

reporter   ~0015815

I just spun up a clean VM and tested. It works. Must have been a permission/config issue on my side.
Please close ticket.

daniruiz

daniruiz

2022-02-24 14:53

manager   ~0015816

Awesome! thanks for checking ;)
I'm closing this then

Issue History

Date Modified Username Field Change
2022-02-23 23:04 LeeRock New Issue
2022-02-24 11:30 daniruiz Note Added: 0015812
2022-02-24 11:31 daniruiz Assigned To => daniruiz
2022-02-24 11:31 daniruiz Status new => assigned
2022-02-24 12:53 sbrun Note Added: 0015814
2022-02-24 14:53 LeeRock Note Added: 0015815
2022-02-24 14:53 daniruiz Note Added: 0015816
2022-02-24 14:53 daniruiz Status assigned => closed
2022-02-24 14:53 daniruiz Resolution open => no change required
2025-07-14 09:38 g0tmi1k Severity crash => minor