From 1b4ea077025041c5408bb37fa04e8b12ee482e3e Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Fri, 25 Aug 2023 15:24:15 +0200 Subject: [PATCH] Fix DoS pursuit mode process killing --- CHANGELOG.md | 2 +- airgeddon.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c2893658..9e20e2676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ - Chinese language translation added (Thank you to "zcbxx") - Fixed bug parsing cracked PIN on WPS reaver Pixie Dust attack for newer reaver versions - Fixed error on PMKID capturing due hcxdumptool different params for newer versions using bpf filters - - Fixed error on interfaces on "DoS pursuit mode" + - Fixed error on interfaces and process killing on "DoS pursuit mode" ### 11.20 - Improvements and fixes on "DoS pursuit mode" diff --git a/airgeddon.sh b/airgeddon.sh index a37370ca9..7bd0a08db 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -10718,8 +10718,9 @@ function set_et_control_script() { cat >&7 <<-EOF #!/usr/bin/env bash - et_heredoc_mode=${et_mode} + et_heredoc_mode="${et_mode}" path_to_processes="${tmpdir}${et_processesfile}" + mdk_command="${mdk_command}" EOF cat >&7 <<-'EOF' @@ -10841,6 +10842,7 @@ function set_et_control_script() { kill_et_windows kill "$(ps -C hostapd --no-headers -o pid | tr -d ' ')" &> /dev/null kill "$(ps -C dhcpd --no-headers -o pid | tr -d ' ')" &> /dev/null + kill "$(ps -C "${mdk_command}" --no-headers -o pid | tr -d ' ')" &> /dev/null kill "$(ps -C aireplay-ng --no-headers -o pid | tr -d ' ')" &> /dev/null kill "$(ps -C dnsmasq --no-headers -o pid | tr -d ' ')" &> /dev/null kill "$(ps -C lighttpd --no-headers -o pid | tr -d ' ')" &> /dev/null