[Bug]
SMBClient.py does not exist
[Details]
When selecting SMBClient from "SMB Analysis in Vuln. Identification users get the following error message:
SMB-Client, use help to get some assistance
/bin/sh: smbclient.py: not found
THE FIX:
Code:
cd ~/
wget oss.coresecurity.com/repo/Impacket-0.9.6.0.tar.gz
tar -zxvf Impacket-0.9.6.0.tar.gz
cd Impacket-0.9.6.0
python setup.py install
[Notes]
While Impacket is used by a number of existing tools:
root@bt:~# slocate SMBClient.py
root@bt:~# slocate dcom.py
/var/lib/python-support/python2.5/impacket/dcerpc/dcom.py
/var/lib/python-support/python2.5/impacket/dcerpc/dcom.pyc
/usr/share/python-support/python-impacket/impacket/dcerpc/dcom.py
/pentest/fuzzers/voiper/sulley/impacket/dcerpc/dcom.py
root@bt:~# cd /var/lib/python-support/python2.5/impacket/
...the SMBClient is an 'example' tool and is distrubuted in the /examples/ sub directory. It must have been missed somehow. By re-installing Impacket you get the full distribution. The link from the menu will start working again.