run_with_scapy.py 文件源码

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

项目:wifi-probe-hack 作者: kings-way 项目源码 文件源码
def capture(mon_interface):
    global flag_test
    """
    :type if_mon: string,  name of the interface operating in monitor mode
    """
    try:
        scapy.conf.iface=mon_interface
        scapy.sniff(iface=mon_interface, prn=on_receiving, store=0, filter="subtype probereq")
    except Exception, info:
        sys.stderr.write("\nError: " + str(info) + "\n")
        quit(0)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号