logos

With Andrii Grytsenko


Technical Diary - With Andrii Grytsenko

Anonymous proxy checker

There is anonymous proxy checker written by me.

To run it on your box you should have perl interpreter and some perl modules. Such as:

LWP::UserAgent
Getopt::Long

You can get it directly from site or over the cpan util as well. The source of script here You have to put it on your computer. Also you need get the list of proxy(It can be easily done by google, just type “anonymous proxy list” and you will get a lot of links). Take list and put into the file. Like this :

agrytsenko:~/tmp$ cat proxy.2
64.66.192.61:80 0.8680  Transp. US      Y       65%     2008-12-04 09:51:23
89.114.36.221:8000      1.0750  Elite   RO      ?       30%     2008-12-04 09:39:18
74.65.65.195:8000       1.1030  Elite   US      Y       47%     2008-12-04 09:40:49
89.97.128.86:6588       1.1630  Elite   IT      N       33%     2008-12-04 09:37:52
200.179.72.132:80       1.1830  Transp. BR      Y       91%     2008-12-04 09:51:23
207.182.129.90:3128     1.2570  Transp. US      Y       54%     2008-12-04 09:51:23
207.182.129.91:3128     1.2850  Transp. US      Y       57%     2008-12-04 09:51:23
66.98.152.157:6654      1.4750  Elite   US      Y       11%     2008-12-04 09:37:52
92.48.119.220:6654      1.6100  Elite   GB      Y       29%     2008-12-04 09:36:26

or like this:

agrytsenko:~/tmp$ cat proxy
64.66.192.61:80
150.101.196.52:3128
114.30.47.10:80
114.127.246.36

The main rule of file format: the first field has to be ip:port of proxy.

The script has several keys. Here they are:

agrytsenko:~/tmp$ ./proxy_checker.pl -h
-f file         Specify file
-v              Turn on verbose mode
-h              Print this help

Okay, now you are ready to run it:

agrytsenko:~/tmp$ ./proxy_checker.pl -f ./proxy -v
Try to open proxy list ./proxy
Connect to site over 64.66.192.61:80...
Connection was not established. The reason is :
500 Can't connect to 64.66.192.61:80 (connect: timeout)
Connect to site over 150.101.196.52:3128...
Success connected with IP=150.101.196.52
Proxy 150.101.196.52:3128 is avaible for connections
The 150.101.196.52:3128 is not fully anonymous. You ip address is 79.124.129.220
Connect to site over 114.30.47.10:80...
Connection was not established. The reason is :
503 Service Unavailable
Connect to site over 114.127.246.36:8080...
Success connected with IP=114.127.246.36
Proxy 114.127.246.36:8080 is avaible for connections

As you can see we have only one fully anonymous proxy for now. It’s 114.127.246.36.

Done.

Leave a Reply

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Categories

Translate

Map IP Address

Map IP Address