[英]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:我已经在 Windows 上安装了 impacket 及其要求,但是当我想执行 python 文件时(在我的例子中是
send_and_execute.py 192.168.xx sample.exe
),消息:
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.
我在两个windows系统上测试过,问题都没有解决。 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:
有必要提一下,最初我安装了PyCrypto,然后我执行了这些命令,安装过程显然是成功的:
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
https://github.com/SecureAuthCorp/impacket
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.