总览 (Overview)
This article introduces Scapy at a high level and shows an example of crafting an ICMP echo request by using the CLI tool and by importing Scapy modules into a Python script. The article assumes a basic understanding of TCP/IP networking concepts is held.
本文从高层次介绍了Scapy,并显示了一个使用CLI工具并将Scapy模块导入Python脚本中来构造ICMP回显请求的示例。 本文假定对TCP / IP网络概念具有基本的了解。
Python Version Used:3.6.6
使用的Python版本: 3.6.6
Commented Code Available on GitHub:https://github.com/bmaya1/python-basic-examples/blob/master/scapy/simple-scapy-icmp-request.py
注释代码可在GitHub上找到: https : //github.com/bmaya1/python-basic-examples/blob/master/scapy/simple-scapy-icmp-request.py
Scapy Documentation:
Scapy文档: