Captive Portal - Fix deauth not launching on restore attack option

This commit is contained in:
xpz3 2020-03-04 20:49:34 +05:30
parent ca63e239a9
commit 7494bbb73f
1 changed files with 8 additions and 0 deletions

View File

@ -1305,6 +1305,10 @@ load_attack() {
local -r targetHashSSID=${configuration[8]}
local -r targetHashMAC=${configuration[9]}
# Captive portal jammer type.
CaptivePortalJammerType=${configuration[10]}
option_deauth="${CaptivePortalJammerType}"
# Assure hash is relevant for fluxion's current target.
# If the hash is no longer relevant, clear to force reset.
if [ \
@ -1333,6 +1337,10 @@ save_attack() {
# Target to verify validity of hash on restore.
echo "$FluxionTargetSSID" >> "$configurationPath"
echo "$FluxionTargetMAC" >> "$configurationPath"
# Captive portal jammer type.
CaptivePortalJammerType="${option_deauth}"
echo "$CaptivePortalJammerType" >> "$configurationPath"
}
stop_attack() {