tcpdumplogger.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:EvilTwinFramework 作者: Esser420 项目源码 文件源码
def get_wep_data_count(self):
        wep_packets = None
        try:
            wep_packets = rdpcap(self.log_path)
        except Exception as e:
            print "[-] Error reading pcap file:", str(e)
            return
        n_data_packets = 0
        for p in wep_packets:
            if Dot11WEP in p:
                if p.iv is not None and p.iv != '':
                    n_data_packets += 1

        return n_data_packets
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号