mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
fragattack: minor driver check bug
This commit is contained in:
parent
0465abe64c
commit
4fc8340205
@ -729,9 +729,7 @@ class Daemon(metaclass=abc.ABCMeta):
|
||||
log(ERROR, "You are not running patched drivers, meaning this tool may give incorrect results!")
|
||||
log(STATUS, "To ignore this warning and timeout add the parameter --no-drivercheck")
|
||||
time.sleep(5)
|
||||
|
||||
version = open("/sys/module/mac80211/parameters/fragattack_version").read().strip()
|
||||
if version != FRAGVERSION:
|
||||
elif FRAGVERSION != open("/sys/module/mac80211/parameters/fragattack_version").read().strip():
|
||||
log(ERROR, f"This script has version {FRAGVERSION} but the modified drivers are version {version}.")
|
||||
log(ERROR, f"Please recompile and reinstall the modified drivers (see the README for details).")
|
||||
quit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user