git https://github.com/SecureAuthCorp/impacket.git pip install –upgrade pip –trusted-host pypi.org –trusted-host files.pythonhosted.org . <-- You may need to run this twice. pip install --upgrade pip --trusted-host pypi.org --trusted-host files.pythonhosted.org pyreadline Python\impacket\impacket\examples>python smbclient.py
https://www.hackingarticles.in/beginners-guide-to-impacket-tool-kit-part-1/
python setup.py install
Python\impacket\examples>python smbclient.py or Python\impacket\examples>smbclient.py
smbexec.py Domain/Username:YourPassword@HostOfServer or \Python\impacket\examples>smbexec.py Domain/Username@ServerHostname -hashes E52CLMHASHGOESHERE168F41AFC3A96:3170221NTLMHASHGOESHERE937FCE3 Impacket v0.9.21-dev – Copyright 2019 SecureAuth Corporation
[!] Launching semi-interactive shell – Careful what you execute C:\Windows\system32>set
But you can really just use this
“smbexec.py Domain/Username@ServerHostname -hashes :PUT YOUR NTLM HASH HERE LIKE SO” “smbexec.py Domain/Username@ServerHostname -hashes :3170221NTLMHASHGOESHERE937FCE3”
https://tobtu.com/lmntlm.php <–Use may use this site to test the hash.