tar zxvf phc-1.1.tar.gz
cd phc-1.1
./configure
make
make install
cp doc/phc.conf.example phc.conf
'#'开始的行为注释行,特别的,'#!'开始的行后面的行是必须修改的,请 根据注释行修改. 特别的,
'#! if'
myuser=abc
mypass=guest
httptestmethod=1
socks5testmethod=2.
cp doc/proxylist .
同phc.conf一同放在当前目录下.
phc 2>/dev/null
^C中断
没发现一个免费代理,结果都会在屏幕即时输出并同时保存在当前目录下的文件proxyout中.
#一定要个性化的部分
mytype=4
myhost=socks.you.com
myport=1080
myuser=abc
mypass=def
httptestmethod=1
socks5testmethod=2
#可以不改但不能注释掉的部分.
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
#必须个性化的部分
mytype=1
myhost=proxy.you.com
myport=8080
httptestmethod=0
socks5testmethod=2
#可以不改动但不能注释或者删除的部分
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.conf
其他设置行和注释行(如myuser=...mypass=...)都将被忽略.