摘要: ​ import pyshark import os 没有提示 files = os.listdir('./shark_files/') for file in files: print(file) ps = pyshark.FileCapture('./shark_files/' + file , 阅读全文
posted @ 2024-10-11 11:55 hey_dom2016 阅读(11) 评论(0) 推荐(0)
摘要: ​ 【Scapy】 【使用scapy处理数据包】 scapy的使用 from scapy.all import * from scapy.layers.inet import * pac = dir(scapy.layers) print(pac) #执行代码后,会输出Scapy中的各层 ['bui 阅读全文
posted @ 2024-10-11 11:54 hey_dom2016 阅读(69) 评论(0) 推荐(0)
摘要: ​ Practice 1 import paramiko import time from ncclient import manager from ncclient.xml_ import to_ele from pysnmp.hlapi import * import socket class 阅读全文
posted @ 2024-10-11 11:53 hey_dom2016 阅读(32) 评论(0) 推荐(0)