From 7494bbb73fbdd42d52493d964bfd248c49db4feb Mon Sep 17 00:00:00 2001 From: xpz3 Date: Wed, 4 Mar 2020 20:49:34 +0530 Subject: [PATCH] Captive Portal - Fix deauth not launching on restore attack option --- attacks/Captive Portal/attack.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/attacks/Captive Portal/attack.sh b/attacks/Captive Portal/attack.sh index abcb26f..84e299b 100755 --- a/attacks/Captive Portal/attack.sh +++ b/attacks/Captive Portal/attack.sh @@ -1304,6 +1304,10 @@ load_attack() { # Target hash information for verification. 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. @@ -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() {