Skip to content

Commit

Permalink
Add killing statements to Evil Twin in order to kill subprocesses jus…
Browse files Browse the repository at this point in the history
…t after having success instead of wait to the end of the attack
  • Loading branch information
v1s1t0r1sh3r3 committed Oct 1, 2023
1 parent 2f9dab8 commit cee4080
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10839,6 +10839,12 @@ function set_et_control_script() {

cat >&7 <<-'EOF'
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
EOF

if [ "${AIRGEDDON_WINDOWS_HANDLING}" = "tmux" ]; then
Expand Down

0 comments on commit cee4080

Please sign in to comment.