hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

technoboy
For your own use only,

this script should get you about 2000 proxy in a row and put them in a file that you can import in aatools or any others proxy verification program. Very simple perl script, less than 100lines but save a lot of time smile.gif

just put a list of url where you want him to fetch the proxy in url.list and the proxy will be put in proxy.list.

the proxy list must be presented in a table with 2 row named 'Name' and 'Port' or it wont work. i know this is a crappy but it work anyway smile.gif


url's are already included in the url.list file so enjoy.
technoboy
oh and here is the src for the few that might be interested, feel free to mod it:

CODE

#!/usr/bin/perl -w

# Declare modules
use LWP::Simple;
use HTML::TableExtract;

# Local Variables
my $url_file   = "url.list";
my $proxy_file = "proxy.list";


open URL,  "<$url_file";
while (<URL>) {
foreach ($_) {
print "[+] Downloading raw proxy list: $_";
@html_string = get("$_");
}
foreach $html_string (@html_string) {
&parse_data($html_string);
}
}
close URL;

sub parse_data {
open OUT,  ">>$proxy_file";
($html_string) = @_;
print "[+] Parsing data...\n";
$te = new HTML::TableExtract( headers => [qw(Name Port)] );
$te->parse($html_string);
foreach $row ($te->rows($table)) {
 my ($addr, $port) = @$row;
 $addr =~ s/\s+//g;
 $port =~ s/\s+//g;
 if ($port =~ /\d+/) {
 print OUT "$addr:$port\n";
 }
} close OUT;
#$table = "null";
}


buzzons
nice wink.gif ill take a look.. Ill see if i can mod it a bit biggrin.gif

Buz
FiNaLBeTa
thnx for posting source 2. nice to learn
free
Nice tools rolleyes.gif

Thank

A+++++
JDog45
very nice tool. I haven't looked at the URL file yet, but I'm assuming its easy to add/remove URL's?
technoboy
yea its just a flatfile.

the default file is:
CODE
http://www.proxymania.com/page1.html
http://www.proxymania.com/page2.html
http://www.proxymania.com/page3.html
http://www.proxymania.com/page4.html
http://www.proxymania.com/page5.html
http://www.findproxy.com/index.html
http://www.findproxy.com/page1.html
http://www.findproxy.com/page2.html
http://www.findproxy.com/page3.html
http://www.findproxy.com/page4.html
http://www.findproxy.com/page5.html
http://www.findproxy.com/page6.html
http://www.findproxy.com/page7.html
http://www.findproxy.com/page8.html
http://www.findproxy.com/page9.html
http://www.findproxy.com/page10.html
http://www.proxy4free.com/page1.html
http://www.proxy4free.com/page2.html
http://www.proxy4free.com/page3.html
http://www.proxy4free.com/page4.html
http://www.proxy4free.com/page5.html
http://www.proxy4free.com/page6.html
http://www.proxy4free.com/page7.html
http://www.proxy4free.com/page8.html
http://www.proxy4free.com/page9.html
http://www.proxy4free.com/page10.html
http://www.publicproxyservers.com/page1.html
http://www.publicproxyservers.com/page2.html
http://www.publicproxyservers.com/page3.html
http://www.publicproxyservers.com/page4.html
http://www.publicproxyservers.com/page5.html
http://www.anonymitychecker.com/page1.html
http://www.anonymitychecker.com/page2.html
http://www.anonymitychecker.com/page3.html
http://www.anonymitychecker.com/page4.html
http://www.anonymitychecker.com/page5.html
http://www.anonymitychecker.com/page6.html
http://www.anonymitychecker.com/page7.html
http://www.anonymitychecker.com/page8.html
http://www.allproxies.com/page1.html
http://www.allproxies.com/page2.html
http://www.allproxies.com/page3.html
http://www.allproxies.com/page4.html
http://www.allproxies.com/page5.html
http://www.allproxies.com/page6.html
http://www.allproxies.com/page7.html
http://www.allproxies.com/page8.html
fry
Thanx for coding and sharing the great tool. tongue.gif
SNOZZ
Nice tool thx
extreme
Even better tool...
http://www.sa6ry.com/downloads/SASetup.exe
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.