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

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