Merge pull request #853 from xpz3/master

Captive Portal - Fix deauth not launching on restore attack option
This commit is contained in:
strasharo 2020-03-08 10:43:06 +02:00 committed by GitHub
commit 1a7465137d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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() {