Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.138.191.28
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib64 /
python2.7 /
json /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
14.38
KB
-rw-r--r--
2024-04-10 04:58
__init__.pyc
13.6
KB
-rw-r--r--
2024-04-10 04:58
__init__.pyo
13.6
KB
-rw-r--r--
2024-04-10 04:58
decoder.py
13.38
KB
-rw-r--r--
2024-04-10 04:58
decoder.pyc
11.68
KB
-rw-r--r--
2024-04-10 04:58
decoder.pyo
11.68
KB
-rw-r--r--
2024-04-10 04:58
encoder.py
16.01
KB
-rw-r--r--
2024-04-10 04:58
encoder.pyc
13.4
KB
-rw-r--r--
2024-04-10 04:58
encoder.pyo
13.4
KB
-rw-r--r--
2024-04-10 04:58
scanner.py
2.24
KB
-rw-r--r--
2024-04-10 04:58
scanner.pyc
2.18
KB
-rw-r--r--
2024-04-10 04:58
scanner.pyo
2.18
KB
-rw-r--r--
2024-04-10 04:58
tool.py
997
B
-rw-r--r--
2024-04-10 04:58
tool.pyc
1.26
KB
-rw-r--r--
2024-04-10 04:58
tool.pyo
1.26
KB
-rw-r--r--
2024-04-10 04:58
Save
Rename
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()