From 2b3b1c9f4c7139bc8e506543f4d0ed1a32295cb6 Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Mon, 18 Nov 2024 22:59:08 +0100 Subject: [PATCH] Remove unneeded code --- airgeddon.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/airgeddon.sh b/airgeddon.sh index f5a49f97c..7a9553e33 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -3162,7 +3162,7 @@ function decloak_check() { local time_counter=0 while true; do sleep 5 - if check_essid_in_capture_file "silent"; then + if check_essid_in_capture_file; then break fi @@ -7875,11 +7875,7 @@ function check_essid_in_capture_file() { if [ "${essid}" = "(Hidden Network)" ]; then return 1 else - if [[ -n "${1}" ]] && [[ "${1}" = "silent" ]]; then - return 2 - else - return 0 - fi + return 0 fi }