在pyshark.filecapture中隐藏弹出窗口

2024-09-28 05:29:01 发布

您现在位置:Python中文网/ 问答频道 /正文

在执行下面的FileCapture代码时,我得到2个tshark.exe弹出窗口。有人能告诉我如何隐藏那些窗户吗

import pyshark
import binascii
import struct

cap = pyshark.FileCapture(r"C:\Users\step16.pcapng", display_filter= r"data contains f1:f3:f1:f2")
j=0
for i in cap:
      caplen = cap[j].data.len
      modvalue = "caplen % 2"
      if (modvalue != 0):
          reqlen = caplen

      j =  j + 1

Tags: 代码importdataexeusersstructf1cap

热门问题