shell bypass 403

UnknownSec Shell

: /home/.cpan/build/URI-5.34-0/t/ [ drwxrwxr-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 : path-segments.t
use strict;
use warnings;

use Test::More 'no_plan';

use URI ();

{
    my $u = URI->new("http://www.example.org/a/b/c");

    is_deeply [$u->path_segments], ['', qw(a b c)], 'path_segments in list context';
    is $u->path_segments, '/a/b/c', 'path_segments in scalar context';

    is_deeply [$u->path_segments('', qw(z y x))], ['', qw(a b c)], 'set path_segments in list context';
    is $u->path_segments('/i/j/k'), '/z/y/x', 'set path_segments in scalar context';

    $u->path_segments('', qw(q r s));
    is $u->path_segments, '/q/r/s', 'set path_segments in void context';
}

{
    my $u = URI->new("http://www.example.org/abc");
    $u->path_segments('', '%', ';', '/');
    is $u->path_segments, '/%25/%3B/%2F', 'escaping special characters';
}

{
    my $u = URI->new("http://www.example.org/abc;param1;param2");
    my @ps = $u->path_segments;
    isa_ok $ps[1], 'URI::_segment';
    $u->path_segments(@ps);
    is $u->path_segments, '/abc;param1;param2', 'dealing with URI segments';
}
© 2026 UnknownSec