简体   繁体   中英

No module named impacket

I have installed impacket and its requirements on windows, but when I want to execute a python file (in my case send_and_execute.py 192.168.xx sample.exe ), the message:

File ..., line 2, in <module>
 From impacket import smb, smbconnection importerror: no module named impacket

will appeared. I have tested it on two windows systems, but the problem has not been solved. What is the problem? It is necessary to mention that Initially I installed PyCrypto, then I executed these commands and the installation process was apparently successful:

py -m pip install pyasn1
py -m pip install pyasn1-modules
py -m pip install impacket

Maybe you need to install it from there? https://github.com/SecureAuthCorp/impacket

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM