shell bypass 403

UnknownSec Shell

: /home/.cpan/build/TimeDate-2.35-0/t/ [ drwxr-xr-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 : lang-encoding.t
use strict;
use warnings;
use Test::More;
use Date::Language;

# RT#113419 / GH#19: Language modules must return Unicode strings (UTF-8 flagged),
# not raw byte strings in legacy encodings.
#
# Legacy encoding modules (Chinese_GB, Russian, Russian_koi8r, Russian_cp1251)
# intentionally return byte strings and are excluded from this check.

my @unicode_langs = qw(
    Afar
    Amharic
    Arabic
    Austrian
    Brazilian
    Bulgarian
    Chinese
    Czech
    Danish
    Dutch
    English
    Finnish
    French
    Gedeo
    German
    Greek
    Hungarian
    Icelandic
    Italian
    Norwegian
    Occitan
    Oromo
    Romanian
    Sidama
    Somali
    Spanish
    Swedish
    Tigrinya
    TigrinyaEritrean
    TigrinyaEthiopian
    Turkish
);

# Tue Sep  7 13:02:42 1999 GMT
my $time = 936709362;

for my $lang (@unicode_langs) {
    my $l = Date::Language->new($lang);

    for my $fmt (qw(%A %a %B %b)) {
        my $str = $l->time2str($fmt, $time, 'GMT');

        # Pure-ASCII strings don't get the UTF-8 flag; skip them.
        next unless $str =~ /[^\x00-\x7f]/;

        ok(
            utf8::is_utf8($str),
            "$lang $fmt: non-ASCII result has UTF-8 flag set"
        );
    }
}

done_testing;
© 2026 UnknownSec