Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
perl5 /
site_perl /
5.34.1 /
URI /
[ HOME SHELL ]
Name
Size
Permission
Action
file
[ DIR ]
drwxr-xr-x
urn
[ DIR ]
drwxr-xr-x
data.pm
3.26
KB
-r--r--r--
Escape.pm
6.45
KB
-r--r--r--
file.pm
9.63
KB
-r--r--r--
_foreign.pm
75
B
-r--r--r--
ftp.pm
1.03
KB
-r--r--r--
_generic.pm
5.53
KB
-r--r--r--
gopher.pm
2.34
KB
-r--r--r--
Heuristic.pm
5.57
KB
-r--r--r--
http.pm
405
B
-r--r--r--
https.pm
89
B
-r--r--r--
ldapi.pm
460
B
-r--r--r--
_ldap.pm
3.17
KB
-r--r--r--
ldap.pm
2.93
KB
-r--r--r--
ldaps.pm
89
B
-r--r--r--
_login.pm
222
B
-r--r--r--
mailto.pm
1.22
KB
-r--r--r--
mms.pm
89
B
-r--r--r--
news.pm
1.39
KB
-r--r--r--
nntp.pm
91
B
-r--r--r--
pop.pm
1.15
KB
-r--r--r--
QueryParam.pm
4.54
KB
-r--r--r--
_query.pm
2
KB
-r--r--r--
rlogin.pm
96
B
-r--r--r--
rsync.pm
197
B
-r--r--r--
rtsp.pm
89
B
-r--r--r--
rtspu.pm
90
B
-r--r--r--
_segment.pm
377
B
-r--r--r--
_server.pm
2.19
KB
-r--r--r--
sip.pm
1.71
KB
-r--r--r--
sips.pm
87
B
-r--r--r--
snews.pm
118
B
-r--r--r--
Split.pm
2.28
KB
-r--r--r--
ssh.pm
122
B
-r--r--r--
telnet.pm
95
B
-r--r--r--
tn3270.pm
95
B
-r--r--r--
URL.pm
5.4
KB
-r--r--r--
urn.pm
1.91
KB
-r--r--r--
_userpass.pm
977
B
-r--r--r--
WithBase.pm
3.74
KB
-r--r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : gopher.pm
package URI::gopher; # <draft-murali-url-gopher>, Dec 4, 1996 require URI::_server; @ISA=qw(URI::_server); use strict; use URI::Escape qw(uri_unescape); # A Gopher URL follows the common internet scheme syntax as defined in # section 4.3 of [RFC-URL-SYNTAX]: # # gopher://<host>[:<port>]/<gopher-path> # # where # # <gopher-path> := <gopher-type><selector> | # <gopher-type><selector>%09<search> | # <gopher-type><selector>%09<search>%09<gopher+_string> # # <gopher-type> := '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' # '8' | '9' | '+' | 'I' | 'g' | 'T' # # <selector> := *pchar Refer to RFC 1808 [4] # <search> := *pchar # <gopher+_string> := *uchar Refer to RFC 1738 [3] # # If the optional port is omitted, the port defaults to 70. sub default_port { 70 } sub _gopher_type { my $self = shift; my $path = $self->path_query; $path =~ s,^/,,; my $gtype = $1 if $path =~ s/^(.)//s; if (@_) { my $new_type = shift; if (defined($new_type)) { Carp::croak("Bad gopher type '$new_type'") unless length($new_type) == 1; substr($path, 0, 0) = $new_type; $self->path_query($path); } else { Carp::croak("Can't delete gopher type when selector is present") if length($path); $self->path_query(undef); } } return $gtype; } sub gopher_type { my $self = shift; my $gtype = $self->_gopher_type(@_); $gtype = "1" unless defined $gtype; $gtype; } *gtype = \&gopher_type; # URI::URL compatibility sub selector { shift->_gfield(0, @_) } sub search { shift->_gfield(1, @_) } sub string { shift->_gfield(2, @_) } sub _gfield { my $self = shift; my $fno = shift; my $path = $self->path_query; # not according to spec., but many popular browsers accept # gopher URLs with a '?' before the search string. $path =~ s/\?/\t/; $path = uri_unescape($path); $path =~ s,^/,,; my $gtype = $1 if $path =~ s,^(.),,s; my @path = split(/\t/, $path, 3); if (@_) { # modify my $new = shift; $path[$fno] = $new; pop(@path) while @path && !defined($path[-1]); for (@path) { $_="" unless defined } $path = $gtype; $path = "1" unless defined $path; $path .= join("\t", @path); $self->path_query($path); } $path[$fno]; } 1;
Close