Anyone having any issues running impacket psexec?
When I run this command:
“~/impacket$ sudo python3 examples/psexec.py administrator@10.10.10.27”
I get this repsonse:
“Traceback (most recent call last):
File “examples/psexec.py”, line 33, in
from impacket.krb5.keytab import Keytab
ModuleNotFoundError: No module named ‘impacket.krb5.keytab’”
I’ve looked in the scripts, everything looks to be there.
This was downloaded from github yesterday, so everything is as up to date as can be.
After $pip install .
If the installation was done properly and still get an error.
You may have old library.
Go to impacket directory and type the following command.
$sudo python setup.py install_lib
If still doesn’t work try $apt-get update , after above command.