Close AP authenticator on Fluxion shutdown
This commit is contained in:
parent
cfd6bd30da
commit
359d8485a6
|
@ -1532,7 +1532,7 @@ start_attack() {
|
||||||
-title "FLUXION AP Authenticator" \
|
-title "FLUXION AP Authenticator" \
|
||||||
-e "$FLUXIONWorkspacePath/captive_portal_authenticator.sh" &
|
-e "$FLUXIONWorkspacePath/captive_portal_authenticator.sh" &
|
||||||
|
|
||||||
local -r authService=$!
|
authService=$!
|
||||||
echo "Auth Service: $authService" \
|
echo "Auth Service: $authService" \
|
||||||
>> $FLUXIONOutputDevice
|
>> $FLUXIONOutputDevice
|
||||||
}
|
}
|
||||||
|
|
|
@ -336,6 +336,7 @@ fluxion_shutdown() {
|
||||||
echo -e "$CWht[$CRed-$CWht] `io_dynamic_output $FLUXIONKillingProcessNotice`"
|
echo -e "$CWht[$CRed-$CWht] `io_dynamic_output $FLUXIONKillingProcessNotice`"
|
||||||
kill -s SIGKILL $targetPID &> $FLUXIONOutputDevice
|
kill -s SIGKILL $targetPID &> $FLUXIONOutputDevice
|
||||||
done
|
done
|
||||||
|
kill -s SIGKILL $authService &> $FLUXIONOutputDevice
|
||||||
|
|
||||||
# Assure changes are reverted if installer was activated.
|
# Assure changes are reverted if installer was activated.
|
||||||
if [ "$PackageManagerCLT" ]; then
|
if [ "$PackageManagerCLT" ]; then
|
||||||
|
|
Loading…
Reference in New Issue