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 : treesync.py
#! /usr/bin/env python """Script to synchronize two source trees. Invoke with two arguments: python treesync.py slave master The assumption is that "master" contains CVS administration while slave doesn't. All files in the slave tree that have a CVS/Entries entry in the master tree are synchronized. This means: If the files differ: if the slave file is newer: normalize the slave file if the files still differ: copy the slave to the master else (the master is newer): copy the master to the slave normalizing the slave means replacing CRLF with LF when the master doesn't use CRLF """ import os, sys, stat, getopt # Interactivity options default_answer = "ask" create_files = "yes" create_directories = "no" write_slave = "ask" write_master = "ask" def main(): global always_no, always_yes global create_directories, write_master, write_slave opts, args = getopt.getopt(sys.argv[1:], "nym:s:d:f:a:") for o, a in opts: if o == '-y': default_answer = "yes" if o == '-n': default_answer = "no" if o == '-s': write_slave = a if o == '-m': write_master = a if o == '-d': create_directories = a if o == '-f': create_files = a if o == '-a': create_files = create_directories = write_slave = write_master = a try: [slave, master] = args except ValueError: print "usage: python", sys.argv[0] or "treesync.py", print "[-n] [-y] [-m y|n|a] [-s y|n|a] [-d y|n|a] [-f n|y|a]", print "slavedir masterdir" return process(slave, master) def process(slave, master): cvsdir = os.path.join(master, "CVS") if not os.path.isdir(cvsdir): print "skipping master subdirectory", master print "-- not under CVS" return print "-"*40 print "slave ", slave print "master", master if not os.path.isdir(slave): if not okay("create slave directory %s?" % slave, answer=create_directories): print "skipping master subdirectory", master print "-- no corresponding slave", slave return print "creating slave directory", slave try: os.mkdir(slave) except os.error, msg: print "can't make slave directory", slave, ":", msg return else: print "made slave directory", slave cvsdir = None subdirs = [] names = os.listdir(master) for name in names: mastername = os.path.join(master, name) slavename = os.path.join(slave, name) if name == "CVS": cvsdir = mastername else: if os.path.isdir(mastername) and not os.path.islink(mastername): subdirs.append((slavename, mastername)) if cvsdir: entries = os.path.join(cvsdir, "Entries") for e in open(entries).readlines(): words = e.split('/') if words[0] == '' and words[1:]: name = words[1] s = os.path.join(slave, name) m = os.path.join(master, name) compare(s, m) for (s, m) in subdirs: process(s, m) def compare(slave, master): try: sf = open(slave, 'r') except IOError: sf = None try: mf = open(master, 'rb') except IOError: mf = None if not sf: if not mf: print "Neither master nor slave exists", master return print "Creating missing slave", slave copy(master, slave, answer=create_files) return if not mf: print "Not updating missing master", master return if sf and mf: if identical(sf, mf): return sft = mtime(sf) mft = mtime(mf) if mft > sft: # Master is newer -- copy master to slave sf.close() mf.close() print "Master ", master print "is newer than slave", slave copy(master, slave, answer=write_slave) return # Slave is newer -- copy slave to master print "Slave is", sft-mft, "seconds newer than master" # But first check what to do about CRLF mf.seek(0) fun = funnychars(mf) mf.close() sf.close() if fun: print "***UPDATING MASTER (BINARY COPY)***" copy(slave, master, "rb", answer=write_master) else: print "***UPDATING MASTER***" copy(slave, master, "r", answer=write_master) BUFSIZE = 16*1024 def identical(sf, mf): while 1: sd = sf.read(BUFSIZE) md = mf.read(BUFSIZE) if sd != md: return 0 if not sd: break return 1 def mtime(f): st = os.fstat(f.fileno()) return st[stat.ST_MTIME] def funnychars(f): while 1: buf = f.read(BUFSIZE) if not buf: break if '\r' in buf or '\0' in buf: return 1 return 0 def copy(src, dst, rmode="rb", wmode="wb", answer='ask'): print "copying", src print " to", dst if not okay("okay to copy? ", answer): return f = open(src, rmode) g = open(dst, wmode) while 1: buf = f.read(BUFSIZE) if not buf: break g.write(buf) f.close() g.close() def okay(prompt, answer='ask'): answer = answer.strip().lower() if not answer or answer[0] not in 'ny': answer = raw_input(prompt) answer = answer.strip().lower() if not answer: answer = default_answer if answer[:1] == 'y': return 1 if answer[:1] == 'n': return 0 print "Yes or No please -- try again:" return okay(prompt) if __name__ == '__main__': main()
Close