proxy_checker
proxy_checker copied to clipboard
Multithreading Proxy Checker
Hey Sir!
Can you add multithreading proxy checker pls? :)
With best regards 💃
Easy solution:
- LINES=$(cat sourse_file.txt | wc -l) # get number of lines in file with proxy
- THREAD=8 #needed thread
- LINES_PER_FILE=$(echo ${LINES}/${THREAD} | bc) # get number of lines per file
- split -l LINES_PER_FILE sourse_file.txt output_directory/ #split file with proxy
- for FILES in $(ls output_directory); do ./checkProxy.sh -f output_directory/${FILES} -m 5 -g good; done