Captive Portal - Fix deauth not launching on restore attack option
This commit is contained in:
parent
ca63e239a9
commit
7494bbb73f
|
@ -1305,6 +1305,10 @@ load_attack() {
|
||||||
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.
|
||||||
if [ \
|
if [ \
|
||||||
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue