slight change

This commit is contained in:
jc
2025-05-26 07:28:46 +00:00
parent 70c9c94564
commit 96f1b7fc8e
+1 -1
View File
@@ -89,7 +89,7 @@ scan_tcp(){
handle & pid=$! handle & pid=$!
# scan residual ports # scan residual ports
k=0; for c in $(seq 1 65535); do [[ ! ${top_1000[$c]} ]] && { tcp_scan & ((k++)); [[ $c -le 10000 ]] && { [[ $k -eq 100 ]] && { sleep .248; k=0; }; } || { [[ $k -eq 250 ]] && { sleep .248; k=0; }; }; }; done k=0; for c in $(seq 1 65535); do [[ ! ${top_1000[$c]} ]] && { tcp_scan & ((k++)); [[ $k -eq 270 ]] && { sleep .248; k=0; }; }; done
# wait # wait
kill -TERM $pid 2>/dev/null; wait kill -TERM $pid 2>/dev/null; wait