Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.222
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python36 /
lib64 /
python3.6 /
Tools /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
2to3
96
B
-rwxr-xr-x
2021-09-04 08:19
README
4.67
KB
-rw-r--r--
2021-09-04 08:19
abitype.py
5.45
KB
-rwxr-xr-x
2024-04-17 20:49
analyze_dxp.py
4.08
KB
-rw-r--r--
2024-04-17 20:49
byext.py
3.83
KB
-rwxr-xr-x
2024-04-17 20:49
byteyears.py
1.62
KB
-rwxr-xr-x
2024-04-17 20:49
checkpip.py
805
B
-rwxr-xr-x
2024-04-17 20:49
checkpyc.py
2.17
KB
-rwxr-xr-x
2024-04-17 20:49
cleanfuture.py
8.43
KB
-rwxr-xr-x
2024-04-17 20:49
combinerefs.py
4.33
KB
-rwxr-xr-x
2024-04-17 20:49
copytime.py
674
B
-rwxr-xr-x
2024-04-17 20:49
crlf.py
643
B
-rwxr-xr-x
2024-04-17 20:49
db2pickle.py
3.56
KB
-rwxr-xr-x
2024-04-17 20:49
diff.py
2.21
KB
-rwxr-xr-x
2024-04-17 20:49
dutree.doc
2.18
KB
-rw-r--r--
2021-09-04 08:19
dutree.py
1.58
KB
-rwxr-xr-x
2024-04-17 20:49
eptags.py
1.47
KB
-rwxr-xr-x
2024-04-17 20:49
find-uname.py
1.18
KB
-rwxr-xr-x
2024-04-17 20:49
find_recursionlimit.py
3.91
KB
-rwxr-xr-x
2024-04-17 20:49
finddiv.py
2.45
KB
-rwxr-xr-x
2024-04-17 20:49
findlinksto.py
1.06
KB
-rwxr-xr-x
2024-04-17 20:49
findnocoding.py
2.89
KB
-rwxr-xr-x
2024-04-17 20:49
fixcid.py
9.83
KB
-rwxr-xr-x
2024-04-17 20:49
fixdiv.py
13.57
KB
-rwxr-xr-x
2024-04-17 20:49
fixheader.py
1.19
KB
-rwxr-xr-x
2024-04-17 20:49
fixnotice.py
3
KB
-rwxr-xr-x
2024-04-17 20:49
fixps.py
911
B
-rwxr-xr-x
2024-04-17 20:49
generate_opcode_h.py
1.47
KB
-rw-r--r--
2024-04-17 20:49
get-remote-certificate.py
2.66
KB
-rwxr-xr-x
2024-04-17 20:49
google.py
533
B
-rwxr-xr-x
2024-04-17 20:49
gprof2html.py
2.19
KB
-rwxr-xr-x
2024-04-17 20:49
h2py.py
5.48
KB
-rwxr-xr-x
2024-04-17 20:49
highlight.py
8.96
KB
-rwxr-xr-x
2024-04-17 20:49
idle3
96
B
-rwxr-xr-x
2021-09-04 08:19
ifdef.py
3.64
KB
-rwxr-xr-x
2024-04-17 20:49
import_diagnostics.py
1011
B
-rwxr-xr-x
2024-04-17 20:49
lfcr.py
651
B
-rwxr-xr-x
2024-04-17 20:49
linktree.py
2.39
KB
-rwxr-xr-x
2024-04-17 20:49
lll.py
763
B
-rwxr-xr-x
2024-04-17 20:49
mailerdaemon.py
7.86
KB
-rwxr-xr-x
2024-04-17 20:49
make_ctype.py
2.24
KB
-rwxr-xr-x
2024-04-17 20:49
md5sum.py
2.46
KB
-rwxr-xr-x
2024-04-17 20:49
mkreal.py
1.6
KB
-rwxr-xr-x
2024-04-17 20:49
ndiff.py
3.74
KB
-rwxr-xr-x
2024-04-17 20:49
nm2def.py
2.41
KB
-rwxr-xr-x
2024-04-17 20:49
objgraph.py
5.85
KB
-rwxr-xr-x
2024-04-17 20:49
parse_html5_entities.py
3.92
KB
-rwxr-xr-x
2024-04-17 20:49
parseentities.py
1.67
KB
-rwxr-xr-x
2024-04-17 20:49
patchcheck.py
9.63
KB
-rwxr-xr-x
2024-04-17 20:49
pathfix.py
5.1
KB
-rwxr-xr-x
2024-04-17 20:49
pdeps.py
3.83
KB
-rwxr-xr-x
2024-04-17 20:49
pickle2db.py
3.94
KB
-rwxr-xr-x
2024-04-17 20:49
pindent.py
16.74
KB
-rwxr-xr-x
2024-04-17 20:49
ptags.py
1.21
KB
-rwxr-xr-x
2024-04-17 20:49
pydoc3
80
B
-rwxr-xr-x
2021-09-04 08:19
pysource.py
3.79
KB
-rwxr-xr-x
2024-04-17 20:49
pyvenv
437
B
-rwxr-xr-x
2021-09-04 08:19
reindent-rst.py
279
B
-rwxr-xr-x
2024-04-17 20:49
reindent.py
11.38
KB
-rwxr-xr-x
2024-04-17 20:49
rgrep.py
1.45
KB
-rwxr-xr-x
2024-04-17 20:49
run_tests.py
1.87
KB
-rw-r--r--
2024-04-17 20:49
serve.py
1.15
KB
-rwxr-xr-x
2024-04-17 20:49
suff.py
521
B
-rwxr-xr-x
2024-04-17 20:49
svneol.py
3.42
KB
-rwxr-xr-x
2024-04-17 20:49
texi2html.py
68.54
KB
-rwxr-xr-x
2024-04-17 20:49
treesync.py
5.83
KB
-rwxr-xr-x
2024-04-17 20:49
untabify.py
1.28
KB
-rwxr-xr-x
2024-04-17 20:49
update_file.py
762
B
-rw-r--r--
2024-04-17 20:49
which.py
1.61
KB
-rwxr-xr-x
2024-04-17 20:49
win_add2path.py
1.62
KB
-rw-r--r--
2024-04-17 20:49
Save
Rename
#! /opt/alt/python36/bin/python3.6 """ Utility for parsing HTML5 entity definitions available from: http://dev.w3.org/html5/spec/entities.json Written by Ezio Melotti and Iuliia Proskurnia. """ import os import sys import json from urllib.request import urlopen from html.entities import html5 entities_url = 'http://dev.w3.org/html5/spec/entities.json' def get_json(url): """Download the json file from the url and returns a decoded object.""" with urlopen(url) as f: data = f.read().decode('utf-8') return json.loads(data) def create_dict(entities): """Create the html5 dict from the decoded json object.""" new_html5 = {} for name, value in entities.items(): new_html5[name.lstrip('&')] = value['characters'] return new_html5 def compare_dicts(old, new): """Compare the old and new dicts and print the differences.""" added = new.keys() - old.keys() if added: print('{} entitie(s) have been added:'.format(len(added))) for name in sorted(added): print(' {!r}: {!r}'.format(name, new[name])) removed = old.keys() - new.keys() if removed: print('{} entitie(s) have been removed:'.format(len(removed))) for name in sorted(removed): print(' {!r}: {!r}'.format(name, old[name])) changed = set() for name in (old.keys() & new.keys()): if old[name] != new[name]: changed.add((name, old[name], new[name])) if changed: print('{} entitie(s) have been modified:'.format(len(changed))) for item in sorted(changed): print(' {!r}: {!r} -> {!r}'.format(*item)) def write_items(entities, file=sys.stdout): """Write the items of the dictionary in the specified file.""" # The keys in the generated dictionary should be sorted # in a case-insensitive way, however, when two keys are equal, # the uppercase version should come first so that the result # looks like: ['Aacute', 'aacute', 'Aacute;', 'aacute;', ...] # To do this we first sort in a case-sensitive way (so all the # uppercase chars come first) and then sort with key=str.lower. # Since the sorting is stable the uppercase keys will eventually # be before their equivalent lowercase version. keys = sorted(entities.keys()) keys = sorted(keys, key=str.lower) print('html5 = {', file=file) for name in keys: print(' {!r}: {!a},'.format(name, entities[name]), file=file) print('}', file=file) if __name__ == '__main__': # without args print a diff between html.entities.html5 and new_html5 # with --create print the new html5 dict # with --patch patch the Lib/html/entities.py file new_html5 = create_dict(get_json(entities_url)) if '--create' in sys.argv: print('# map the HTML5 named character references to the ' 'equivalent Unicode character(s)') print('# Generated by {}. Do not edit manually.'.format(__file__)) write_items(new_html5) elif '--patch' in sys.argv: fname = 'Lib/html/entities.py' temp_fname = fname + '.temp' with open(fname) as f1, open(temp_fname, 'w') as f2: skip = False for line in f1: if line.startswith('html5 = {'): write_items(new_html5, file=f2) skip = True continue if skip: # skip the old items until the } if line.startswith('}'): skip = False continue f2.write(line) os.remove(fname) os.rename(temp_fname, fname) else: if html5 == new_html5: print('The current dictionary is updated.') else: compare_dicts(html5, new_html5) print('Run "./python {0} --patch" to update Lib/html/entities.html ' 'or "./python {0} --create" to see the generated ' 'dictionary.'.format(__file__))