📜  数据泄露 icmp - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:26.405000             🧑  作者: Mango

代码示例1
from scapy.all import *
import base64

capture = rdpcap('analysis.pcap')
ping_data = ""

for packet in capture:
   if packet[ICMP].type == 8: # Echo request
       ping_data += packet.load

print base64.b64decode(ping_data)