LWP::Protocol::socks4 man page on Kali

Man page or keyword search:  
man Server   9211 pages
apropos Keyword Search (all sections)
Output format
Kali logo
[printable version]

LWP::Protocol::socks4(User Contributed Perl DocumentLWP::Protocol::socks4(3pm)

NAME
       LWP::Protocol::socks - adds support for the socks protocol and proxy
       facility

SYNOPSIS
       use LWP::Protocol::socks;

DESCRIPTION
       Use this package when you wish to use a socks proxy for your
       connections.

       It provides some essential hooks into the LWP system to implement a
       socks "scheme" similar to http for describing your socks connection,
       and can be used to proxy either http or https connections.

       The use case is to use LWP::UserAgent's proxy method to register your
       socks proxy like so:

	$ua->proxy([qw(http https)] => 'socks://socks.yahoo.com:1080');

       Then just use your $ua object as usual!

EXAMPLES
	#!/usr/local/bin/perl
	use strict;
	use LWP::UserAgent;

	my $ua = new LWP::UserAgent(agent => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5');
	$ua->proxy([qw(http https)] => 'socks://socks.yahoo.com:1080');
	my $response = $ua->get("http://www.freebsd.org");
	print $response->code,' ', $response->message,"\n";
	my $response = $ua->get("https://www.microsoft.com");
	print $response->code,' ', $response->message,"\n";

SEE ALSO
       URI::socks4

       LWP::Protocol::socks

AUTHORS
       Oleg G <oleg@cpan.org>

perl v5.18.2			  2014-07-30	    LWP::Protocol::socks4(3pm)
[top]

List of man pages available for Kali

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net