Up: Startup File
Want to validate: Free http proxy supporting CONNECT method, free socks5 or socks4 proxy supporting CONNECT command.
Your startup file should look like this:
#Connect to proxies to be checked directly. #For http proxies, try to check with connect method. mytype=21 httptestmethod=1 proxyknifeintype=1
Want to validate: Free http, socks5 or socks4 proxy that can be used as MSN tunnel.
The content of your startup file will be:
#Check http,socks5,socks4 proxies with customized request: msn.req. #Check is done via a tcp tunnel(http proxy). mytype=11 myhost=www.myhttptunnel.com myport=8080 myuser=abc mypass=123 httptestmethod=1 checksite=messenger.hotmail.com:1863 checkreqin=msn.req key=VER 0 MSNP8 CVR0 proxyknifeintype=1 proxyknifein=youth.bupt.edu.cn/proxy/
Want to validate: Free http proxy with common GET method, socks5 or socks4 proxy with CONNECT command.
You can write these to your startup file:
#Check http proxies with GET method. #Checking is done via a tcp tunnel(here http proxy). mytype=1 myhost=www.somehttpproxy.com myport=8080
Want to validate: Common free http proxy, free socks5 or socks4 proxy which support connect command.
Your setting should be similiar with this:
#Find http proxies with GET method, socks4/socks5 proxies with connect cmd #All is done via a tcp tunnel(socks5 proxy) with username/password auth. mytype=12 myhost=socks.you.com myport=1080 myuser=phc mypass=678 proxyknifeintype=1 proxyknifein=youth.bupt.edu.cn/proxy/
#The number of threads #threads=50 #Turn on debug1 to debug, 0 to disable it. #debug=0 #The meaning of some constants(These aren't keyword, only reference): #define HTTP_GET 0 #define HTTP_CONNECT 1 #define SOCKS5_CONNECT 2 #define SOCKS4_CONNECT 5 #Send CONNECT request to http proxy with authentication #define HTTP_CONNECT_AUTH 11 #Send CONNECT request to socks5 proxy with authentication #define SOCKS5_CONNECT_AUTH 12 #Do not use myproxy #define DIRECT 21 #The value of mytype must be 1,2,5,11,12 or 21 now, as defined above #mytype=21 #myhost=www.somehttpproxy.com #myport=8080 #Authenticate #myuser=username #mypass=password #The site used to validate free proxies #checksite=http://www.google.com:80/webhp?hl=en #For msn #checksite=messenger.hotmail.com:1863 #key=2006 Google #For msn #key=VER 0 MSNP8 CVR0 #Some references #define HTTP_GET 0 #define HTTP_CONNECT 1 #define SOCKS5_CONNECT 2 #define SOCKS4_CONNECT 5 #The value of httptestmethod can only be 1 or 0 now. #httptestmethod=0 #Must be 2 now, do not change it #socks5testmethod=2 #Must be 5 now, do not change it #socks4testmethod=5 #Size of buffer used to receive reply after sending CONNECT req to myproxy #myconreplysize=256 #Size of buffer used to receive reply after sending CONNECT req to testproxy. #testconreplysize=256 #The size of buffer used to store data from the target. Key was searched in it. #testtagreplysize=65535 #Identify as #user_agent=User-Agent: MSIE 6.0 #Specify the receiving timeout, in seconds, 0 to disable #rcvtimeo=10 #Specify the sending timeout, in seconds, 0 to disable #sndtimeo=5 ##define LOGSTDERR "." #Redirect stderr to log file. Use "." to leave stderr as it is. #logfilename=. #logfilename=proxyknife.log #Reference #define IN_FILE 0 #define IN_HTTP 1 #The type of proxyknifein or the mode of Proxyknife. 0:file,1:http. #proxyknifeintype=0 #The proxylist file or url with full path #File mode: #proxyknifein=proxylist #Read from stdin: #proxyknifein=- #In url mode, only these two sites are tested. Select one of them. #proxyknifein=proxylist.kmip.net/list.html #proxyknifein=youth.bupt.edu.cn/proxy/ #Print the result to this file with full path #proxyknifeout=proxyout #Customize the request #checkreqin=msn.req