proxy_checker icon indicating copy to clipboard operation
proxy_checker copied to clipboard

Multithreading Proxy Checker

Open VoltexYT opened this issue 6 years ago • 1 comments

Hey Sir!

Can you add multithreading proxy checker pls? :)

With best regards 💃

VoltexYT avatar Feb 10 '20 17:02 VoltexYT

Easy solution:

  1. LINES=$(cat sourse_file.txt | wc -l) # get number of lines in file with proxy
  2. THREAD=8 #needed thread
  3. LINES_PER_FILE=$(echo ${LINES}/${THREAD} | bc) # get number of lines per file
  4. split -l LINES_PER_FILE sourse_file.txt output_directory/ #split file with proxy
  5. for FILES in $(ls output_directory); do ./checkProxy.sh -f output_directory/${FILES} -m 5 -g good; done

ckam avatar Feb 13 '20 10:02 ckam