shell bypass 403

GrazzMean Shell

: /usr/share/doc/perl-Moose/benchmarks/ [ drwxr-xr-x ]
Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.145.49.162
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : type_constraints.pl
#!/usr/bin/perl

use strict;
use warnings;

use Benchmark qw[cmpthese];

=pod

This benchmark compares the overhead of a
auto-created type constraint vs. none at
all vs. a custom-created type.

=cut

{
    package Foo;
    use Moose;
    use Moose::Util::TypeConstraints;

    has 'baz' => (is => 'rw');
    has 'bar' => (is => 'rw', isa => 'Foo');
}

{
    package Bar;

    sub new { bless {} => __PACKAGE__ }
    sub bar {
        my $self = shift;
        $self->{bar} = shift if @_;
        $self->{bar};
    }
}

my $foo = Foo->new;
my $bar = Bar->new;

cmpthese(200_000,
    {
        'hand coded' => sub {
            $bar->bar($bar);
        },
        'w/out_constraint' => sub {
            $foo->baz($foo);
        },
        'w_constraint' => sub {
            $foo->bar($foo);
        },
    }
);

1;
© 2025 GrazzMean