|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 71
Members: 0
Total: 71
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Proxy with Perl? |
|
Posted: Wed Nov 08, 2006 5:54 pm |
|
|
brown_turd |
Beginner |
|
|
Joined: Nov 08, 2006 |
Posts: 3 |
|
|
|
|
|
|
|
Anyone have a newbie's guide to using a proxy for running perl scripts?
Thanks |
|
|
|
|
|
Re: Proxy with Perl? |
|
Posted: Thu Nov 09, 2006 5:27 am |
|
|
y3dips |
Valuable expert |
|
|
Joined: Feb 25, 2005 |
Posts: 281 |
Location: Indonesia |
|
|
|
|
|
|
brown_turd wrote: | Anyone have a newbie's guide to using a proxy for running perl scripts?
Thanks |
maybe this script would help u, this script using proxy to browse google site
Code: |
#!/usr/bin/perl
#
require LWP::UserAgent;
[skip]
$proxy = 'http://proxy:port/';
$site = "http://www.google.com/";
[skip]
$ua = LWP::UserAgent->new;
$ua->proxy(http => $proxy) if defined($proxy);
$browse = $ua->get($site);
[skip] |
hope its help |
|
_________________ IO::y3dips->new(http://clog.ammar.web.id); |
|
|
|
www.waraxe.us Forum Index -> Newbies corner
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|