1 What is phc?
Phc is a customizable proxy hunter. (It is not a really brave hunter, but a
lazy and kind one who will only select beasts puted before him or her,:-).)
It reads free proxy list from file and outputs data used to value speed or
response of the free proxies available. All of the process can be customized
by the user.
Certainly, you can learn and finish configuration in a few minutes. And then,
if you have a big proxylist, just have a cup of coffe to wait for the result.
2 Featurelist
Featurelist
- Checking free http proxy1 with GET or CONNECT method:
- HTTP_CONNECT
- This kind of http proxy accepts CONNECT request. Most of application based on
tcp can use this kind of proxies, for example: telnet,ssh, http etc.
- This kind of http proxy usually do not limit strictly the range of target port
of the request.
- HTTP_GET
- The common http proxy. It only proxy common service, such as http,ftp,gopher.
It is due to the proxy server what kind of service can be supported.
- Tt will benefit from cache of proxy server. So it is a good selection if
many people use the same proxy to visit similar sites in the same time.
- Checking free socks5 proxy with connect method:
- SOCKS5_CONNECT
- Socks5 proxies accept connect command. This method of socks5 proxy is very
like the connect method of http proxy. Just above, it can be used as tcp tunnel.
That is to say, it can proxy any request based on TCP.
- Checking the testproxy2 via myproxy.
Myproxy is the proxy which phc connect to it and go to testproxy via it.
Now myproxy can be http (support CONNECT method) or socks5 (support connect
command) proxy.
Two kind of authentication of myproxy is supported for socks5 or http proxy:
Notice, the directly connection in phc is for testing. So you
can try to validate testproxy without myproxy now.
- Authentication with username and password needed.
http: basic authentication
socks5: username/password authentication(RFC1929).
- no authentication.
That is to say, myproxy can be free proxy also. Certainly, you must have route
to connect to myproxy directly.
- Multithread.
- All delay on process are written to file and printed on screen in the
same time.
There is a simple script available used to sort the result according
to the speed of proxies.
- You can use ctrl-c to kill it without loss on result.
- Read testproxy by line but not reading to memory at a glance. Phc is
expected to check big proxylist without influencing the other process.
- Flexible, customizable.
All detail on validating can be customized,such as:
user_agent: you can check testproxy as any browsers with it if you like.
checksite: you can select the best testproxy for a single site.
key: you can select a better key in the site of target to match the result
thoroughly.
...