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
andC:\Python27\Scripts
respectively.
- Npcap: the latest version. Default values are recommended. Scapy will also work with Winpcap.
- Scapy: latest development version from the Git repository. Unzip the archive, open a command prompt in that directory and run
python setup.py install
.
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.
- npcap和winpcap的区别
https://www.cnblogs.com/hongdada/p/7474917.html
网友评论