scapy WiFi 中间人攻击

等待Probe-Request包后,回复伪造的Probe-Response包。
注意:我们的函数handle_packet()收到authentication包后会执行send_auth_response(),该函数首先会检查authentication包是否是我们自己发出去的。因为scapy没有特别区分authentication包,它把authentication request包和authentication response包统一识别为authentication包。我们需要自己在代码里识别authentication包的seqnum,1代表request,2代表response。

posted @ 2017-11-06 10:22  T_1  阅读(582)  评论(0编辑  收藏  举报