You can use phc after a few minutes if you do like this step by step:
tar zxvf phc-1.1.tar.gz
cd phc-1.1
./configure
make
make install
cp doc/phc.conf.example phc.conf
Now read the configuration file "phc.conf". Notice: The line begin with '#' is commet line. The line after the line begin with '#' must be customized with you own setting. And the line begin with
'#! if'
need be updated only if the condition expression after "if" is true.
For example, you username at myproxy is abc, password is guest, then you should set myuser and mypass like this:
myuser=abc
mypass=guest
httptestmethod=1
socks5testmethod=2
cp doc/proxylist .
Notice, phc.conf must be in the same directory now.
phc
Tips: If you have found enough free proxies, you can use "^C" to stop phc at any time.
The result of of validation will be printed on screen and saved to file named proxyout in current directory immediately after any free proxy is found .
Want to validate: free http CONNECT proxy and free socks5 proxy which support connect command.
You configuration should look like this:
#You must customize the follow
mytype=4
myhost=socks.you.com
myport=1080
myuser=abc
mypass=def
httptestmethod=1
socks5testmethod=2
#Optional to be changed. But you SHOULD NOT comment or remove it.
threads=50
checksite=http://www.google.com:80/webhp?hl=en
key=2005 Google
user_agent=User-Agent: MSIE 6.0
myconreplysize=256
testconreplysize=256
testtagreplysize=65535
rcvtimeo=10
sndtimeo=5
logfilename=phc.log
Want to validate: Common free http proxy and free socks5 proxy which support connect command.
Your setting will be similiar with this:
#The follow lines must be customized.
mytype=1
myhost=proxy.you.com
myport=8080
httptestmethod=0
socks5testmethod=2
#The follow lines is optional to be changed , but you should not
#delete or remove it.
threads=50
checksite=http://www.google.com:80/webhp?hl=en
key=2005 Google
user_agent=User-Agent: MSIE 6.0
myconreplysize=256
testconreplysize=256
testtagreplysize=65535
rcvtimeo=10
sndtimeo=5
logfilename=phc.log
#All of the other setting(such as "user=","pass=") will be ignored.