Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
json /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
14.4
KB
-rw-r--r--
2021-03-01 21:41
__init__.pyc
13.62
KB
-rw-r--r--
2021-03-05 07:58
decoder.py
13.38
KB
-rw-r--r--
2021-03-01 21:41
decoder.pyc
11.66
KB
-rw-r--r--
2021-03-05 07:58
encoder.py
16
KB
-rw-r--r--
2021-03-01 21:41
encoder.pyc
13.36
KB
-rw-r--r--
2021-03-05 07:58
scanner.py
2.24
KB
-rw-r--r--
2021-03-01 21:41
scanner.pyc
2.17
KB
-rw-r--r--
2021-03-05 07:58
tool.py
997
B
-rw-r--r--
2021-03-01 21:41
tool.pyc
1.26
KB
-rw-r--r--
2021-03-05 07: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()