View Issue Details

IDProjectCategoryView StatusLast Update
0004004Kali LinuxKali Package Bugpublic2017-05-10 19:08
Reporterg0tmi1k Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0004004: smbmap requires impacket v0.9.13
Description

smbmap isn't working without installing impacket v0.9.13

root@kali:~# smbmap
Traceback (most recent call last):
File "./smbmap.py", line 17, in <module>
from impacket.dcerpc import transport, svcctl, srvsvc
ImportError: cannot import name transport
root@kali:~#
root@kali:~# smbmap -h
Traceback (most recent call last):
File "./smbmap.py", line 17, in <module>
from impacket.dcerpc import transport, svcctl, srvsvc
ImportError: cannot import name transport
root@kali:~#
root@kali:~# pip install impacket==0.9.13
Collecting impacket==0.9.13
Downloading impacket-0.9.13.tar.gz (1.0MB)
100% |████████████████████████████████| 1.0MB 34kB/s
Building wheels for collected packages: impacket
Running setup.py bdist_wheel for impacket ... done
Stored in directory: /root/.cache/pip/wheels/39/62/cf/66af9aeeb95b4c24283640b715bf8e5cac2fcadfe2a38c8171
Successfully built impacket
Installing collected packages: impacket
Found existing installation: impacket 0.9.15
Not uninstalling impacket at /usr/lib/python2.7/dist-packages, outside environment /usr
Successfully installed impacket-0.9.13
root@kali:~#
root@kali:~# smbmap -h
usage: smbmap.py [-h] (-H HOST | --host-file FILE) [-u USERNAME] [-p PASSWORD]
[-s SHARE] [-d DOMAIN] [-P PORT] [-x COMMAND] [-L | -R [PATH]
| -r [PATH]] [-A PATTERN] [-q] [-F PATTERN]
...SNIP...

$ python smbmap.py -u jsmith -p password1 -d workgroup -H 192.168.0.1
$ python smbmap.py -u jsmith -p 'aad3b435b51404eeaad3b435b51404ee:da76f2c4c96028b7a6111aef4a50a94d' -H 172.16.0.20
$ python smbmap.py -u 'apadmin' -p 'asdf1234!' -d ACME -h 10.1.3.30 -x 'net group "Domain Admins" /domain'
root@kali:~#

Additional Information

root@kali:~# uname -a
Linux kali 4.9.0-kali3-amd64 0000001 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux
root@kali:~#
root@kali:~# date
Tue May 9 10:16:56 CEST 2017
root@kali:~#

Kali is up-to-date as of the time of posting (see date command), being used in a VM (VMware).

Relationships

related to 0004007 resolvedsbrun keimpx and other applications reliant on the impacket library not working 

Activities

sbrun

sbrun

2017-05-09 12:51

manager   ~0006648

fixed in version 1.0.5+git20170228-0kali2

Issue History

Date Modified Username Field Change
2017-05-09 08:15 g0tmi1k New Issue
2017-05-09 08:17 g0tmi1k Additional Information Updated
2017-05-09 09:21 sbrun Assigned To => sbrun
2017-05-09 09:21 sbrun Status new => assigned
2017-05-09 12:51 sbrun Status assigned => resolved
2017-05-09 12:51 sbrun Resolution open => fixed
2017-05-09 12:51 sbrun Note Added: 0006648
2017-05-10 19:08 g0tmi1k Relationship added related to 0004007