什么是Scapy?
没有人能比Scapy的作者更好的介绍Scapy。
Scapy is a powerful interactive packet manipulation program. It is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more. It can easily handle most classical tasks like scanning, tracerouting, probing, unit tests, attacks or network discovery
It also performs very well at a lot of other specific tasks that most other tools can't handle, like sending invalid frames, injecting your own 802.11 frames, combining technics (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted channel, ...), etc.
Scapy是一个强大的交互式的数据包操作程序。它能够伪造或解码许多种类的协议包,并在网络中发送,嗅探,过滤请求和应答等等。同时,它也能很轻松的实现传统的网络任务,比如扫描,链路追踪,刺探,单元测试,攻击和网络发现等。
安装Scapy
有很多种方法把Scapy安装到你的系统平台。最简单的安装方式如下:
pip