diff --git a/airgeddon.sh b/airgeddon.sh index 581f61ca7..5fa09ee2b 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -13394,7 +13394,7 @@ function explore_for_wps_targets_option() { manage_output "+j -bg \"#000000\" -fg \"#FFFFFF\" -geometry ${g1_topright_window} -T \"Exploring for WPS targets\"" "wash -i \"${interface}\"${wash_ifaces_already_set[${interface}]}${wash_band_modifier} | tee \"${tmpdir}wps.txt\"" "Exploring for WPS targets" "active" wait_for_process "wash -i \"${interface}\"${wash_ifaces_already_set[${interface}]}${wash_band_modifier}" "Exploring for WPS targets" - readarray -t WASH_PREVIEW < <(cat <(head -n 2 "${tmpdir}wps.txt") <(tail -n +3 "${tmpdir}wps.txt" | sort -k3,3n 2> /dev/null)) + readarray -t WASH_PREVIEW < <(cat < "${tmpdir}wps.txt" 2> /dev/null) local wash_header_found=0 local wash_line_counter=1