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" \
|
||||
-e "$FLUXIONWorkspacePath/captive_portal_authenticator.sh" &
|
||||
|
||||
local -r authService=$!
|
||||
authService=$!
|
||||
echo "Auth Service: $authService" \
|
||||
>> $FLUXIONOutputDevice
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue