diff --git a/attacks/Captive Portal/attack.sh b/attacks/Captive Portal/attack.sh index edd0b6c..6313353 100755 --- a/attacks/Captive Portal/attack.sh +++ b/attacks/Captive Portal/attack.sh @@ -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 } diff --git a/fluxion.sh b/fluxion.sh index 8894bde..3b2cd81 100755 --- a/fluxion.sh +++ b/fluxion.sh @@ -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