mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Minor updates
This commit is contained in:
parent
2560a043c3
commit
a41e1e7740
@ -805,7 +805,7 @@ with this dongle. When connected to a USB2.0 port I found this dongle to be reli
|
||||
|
||||
This device is generally not supported by default in most Linux distributions and requires manual
|
||||
installation of drivers. I tested it on Kali Linux after installing the driver using the instructions
|
||||
on [https://github.com/aircrack-ng/rtl8812au](GitHub). Before plugging in the device, you must
|
||||
on [GitHub](https://github.com/aircrack-ng/rtl8812au). Before plugging in the device, you must
|
||||
execute `modprobe 88XXau rtw_monitor_retransmit=1`. Once my patches have reached upstream repositories
|
||||
on Kali Linux you can simply install the driver using `sudo apt install realtek-rtl88xxau-dkms`, but
|
||||
for now you must manually install the driver from GitHub.
|
||||
|
@ -5,7 +5,7 @@
|
||||
# See README for more details.
|
||||
|
||||
# Note that tests_*.py files are imported automatically
|
||||
import glob, importlib
|
||||
import glob, importlib, argparse
|
||||
from fraginternals import *
|
||||
|
||||
# ----------------------------------- Main Function -----------------------------------
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
from libwifi import *
|
||||
import abc, sys, socket, struct, time, subprocess, atexit, select, copy
|
||||
import argparse
|
||||
import os.path
|
||||
from wpaspy import Ctrl
|
||||
from scapy.contrib.wpa_eapol import WPA_key
|
||||
@ -708,7 +707,7 @@ class Daemon(metaclass=abc.ABCMeta):
|
||||
log(WARNING, "WARNING: Unable to check whether you are using patched drivers.")
|
||||
elif not os.path.exists("/sys/module/mac80211/parameters/fragattack_version"):
|
||||
log(ERROR, "You are not running patched drivers, meaning this tool may give incorrect results!")
|
||||
log(STATUS, "To ignore this warning add the parameter --no-drivercheck")
|
||||
log(STATUS, "To ignore this warning and timeout add the parameter --no-drivercheck")
|
||||
time.sleep(5)
|
||||
|
||||
# 1. Assign/create interfaces according to provided options
|
||||
@ -753,7 +752,7 @@ class Daemon(metaclass=abc.ABCMeta):
|
||||
with open("/sys/module/ath9k_htc/parameters/fragattack_fw") as fp:
|
||||
if not int(fp.read()) == 1:
|
||||
log(ERROR, "WARNING: It seems the ath9k_htc device is not using patched firmware!")
|
||||
log(STATUS, "To ignore this warning add the parameter --no-drivercheck")
|
||||
log(STATUS, "To ignore this warning and timeout add the parameter --no-drivercheck")
|
||||
time.sleep(5)
|
||||
except:
|
||||
log(WARNING, "WARNING: Unable to check if the ath9k_htc device is using patched firmware!")
|
||||
|
Loading…
Reference in New Issue
Block a user