Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib64 /
python2.7 /
Tools /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
analyze_dxp.py
4.11
KB
-rwxr-xr-x
2025-11-12 09:24
analyze_dxp.pyc
4.64
KB
-rw-r--r--
2025-11-12 09:25
analyze_dxp.pyo
4.64
KB
-rw-r--r--
2025-11-12 09:25
byext.py
3.85
KB
-rwxr-xr-x
2025-11-12 09:24
byext.pyc
4.42
KB
-rw-r--r--
2025-11-12 09:25
byext.pyo
4.42
KB
-rw-r--r--
2025-11-12 09:25
byteyears.py
1.6
KB
-rwxr-xr-x
2025-11-12 09:24
byteyears.pyc
1.37
KB
-rw-r--r--
2025-11-12 09:25
byteyears.pyo
1.37
KB
-rw-r--r--
2025-11-12 09:25
checkappend.py
4.55
KB
-rwxr-xr-x
2025-11-12 09:24
checkappend.pyc
4.77
KB
-rw-r--r--
2025-11-12 09:25
checkappend.pyo
4.77
KB
-rw-r--r--
2025-11-12 09:25
checkpyc.py
1.96
KB
-rwxr-xr-x
2025-11-12 09:24
checkpyc.pyc
1.93
KB
-rw-r--r--
2025-11-12 09:25
checkpyc.pyo
1.93
KB
-rw-r--r--
2025-11-12 09:25
classfix.py
5.81
KB
-rwxr-xr-x
2025-11-12 09:24
classfix.pyc
4.09
KB
-rw-r--r--
2025-11-12 09:25
classfix.pyo
4.09
KB
-rw-r--r--
2025-11-12 09:25
cleanfuture.py
8.38
KB
-rwxr-xr-x
2025-11-12 09:24
cleanfuture.pyc
7.22
KB
-rw-r--r--
2025-11-12 09:25
cleanfuture.pyo
7.19
KB
-rw-r--r--
2025-11-12 09:25
combinerefs.py
4.28
KB
-rwxr-xr-x
2025-11-12 09:24
combinerefs.pyc
4.16
KB
-rw-r--r--
2025-11-12 09:25
combinerefs.pyo
4.12
KB
-rw-r--r--
2025-11-12 09:25
copytime.py
664
B
-rwxr-xr-x
2025-11-12 09:24
copytime.pyc
937
B
-rw-r--r--
2025-11-12 09:25
copytime.pyo
937
B
-rw-r--r--
2025-11-12 09:25
crlf.py
611
B
-rwxr-xr-x
2025-11-12 09:24
crlf.pyc
855
B
-rw-r--r--
2025-11-12 09:25
crlf.pyo
855
B
-rw-r--r--
2025-11-12 09:25
cvsfiles.py
1.75
KB
-rwxr-xr-x
2025-11-12 09:24
cvsfiles.pyc
2.11
KB
-rw-r--r--
2025-11-12 09:25
cvsfiles.pyo
2.11
KB
-rw-r--r--
2025-11-12 09:25
db2pickle.py
3.49
KB
-rwxr-xr-x
2025-11-12 09:24
db2pickle.pyc
3.42
KB
-rw-r--r--
2025-11-12 09:25
db2pickle.pyo
3.42
KB
-rw-r--r--
2025-11-12 09:25
diff.py
1.98
KB
-rwxr-xr-x
2025-11-12 09:24
diff.pyc
2.29
KB
-rw-r--r--
2025-11-12 09:25
diff.pyo
2.29
KB
-rw-r--r--
2025-11-12 09:25
dutree.py
1.58
KB
-rwxr-xr-x
2025-11-12 09:24
dutree.pyc
2.18
KB
-rw-r--r--
2025-11-12 09:25
dutree.pyo
2.18
KB
-rw-r--r--
2025-11-12 09:25
eptags.py
1.45
KB
-rwxr-xr-x
2025-11-12 09:24
eptags.pyc
1.83
KB
-rw-r--r--
2025-11-12 09:25
eptags.pyo
1.83
KB
-rw-r--r--
2025-11-12 09:25
find_recursionlimit.py
3.39
KB
-rwxr-xr-x
2025-11-12 09:24
find_recursionlimit.pyc
5.54
KB
-rw-r--r--
2025-11-12 09:25
find_recursionlimit.pyo
5.54
KB
-rw-r--r--
2025-11-12 09:25
finddiv.py
2.46
KB
-rwxr-xr-x
2025-11-12 09:24
finddiv.pyc
3.22
KB
-rw-r--r--
2025-11-12 09:25
finddiv.pyo
3.22
KB
-rw-r--r--
2025-11-12 09:25
findlinksto.py
1.04
KB
-rwxr-xr-x
2025-11-12 09:24
findlinksto.pyc
1.39
KB
-rw-r--r--
2025-11-12 09:25
findlinksto.pyo
1.39
KB
-rw-r--r--
2025-11-12 09:25
findnocoding.py
2.64
KB
-rwxr-xr-x
2025-11-12 09:24
findnocoding.pyc
3.03
KB
-rw-r--r--
2025-11-12 09:25
findnocoding.pyo
3.03
KB
-rw-r--r--
2025-11-12 09:25
fixcid.py
9.75
KB
-rwxr-xr-x
2025-11-12 09:24
fixcid.pyc
7.67
KB
-rw-r--r--
2025-11-12 09:25
fixcid.pyo
7.67
KB
-rw-r--r--
2025-11-12 09:25
fixdiv.py
13.57
KB
-rwxr-xr-x
2025-11-12 09:24
fixdiv.pyc
13.7
KB
-rw-r--r--
2025-11-12 09:25
fixdiv.pyo
13.62
KB
-rw-r--r--
2025-11-12 09:25
fixheader.py
1.16
KB
-rwxr-xr-x
2025-11-12 09:24
fixheader.pyc
1.44
KB
-rw-r--r--
2025-11-12 09:25
fixheader.pyo
1.44
KB
-rw-r--r--
2025-11-12 09:25
fixnotice.py
2.98
KB
-rwxr-xr-x
2025-11-12 09:24
fixnotice.pyc
3.42
KB
-rw-r--r--
2025-11-12 09:25
fixnotice.pyo
3.42
KB
-rw-r--r--
2025-11-12 09:25
fixps.py
894
B
-rwxr-xr-x
2025-11-12 09:24
fixps.pyc
969
B
-rw-r--r--
2025-11-12 09:25
fixps.pyo
969
B
-rw-r--r--
2025-11-12 09:25
ftpmirror.py
12.55
KB
-rwxr-xr-x
2025-11-12 09:24
ftpmirror.pyc
10.81
KB
-rw-r--r--
2025-11-12 09:25
ftpmirror.pyo
10.81
KB
-rw-r--r--
2025-11-12 09:25
google.py
520
B
-rwxr-xr-x
2025-11-12 09:24
google.pyc
792
B
-rw-r--r--
2025-11-12 09:25
google.pyo
792
B
-rw-r--r--
2025-11-12 09:25
gprof2html.py
2.12
KB
-rwxr-xr-x
2025-11-12 09:24
gprof2html.pyc
2.22
KB
-rw-r--r--
2025-11-12 09:25
gprof2html.pyo
2.22
KB
-rw-r--r--
2025-11-12 09:25
h2py.py
5.82
KB
-rwxr-xr-x
2025-11-12 09:24
h2py.pyc
4.3
KB
-rw-r--r--
2025-11-12 09:25
h2py.pyo
4.3
KB
-rw-r--r--
2025-11-12 09:25
hotshotmain.py
1.45
KB
-rwxr-xr-x
2025-11-12 09:24
hotshotmain.pyc
1.82
KB
-rw-r--r--
2025-11-12 09:25
hotshotmain.pyo
1.82
KB
-rw-r--r--
2025-11-12 09:25
ifdef.py
3.63
KB
-rwxr-xr-x
2025-11-12 09:24
ifdef.pyc
2.21
KB
-rw-r--r--
2025-11-12 09:25
ifdef.pyo
2.21
KB
-rw-r--r--
2025-11-12 09:25
lfcr.py
619
B
-rwxr-xr-x
2025-11-12 09:24
lfcr.pyc
880
B
-rw-r--r--
2025-11-12 09:25
lfcr.pyo
880
B
-rw-r--r--
2025-11-12 09:25
linktree.py
2.37
KB
-rwxr-xr-x
2025-11-12 09:24
linktree.pyc
1.98
KB
-rw-r--r--
2025-11-12 09:25
linktree.pyo
1.98
KB
-rw-r--r--
2025-11-12 09:25
lll.py
747
B
-rwxr-xr-x
2025-11-12 09:24
lll.pyc
947
B
-rw-r--r--
2025-11-12 09:25
lll.pyo
947
B
-rw-r--r--
2025-11-12 09:25
logmerge.py
5.45
KB
-rwxr-xr-x
2025-11-12 09:24
logmerge.pyc
4.96
KB
-rw-r--r--
2025-11-12 09:25
logmerge.pyo
4.96
KB
-rw-r--r--
2025-11-12 09:25
mailerdaemon.py
7.76
KB
-rwxr-xr-x
2025-11-12 09:24
mailerdaemon.pyc
7.19
KB
-rw-r--r--
2025-11-12 09:25
mailerdaemon.pyo
7.19
KB
-rw-r--r--
2025-11-12 09:25
md5sum.py
2.33
KB
-rwxr-xr-x
2025-11-12 09:24
md5sum.pyc
2.85
KB
-rw-r--r--
2025-11-12 09:25
md5sum.pyo
2.85
KB
-rw-r--r--
2025-11-12 09:25
methfix.py
5.33
KB
-rwxr-xr-x
2025-11-12 09:24
methfix.pyc
4.03
KB
-rw-r--r--
2025-11-12 09:25
methfix.pyo
4.03
KB
-rw-r--r--
2025-11-12 09:25
mkreal.py
1.59
KB
-rwxr-xr-x
2025-11-12 09:24
mkreal.pyc
1.93
KB
-rw-r--r--
2025-11-12 09:25
mkreal.pyo
1.93
KB
-rw-r--r--
2025-11-12 09:25
ndiff.py
3.72
KB
-rwxr-xr-x
2025-11-12 09:24
ndiff.pyc
3.77
KB
-rw-r--r--
2025-11-12 09:25
ndiff.pyo
3.77
KB
-rw-r--r--
2025-11-12 09:25
nm2def.py
2.39
KB
-rwxr-xr-x
2025-11-12 09:24
nm2def.pyc
2.89
KB
-rw-r--r--
2025-11-12 09:25
nm2def.pyo
2.89
KB
-rw-r--r--
2025-11-12 09:25
objgraph.py
5.88
KB
-rwxr-xr-x
2025-11-12 09:24
objgraph.pyc
4.82
KB
-rw-r--r--
2025-11-12 09:25
objgraph.pyo
4.82
KB
-rw-r--r--
2025-11-12 09:25
parseentities.py
1.68
KB
-rwxr-xr-x
2025-11-12 09:24
parseentities.pyc
2.03
KB
-rw-r--r--
2025-11-12 09:25
parseentities.pyo
2.03
KB
-rw-r--r--
2025-11-12 09:25
patchcheck.py
5.42
KB
-rwxr-xr-x
2025-11-12 09:24
patchcheck.pyc
7.24
KB
-rw-r--r--
2025-11-12 09:25
patchcheck.pyo
7.24
KB
-rw-r--r--
2025-11-12 09:25
pathfix.py
4.23
KB
-rwxr-xr-x
2025-11-12 09:24
pathfix.pyc
3.75
KB
-rw-r--r--
2025-11-12 09:25
pathfix.pyo
3.75
KB
-rw-r--r--
2025-11-12 09:25
pdeps.py
3.84
KB
-rwxr-xr-x
2025-11-12 09:24
pdeps.pyc
3.14
KB
-rw-r--r--
2025-11-12 09:25
pdeps.pyo
3.14
KB
-rw-r--r--
2025-11-12 09:25
pickle2db.py
3.85
KB
-rwxr-xr-x
2025-11-12 09:24
pickle2db.pyc
3.73
KB
-rw-r--r--
2025-11-12 09:25
pickle2db.pyo
3.73
KB
-rw-r--r--
2025-11-12 09:25
pindent.py
16.77
KB
-rwxr-xr-x
2025-11-12 09:24
pindent.pyc
11.3
KB
-rw-r--r--
2025-11-12 09:25
pindent.pyo
11.3
KB
-rw-r--r--
2025-11-12 09:25
ptags.py
1.2
KB
-rwxr-xr-x
2025-11-12 09:24
ptags.pyc
1.37
KB
-rw-r--r--
2025-11-12 09:25
ptags.pyo
1.37
KB
-rw-r--r--
2025-11-12 09:25
pysource.py
3.76
KB
-rwxr-xr-x
2025-11-12 09:24
pysource.pyc
3.92
KB
-rw-r--r--
2025-11-12 09:25
pysource.pyo
3.92
KB
-rw-r--r--
2025-11-12 09:25
redemo.py
5.66
KB
-rwxr-xr-x
2025-11-12 09:24
redemo.pyc
5.16
KB
-rw-r--r--
2025-11-12 09:25
redemo.pyo
5.16
KB
-rw-r--r--
2025-11-12 09:25
reindent-rst.py
278
B
-rwxr-xr-x
2025-11-12 09:24
reindent-rst.pyc
481
B
-rw-r--r--
2025-11-12 09:25
reindent-rst.pyo
481
B
-rw-r--r--
2025-11-12 09:25
reindent.py
10.58
KB
-rwxr-xr-x
2025-11-12 09:24
reindent.pyc
8.77
KB
-rw-r--r--
2025-11-12 09:25
reindent.pyo
8.74
KB
-rw-r--r--
2025-11-12 09:25
rgrep.py
1.46
KB
-rwxr-xr-x
2025-11-12 09:24
rgrep.pyc
1.84
KB
-rw-r--r--
2025-11-12 09:25
rgrep.pyo
1.84
KB
-rw-r--r--
2025-11-12 09:25
serve.py
1.12
KB
-rwxr-xr-x
2025-11-12 09:24
serve.pyc
1.56
KB
-rw-r--r--
2025-11-12 09:25
serve.pyo
1.56
KB
-rw-r--r--
2025-11-12 09:25
setup.py
421
B
-rwxr-xr-x
2025-11-12 09:24
setup.pyc
548
B
-rw-r--r--
2025-11-12 09:25
setup.pyo
548
B
-rw-r--r--
2025-11-12 09:25
suff.py
622
B
-rwxr-xr-x
2025-11-12 09:24
suff.pyc
904
B
-rw-r--r--
2025-11-12 09:25
suff.pyo
904
B
-rw-r--r--
2025-11-12 09:25
svneol.py
2.86
KB
-rwxr-xr-x
2025-11-12 09:24
svneol.pyc
2.83
KB
-rw-r--r--
2025-11-12 09:25
svneol.pyo
2.76
KB
-rw-r--r--
2025-11-12 09:25
texcheck.py
9.04
KB
-rwxr-xr-x
2025-11-12 09:24
texcheck.pyc
8.18
KB
-rw-r--r--
2025-11-12 09:25
texcheck.pyo
8.18
KB
-rw-r--r--
2025-11-12 09:25
texi2html.py
68.19
KB
-rwxr-xr-x
2025-11-12 09:24
texi2html.pyc
81.37
KB
-rw-r--r--
2025-11-12 09:25
texi2html.pyo
81.37
KB
-rw-r--r--
2025-11-12 09:25
treesync.py
5.65
KB
-rwxr-xr-x
2025-11-12 09:24
treesync.pyc
5.85
KB
-rw-r--r--
2025-11-12 09:25
treesync.pyo
5.85
KB
-rw-r--r--
2025-11-12 09:25
untabify.py
1.19
KB
-rwxr-xr-x
2025-11-12 09:24
untabify.pyc
1.55
KB
-rw-r--r--
2025-11-12 09:25
untabify.pyo
1.55
KB
-rw-r--r--
2025-11-12 09:25
which.py
1.59
KB
-rwxr-xr-x
2025-11-12 09:24
which.pyc
1.59
KB
-rw-r--r--
2025-11-12 09:25
which.pyo
1.59
KB
-rw-r--r--
2025-11-12 09:25
win_add2path.py
1.58
KB
-rwxr-xr-x
2025-11-12 09:24
win_add2path.pyc
2.02
KB
-rw-r--r--
2025-11-12 09:25
win_add2path.pyo
2.02
KB
-rw-r--r--
2025-11-12 09:25
xxci.py
2.73
KB
-rwxr-xr-x
2025-11-12 09:24
xxci.pyc
3.93
KB
-rw-r--r--
2025-11-12 09:25
xxci.pyo
3.93
KB
-rw-r--r--
2025-11-12 09:25
Save
Rename
#! /usr/bin/env python import re import sys import shutil import os.path import subprocess import sysconfig import reindent import untabify SRCDIR = sysconfig.get_config_var('srcdir') def n_files_str(count): """Return 'N file(s)' with the proper plurality on 'file'.""" return "{} file{}".format(count, "s" if count != 1 else "") def status(message, modal=False, info=None): """Decorator to output status info to stdout.""" def decorated_fxn(fxn): def call_fxn(*args, **kwargs): sys.stdout.write(message + ' ... ') sys.stdout.flush() result = fxn(*args, **kwargs) if not modal and not info: print "done" elif info: print info(result) else: print "yes" if result else "NO" return result return call_fxn return decorated_fxn def mq_patches_applied(): """Check if there are any applied MQ patches.""" cmd = 'hg qapplied' st = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE) try: bstdout, _ = st.communicate() return st.returncode == 0 and bstdout finally: st.stdout.close() st.stderr.close() @status("Getting the list of files that have been added/changed", info=lambda x: n_files_str(len(x))) def changed_files(): """Get the list of changed or added files from the VCS.""" if os.path.isdir(os.path.join(SRCDIR, '.hg')): vcs = 'hg' cmd = 'hg status --added --modified --no-status' if mq_patches_applied(): cmd += ' --rev qparent' elif os.path.isdir('.svn'): vcs = 'svn' cmd = 'svn status --quiet --non-interactive --ignore-externals' else: sys.exit('need a checkout to get modified files') st = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE) try: st.wait() if vcs == 'hg': return [x.decode().rstrip() for x in st.stdout] else: output = (x.decode().rstrip().rsplit(None, 1)[-1] for x in st.stdout if x[0] in 'AM') return set(path for path in output if os.path.isfile(path)) finally: st.stdout.close() def report_modified_files(file_paths): count = len(file_paths) if count == 0: return n_files_str(count) else: lines = ["{}:".format(n_files_str(count))] for path in file_paths: lines.append(" {}".format(path)) return "\n".join(lines) @status("Fixing whitespace", info=report_modified_files) def normalize_whitespace(file_paths): """Make sure that the whitespace for .py files have been normalized.""" reindent.makebackup = False # No need to create backups. fixed = [] for path in (x for x in file_paths if x.endswith('.py')): if reindent.check(os.path.join(SRCDIR, path)): fixed.append(path) return fixed @status("Fixing C file whitespace", info=report_modified_files) def normalize_c_whitespace(file_paths): """Report if any C files """ fixed = [] for path in file_paths: abspath = os.path.join(SRCDIR, path) with open(abspath, 'r') as f: if '\t' not in f.read(): continue untabify.process(abspath, 8, verbose=False) fixed.append(path) return fixed ws_re = re.compile(br'\s+(\r?\n)$') @status("Fixing docs whitespace", info=report_modified_files) def normalize_docs_whitespace(file_paths): fixed = [] for path in file_paths: abspath = os.path.join(SRCDIR, path) try: with open(abspath, 'rb') as f: lines = f.readlines() new_lines = [ws_re.sub(br'\1', line) for line in lines] if new_lines != lines: shutil.copyfile(abspath, abspath + '.bak') with open(abspath, 'wb') as f: f.writelines(new_lines) fixed.append(path) except Exception as err: print 'Cannot fix %s: %s' % (path, err) return fixed @status("Docs modified", modal=True) def docs_modified(file_paths): """Report if any file in the Doc directory has been changed.""" return bool(file_paths) @status("Misc/ACKS updated", modal=True) def credit_given(file_paths): """Check if Misc/ACKS has been changed.""" return 'Misc/ACKS' in file_paths @status("Misc/NEWS updated", modal=True) def reported_news(file_paths): """Check if Misc/NEWS has been changed.""" return 'Misc/NEWS' in file_paths def main(): file_paths = changed_files() python_files = [fn for fn in file_paths if fn.endswith('.py')] c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))] doc_files = [fn for fn in file_paths if fn.startswith('Doc')] special_files = {'Misc/ACKS', 'Misc/NEWS'} & set(file_paths) # PEP 8 whitespace rules enforcement. normalize_whitespace(python_files) # C rules enforcement. normalize_c_whitespace(c_files) # Doc whitespace enforcement. normalize_docs_whitespace(doc_files) # Docs updated. docs_modified(doc_files) # Misc/ACKS changed. credit_given(special_files) # Misc/NEWS changed. reported_news(special_files) # Test suite run and passed. if python_files or c_files: end = " and check for refleaks?" if c_files else "?" print print "Did you run the test suite" + end if __name__ == '__main__': main()