Proxy Checker

Marco Ramilli
Date
20 January 2010
Read
Share

Some of you guys asked me if I have something to check the active proxies inside a generic ProxyList.txt ( If you wanna download the list please read the this: WEB-Clicker ).

BTW, why don't you write some more comments on my blog instead of write me tons of emails ? Just kidding.. emails are fine !

Of course I have it. here it is .

############################################

#!/usr/bin/perl

# Proxy Checker

# https://marcoramilli.blogspot.com

############################################

use WWW::Mechanize;

@proxy=`cat proxy.lst`;

foreach $i (@proxy) {

chomp($i);

my $go = WWW::Mechanize->new( agent=> "Mozilla/5.0" );

$go->proxy(['http'], 'https://'.$i.'/');

$go->get('https://www.whatismyip.com');

$match = $go->content;

# print "$matchn";

my($crap,$ip)=split(/^(.*):/,$i);print "$i -> ";

if ($match =~ m/(.*)Your IP Is $ip(.*)/ ) { print "Ok.n";

open(LOG,">> proxy.log"); print LOG "$in"; close(LOG);

}

else { print "Nopn"; }

}

BTW, why don't you write some comments instead to email me ? 😀

Just kidding, emails are fine.

Marco Ramilli
Date
20 January 2010
Read
Share
← Go back
Latest Posts

i-SOON Data Leak: Key Points

Introduction i-SOON (上海安洵), a prominent contractor for various Chinese government agencies such […]

Date
26.02.2024
Duration
5 min
Text
Marco Ramilli

X Gold Badges: a new proliferating market

When I saw a threat actor hijacking the X account of Google's […]

Date
08.01.2024
Duration
5 min
Text
Marco Ramilli

Technical Data Sheet: LOCKBIT 3.0

LOCKBIT 3.0 is a notorious Ransomware Group that was first identified on […]

Date
20.12.2023
Duration
5 min
Text
Marco Ramilli
1 2 3 236
Back to Top
magnifier