May 2018
Beginner
230 pages
4h 49m
English
In this section, we will discuss how to detect a deauthentication attack. It is like a wireless IDS that detects the deauthentication attack. In this program, we will find which access points get deauth frames and how many. We will use the raw socket here to detect the attack.
Let's discuss the deauth_ids.py program. Make sure the monitor is on; otherwise, the program will give an error:
import socket import Queue from threading import Thread from collections import Counter
q1 = Queue.Queue() co = Counter()
try: sniff = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, ...
Read now
Unlock full access