perl how to add proxy to my script -
i want add proxy script interacting networks(mainly want hide ip outgoing request)
how use script?
use cgi qw/:standard/; use mail::vrfy; use mail::verify; use http::daemon; $emailaddress = $argv[0]; $d = http::daemon->new( localhost => "localhost", # remove listen other machines # (i.e. open-relay... careful of spammers!) localport => 8080 ) || die; print "[proxy url:", $d->url, "]\n"; #print $email_ck; $code = mail::vrfy::checkaddress(addr => $emailaddress,method => 'extended',timeout => 12,debug => 0); print $code; i have proxy address
now how add outgoing request eg have use proxy function
my $code = mail::vrfy::checkaddress(addr => $emailaddress,method => 'extended',timeout => 12,debug => 0); how it?
mail::vrfy uses dns , smtp verify email addresses. guess "proxy address" mean http proxy. kind of proxy server won't you, since no http connections involved.
Comments
Post a Comment