From 83f386a94678925fbf74d62a17b8400ff2155737 Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Tue, 15 Aug 2023 15:28:15 +0200 Subject: [PATCH] Fix error on interfaces on "DoS pursuit mode" --- CHANGELOG.md | 1 + airgeddon.sh | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 552cff453..0c2893658 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +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" ### 11.20 - Improvements and fixes on "DoS pursuit mode" diff --git a/airgeddon.sh b/airgeddon.sh index b59132357..a37370ca9 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -4392,7 +4392,7 @@ function launch_dos_pursuit_mode_attack() { case "${1}" in "${mdk_command} amok attack") dos_delay=1 - interface_pursuit_mode_scan="${interface}" + interface_pursuit_mode_scan="${secondary_wifi_interface}" interface_pursuit_mode_deauth="${interface}" manage_output "+j -bg \"#000000\" -fg \"#FF0000\" -geometry ${g1_topleft_window} -T \"${1} (DoS Pursuit mode)\"" "${mdk_command} ${interface_pursuit_mode_deauth} d -b ${tmpdir}bl.txt -c ${channel}" "${1} (DoS Pursuit mode)" if [ "${AIRGEDDON_WINDOWS_HANDLING}" = "tmux" ]; then @@ -4404,7 +4404,7 @@ function launch_dos_pursuit_mode_attack() { "aireplay deauth attack") ${airmon} start "${interface}" "${channel}" > /dev/null 2>&1 dos_delay=3 - interface_pursuit_mode_scan="${interface}" + interface_pursuit_mode_scan="${secondary_wifi_interface}" interface_pursuit_mode_deauth="${interface}" manage_output "+j -bg \"#000000\" -fg \"#FF0000\" -geometry ${g1_topleft_window} -T \"${1} (DoS Pursuit mode)\"" "aireplay-ng --deauth 0 -a ${bssid} --ignore-negative-one ${interface_pursuit_mode_deauth}" "${1} (DoS Pursuit mode)" if [ "${AIRGEDDON_WINDOWS_HANDLING}" = "tmux" ]; then @@ -4415,7 +4415,7 @@ function launch_dos_pursuit_mode_attack() { ;; "wids / wips / wds confusion attack") dos_delay=10 - interface_pursuit_mode_scan="${interface}" + interface_pursuit_mode_scan="${secondary_wifi_interface}" interface_pursuit_mode_deauth="${interface}" manage_output "+j -bg \"#000000\" -fg \"#FF0000\" -geometry ${g1_topleft_window} -T \"${1} (DoS Pursuit mode)\"" "${mdk_command} ${interface_pursuit_mode_deauth} w -e ${essid} -c ${channel}" "${1} (DoS Pursuit mode)" if [ "${AIRGEDDON_WINDOWS_HANDLING}" = "tmux" ]; then @@ -4426,7 +4426,7 @@ function launch_dos_pursuit_mode_attack() { ;; "beacon flood attack") dos_delay=1 - interface_pursuit_mode_scan="${interface}" + interface_pursuit_mode_scan="${secondary_wifi_interface}" interface_pursuit_mode_deauth="${interface}" manage_output "+j -bg \"#000000\" -fg \"#FF0000\" -geometry ${g1_topleft_window} -T \"${1} (DoS Pursuit mode)\"" "${mdk_command} ${interface_pursuit_mode_deauth} b -n ${essid} -c ${channel} -s 1000 -h" "${1} (DoS Pursuit mode)" if [ "${AIRGEDDON_WINDOWS_HANDLING}" = "tmux" ]; then @@ -4437,7 +4437,7 @@ function launch_dos_pursuit_mode_attack() { ;; "auth dos attack") dos_delay=1 - interface_pursuit_mode_scan="${interface}" + interface_pursuit_mode_scan="${secondary_wifi_interface}" interface_pursuit_mode_deauth="${interface}" manage_output "+j -bg \"#000000\" -fg \"#FF0000\" -geometry ${g1_topleft_window} -T \"${1} (DoS Pursuit mode)\"" "${mdk_command} ${interface_pursuit_mode_deauth} a -a ${bssid} -m -s 1024" "${1} (DoS Pursuit mode)" if [ "${AIRGEDDON_WINDOWS_HANDLING}" = "tmux" ]; then @@ -4448,7 +4448,7 @@ function launch_dos_pursuit_mode_attack() { ;; "michael shutdown attack") dos_delay=1 - interface_pursuit_mode_scan="${interface}" + interface_pursuit_mode_scan="${secondary_wifi_interface}" interface_pursuit_mode_deauth="${interface}" manage_output "+j -bg \"#000000\" -fg \"#FF0000\" -geometry ${g1_topleft_window} -T \"${1} (DoS Pursuit mode)\"" "${mdk_command} ${interface_pursuit_mode_deauth} m -t ${bssid} -w 1 -n 1024 -s 1024" "${1} (DoS Pursuit mode)" if [ "${AIRGEDDON_WINDOWS_HANDLING}" = "tmux" ]; then @@ -4460,7 +4460,7 @@ function launch_dos_pursuit_mode_attack() { "${mdk_command}") dos_delay=1 interface_pursuit_mode_scan="${secondary_wifi_interface}" - interface_pursuit_mode_deauth="${secondary_wifi_interface}" + interface_pursuit_mode_deauth="${iface_monitor_et_deauth}" manage_output "+j -bg \"#000000\" -fg \"#FF0000\" -geometry ${deauth_scr_window_position} -T \"Deauth (DoS Pursuit mode)\"" "${mdk_command} ${interface_pursuit_mode_deauth} d -b ${tmpdir}\"bl.txt\" -c ${channel}" "Deauth (DoS Pursuit mode)" if [ "${AIRGEDDON_WINDOWS_HANDLING}" = "tmux" ]; then get_tmux_process_id "${mdk_command} ${interface_pursuit_mode_deauth} d -b ${tmpdir}\"bl.txt\" -c ${channel}" @@ -4470,7 +4470,7 @@ function launch_dos_pursuit_mode_attack() { ;; "Aireplay") interface_pursuit_mode_scan="${secondary_wifi_interface}" - interface_pursuit_mode_deauth="${secondary_wifi_interface}" + interface_pursuit_mode_deauth="${iface_monitor_et_deauth}" iw "${interface_pursuit_mode_deauth}" set channel "${channel}" > /dev/null 2>&1 dos_delay=3 manage_output "+j -bg \"#000000\" -fg \"#FF0000\" -geometry ${deauth_scr_window_position} -T \"Deauth (DoS Pursuit mode)\"" "aireplay-ng --deauth 0 -a ${bssid} --ignore-negative-one ${interface_pursuit_mode_deauth}" "Deauth (DoS Pursuit mode)" @@ -4483,7 +4483,7 @@ function launch_dos_pursuit_mode_attack() { "Wds Confusion") dos_delay=10 interface_pursuit_mode_scan="${secondary_wifi_interface}" - interface_pursuit_mode_deauth="${secondary_wifi_interface}" + interface_pursuit_mode_deauth="${iface_monitor_et_deauth}" manage_output "+j -bg \"#000000\" -fg \"#FF0000\" -geometry ${deauth_scr_window_position} -T \"Deauth (DoS Pursuit mode)\"" "${mdk_command} ${interface_pursuit_mode_deauth} w -e ${essid} -c ${channel}" "Deauth (DoS Pursuit mode)" if [ "${AIRGEDDON_WINDOWS_HANDLING}" = "tmux" ]; then get_tmux_process_id "${mdk_command} ${interface_pursuit_mode_deauth} w -e ${essid} -c ${channel}"