Skip to content
This repository was archived by the owner on Apr 9, 2020. It is now read-only.

Multithreading Proxy Checker #3

Open
VoltexYT opened this issue Feb 10, 2020 · 1 comment
Open

Multithreading Proxy Checker #3

VoltexYT opened this issue Feb 10, 2020 · 1 comment

Comments

@VoltexYT
Copy link

Hey Sir!

Can you add multithreading proxy checker pls? :)

With best regards 💃

@ckam
Copy link
Owner

ckam commented Feb 13, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants