shell bypass 403

GrazzMean Shell

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.148.117.147
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : 200-cooperative.t
use strict;
use warnings;
use Test::More 0.88;

use Test::Needs {
    'MooseX::Role::WithOverloading' => '0.14',
};

do {
    package MyParameterizedRole;

    BEGIN { MooseX::Role::WithOverloading->import }
    use MooseX::Role::Parameterized;

    use overload q{""} => '_stringify';

    parameter default => ( required => 1 );

    role {
        my $p   = shift;
        my %foo = @_;

        has foo => (
            is      => 'ro',
            isa     => 'Str',
            default => $p->default(),
        );
    };

    sub _stringify { $_[0]->foo() }
};

do {
    package MyClass;
    use Moose;
    with 'MyParameterizedRole' => { default => 'string' };
};

my $object = MyClass->new();

is(
    $object->foo(),
    'string',
    'MyClass object has foo attribute with default passed to parameterized role'
);

is(
    "$object",
    'string',
    'MyClass object stringifies to value of foo attribute'
);

done_testing();
© 2025 GrazzMean