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。

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.
原文地址:https://www.cnblogs.com/spenghui/p/7766630.html