Close AP authenticator on Fluxion shutdown

This commit is contained in:
xpz3 2021-06-10 05:43:53 +05:30
parent cfd6bd30da
commit 359d8485a6
2 changed files with 2 additions and 1 deletions

View File

@ -1532,7 +1532,7 @@ start_attack() {
-title "FLUXION AP Authenticator" \
-e "$FLUXIONWorkspacePath/captive_portal_authenticator.sh" &
local -r authService=$!
authService=$!
echo "Auth Service: $authService" \
>> $FLUXIONOutputDevice
}

View File

@ -336,6 +336,7 @@ fluxion_shutdown() {
echo -e "$CWht[$CRed-$CWht] `io_dynamic_output $FLUXIONKillingProcessNotice`"
kill -s SIGKILL $targetPID &> $FLUXIONOutputDevice
done
kill -s SIGKILL $authService &> $FLUXIONOutputDevice
# Assure changes are reverted if installer was activated.
if [ "$PackageManagerCLT" ]; then