scapy安装和使用

https://scapy.readthedocs.io/en/latest/installation.html

You need the following software in order to install Scapy on Windows:

  • Python: Python 2.7.X or 3.4+. After installation, add the Python installation directory and its Scripts subdirectory to your PATH. Depending on your Python version, the defaults would be C:\Python27 and C:\Python27\Scripts respectively.

Just download the files and run the setup program. Choosing the default installation options should be safe. (In the case of Npcap, Scapy will work with 802.11 option enabled. You might want to make sure that this is ticked when installing).

After all packages are installed, open a command prompt (cmd.exe) and run Scapy by typing scapy. If you have set the PATH correctly, this will find a little batch file in your C:\Python27\Scripts directory and instruct the Python interpreter to load Scapy.

おすすめ

転載: blog.csdn.net/a854596855/article/details/114920024