403Webshell
Server IP : 185.125.27.153  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux d6e05399ed1f11695f7c56648ed78c66 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64
User : uid174255 ( 174255)
PHP Version : 8.3.31
Disable Function : exec,passthru,pcntl_exec,popen,proc_open,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/doc/libjson-parse-perl/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/libjson-parse-perl/examples/bad-utf8.pl
#!/usr/bin/perl
use warnings;
use strict;
no utf8;
use JSON::Parse 'assert_valid_json';

# Error in first byte:

my $bad_utf8_1 = chr (hex ("81"));
eval { assert_valid_json ("[\"$bad_utf8_1\"]"); };
print "$@\n";

# Error in third byte:

my $bad_utf8_2 = chr (hex ('e2')) . chr (hex ('9C')) . 'b';
eval { assert_valid_json ("[\"$bad_utf8_2\"]"); };
print "$@\n";

Youez - 2016 - github.com/yon3zu
LinuXploit