shell bypass 403

UnknownSec Shell

: /home/.cpan/build/JSON-4.11-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: 104.21.5.151
Your Ip: 216.73.216.57
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : 99_binary.t
# copied over from JSON::XS and modified to use JSON

use strict;
use warnings;
use Test::More;
BEGIN { plan tests => 24576 };

BEGIN { $ENV{PERL_JSON_BACKEND} ||= "JSON::backportPP"; }

use JSON;


sub test($) {
   my $js;

   $js = JSON->new->allow_nonref(0)->utf8->ascii->shrink->encode ([$_[0]]);
   ok ($_[0] eq ((decode_json $js)->[0]), " - 0");
   $js = JSON->new->allow_nonref(0)->utf8->ascii->encode ([$_[0]]);
   ok ($_[0] eq (JSON->new->utf8->shrink->decode($js))->[0], " - 1");

   $js = JSON->new->allow_nonref(0)->utf8->shrink->encode ([$_[0]]);
   ok ($_[0] eq ((decode_json $js)->[0]), " - 2");
   $js = JSON->new->allow_nonref(1)->utf8->encode ([$_[0]]);
   ok ($_[0] eq (JSON->new->utf8->shrink->decode($js))->[0], " - 3");

   $js = JSON->new->allow_nonref(1)->ascii->encode ([$_[0]]);
   ok ($_[0] eq JSON->new->decode ($js)->[0], " - 4");
   $js = JSON->new->allow_nonref(0)->ascii->encode ([$_[0]]);
   ok ($_[0] eq JSON->new->shrink->decode ($js)->[0], " - 5");

   $js = JSON->new->allow_nonref(1)->shrink->encode ([$_[0]]);
   ok ($_[0] eq JSON->new->decode ($js)->[0], " - 6");
   $js = JSON->new->allow_nonref(0)->encode ([$_[0]]);
   ok ($_[0] eq JSON->new->shrink->decode ($js)->[0], " - 7");
}

srand 0; # doesn't help too much, but its at least more deterministic

for (1..768) {
   test join "", map chr ($_ & 255), 0..$_;
   test join "", map chr rand 255, 0..$_;
   test join "", map chr ($_ * 97 & ~0x4000), 0..$_;
   test join "", map chr (rand (2**20) & ~0x800), 0..$_;
}

© 2026 UnknownSec