shell bypass 403

UnknownSec Shell

: /home/.cpan/build/Storable-3.25-0/t/ [ drwxr-xr-x ]
Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 172.67.154.186
Your Ip: 216.73.217.58
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : attach.t
#!./perl -w
#
# This file tests that Storable correctly uses STORABLE_attach hooks

sub BEGIN {
	unshift @INC, 't';
	unshift @INC, 't/compat' if $] < 5.006002;
	require Config; import Config;
	if ($ENV{PERL_CORE} and $Config{'extensions'} !~ /\bStorable\b/) {
		print "1..0 # Skip: Storable was not built\n";
		exit 0;
	}
}

use Test::More tests => 3;
use Storable ();

{
	my $destruct_cnt = 0;
	my $obj = bless {data => 'ok'}, 'My::WithDestructor';
	my $target = Storable::thaw( Storable::freeze( $obj ) );
	is( $target->{data}, 'ok', 'We got correct object after freeze/thaw' );
	is( $destruct_cnt, 0, 'No tmp objects created by Storable' );
	undef $obj;
	undef $target;
	is( $destruct_cnt, 2, 'Only right objects destroyed at the end' );

	package My::WithDestructor;

	sub STORABLE_freeze {
		my ($self, $clone) = @_;
		return $self->{data};
	}

	sub STORABLE_attach {
		my ($class, $clone, $string) = @_;
		return bless {data => $string}, 'My::WithDestructor';
	}

	sub DESTROY { $destruct_cnt++; }
}

© 2026 UnknownSec