#!/usr/bin/perl # # proxck-001.pl - perl proxy list checker # using samair.ru proxy list checker # (c) nov 2006 @ b1ma a.k.a bima_ # for educational purposes only # GPL v.2 ######################################### use Socket; use strict; my $pamerlah=</) { printlog("[~] $1|$4\n"); } } sub printlog { print @_[0]; open(lo,">>$log"); print lo @_[0]; close(lo); return; } # ------------- Sendraw - thanx RFP rfp@wiretrip.net sub sendraw { # this saves the whole transaction anyway my ($pstr)=@_; socket(S,PF_INET,SOCK_STREAM,getprotobyname('tcp')||0) || die("Socket problems\n"); if(connect(S,pack "SnA4x8",2,$port,$target)){ my @in; select(S); $|=1; print $pstr; while(){ push @in, $_;} select(STDOUT); close(S); return @in; } }