Next: Advanced configuration, Previous: Requirements, Up: Top
You can use proxyknife after a few minutes if you do like this step by step:
          tar zxvf proxyknife-1.5.tar.gz
          cd proxyknife-1.5
     
               ./configure
          make
          make install
     
               cp doc/proxyknife.conf.example proxyknife.conf
     
     You can put proxyknife.conf to /etc/proxyknife.conf or ~/.proxyknife.conf. Proxyknife will search ./proxyknife.conf,then ~/.proxyknife.conf , at last /etc/proxyknife.conf until it found the first one.
Now read the configuration file "proxyknife.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
     
          socks4testmethod=5
     
          logfilename=.
     
          If you want to see it laterly:
logfilename=./proxyknife.log
     
                    cp doc/example/proxylist .
     
     Notice, proxyknife.conf must be in the directory proxyknife can find. In search order: the path come from `-f' option, current directory, /etc/proxyknife.conf.
          proxyknife
     
     Tips: If you have found enough free proxies, you can use "^C" to stop proxyknife at any time. The result of validating 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.
Your configuration should look like this:
               #You must customize the follow
               mytype=12
               myhost=socks.you.com
               myport=1080
               myuser=abc
               mypass=def
               httptestmethod=1
               #You should leave the following items intact.
               socks5testmethod=2
               socks4testmethod=5
               #Optional to be changed. But you SHOULD NOT comment or remove it.
               threads=50
               checksite=http://www.google.com:80/webhp?hl=en
               key=2006 Google
               user_agent=User-Agent: MSIE 6.0
               myconreplysize=256
               testconreplysize=256
               testtagreplysize=65535
               rcvtimeo=10
               sndtimeo=5
               logfilename=proxyknife.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
               #Please leave the following items intact.
               socks5testmethod=2
               socks4testmethod=5
               #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=2006 Google
               user_agent=User-Agent: MSIE 6.0
               myconreplysize=256
               testconreplysize=256
               testtagreplysize=65535
               rcvtimeo=10
               sndtimeo=5
               logfilename=proxyknife.log