摘要: 1 from email import header 2 import requests 3 from lxml import etree 4 import sys 5 import optparse 6 from urllib import parse 7 import time 8 9 clas 阅读全文
posted @ 2022-05-24 23:23 Jason_huawen 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1 from xml.dom.expatbuilder import theDOMImplementation 2 from scapy.all import * 3 import optparse 4 import sys 5 import ipaddress 6 import threading 阅读全文
posted @ 2022-05-24 18:28 Jason_huawen 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 本代码主要利用scapy模块实现报文的截取以及分析,同时利用ipaddress模块判断IP地址是否为私有IP地址。 1 from scapy.all import * 2 import optparse 3 import sys 4 import ipaddress 5 class TTLDetec 阅读全文
posted @ 2022-05-24 11:02 Jason_huawen 阅读(254) 评论(0) 推荐(0) 编辑