Reference manual: Http://phaethon.github.io/scapy/api/usage.html
Scapy is a library of Python that provides the construction of network protocols, requests, etc.
Scrapy is Python's reptile framework.
Three levels:
1. Understanding the Agreement
2. Analysis protocol
3. Construction protocol
The scripting language does not need to be compiled to run directly, very simple learning can get started and start, but poor performance.
Scapy can send, capture, analyze, and cast network packets. Enable scanning, tracing, probing, testing, attack, or network discovery.
650) this.width=650; "src=" Https://s3.51cto.com/oss/201711/09/67a37038e8ce43c3c912b45b797dda8a.png "title=" QQ picture 20171109095536.png "alt=" 67a37038e8ce43c3c912b45b797dda8a.png "/>
Install Scapy:
1, easy_install-3.4 Scapy-python3
2, direct input scapy Enter the command interactive interface
650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/09/e8eed9de9c76bb07248995f75b77101c.png "title=" QQ picture 20171109103153.png "alt=" E8eed9de9c76bb07248995f75b77101c.png "/>
650) this.width=650; "src=" Https://s5.51cto.com/oss/201711/09/b395fb9fb938869e89aa5cc416e07200.png "title=" QQ picture 20171109103714.png "alt=" B395fb9fb938869e89aa5cc416e07200.png "/>
650) this.width=650; "src=" Https://s2.51cto.com/oss/201711/09/94fbf479d4b35d31d65e8c0bc2590527.png "title=" QQ picture 20171109104235.png "alt=" 94fbf479d4b35d31d65e8c0bc2590527.png "/>
This article is from the "Gorilla City" blog, please be sure to keep this source http://juispan.blog.51cto.com/943137/1980204
Python scapy Ping