golden hour
/lib64/python2.7
⬆️ Go Up
Upload
File/Folder
Size
Actions
BaseHTTPServer.py
21.93 KB
Del
OK
BaseHTTPServer.pyc
21.18 KB
Del
OK
BaseHTTPServer.pyo
21.18 KB
Del
OK
Bastion.py
5.61 KB
Del
OK
Bastion.pyc
6.5 KB
Del
OK
Bastion.pyo
6.5 KB
Del
OK
CGIHTTPServer.py
12.84 KB
Del
OK
CGIHTTPServer.pyc
10.84 KB
Del
OK
CGIHTTPServer.pyo
10.84 KB
Del
OK
ConfigParser.py
27.1 KB
Del
OK
ConfigParser.pyc
24.62 KB
Del
OK
ConfigParser.pyo
24.62 KB
Del
OK
Cookie.py
24.66 KB
Del
OK
Cookie.pyc
21.64 KB
Del
OK
Cookie.pyo
21.64 KB
Del
OK
Demo
-
Del
OK
Doc
-
Del
OK
DocXMLRPCServer.py
10.52 KB
Del
OK
DocXMLRPCServer.pyc
9.96 KB
Del
OK
DocXMLRPCServer.pyo
9.85 KB
Del
OK
HTMLParser.py
16.58 KB
Del
OK
HTMLParser.pyc
13.39 KB
Del
OK
HTMLParser.pyo
13.1 KB
Del
OK
MimeWriter.py
6.33 KB
Del
OK
MimeWriter.pyc
7.19 KB
Del
OK
MimeWriter.pyo
7.19 KB
Del
OK
Queue.py
8.36 KB
Del
OK
Queue.pyc
9.19 KB
Del
OK
Queue.pyo
9.19 KB
Del
OK
SimpleHTTPServer.py
7.25 KB
Del
OK
SimpleHTTPServer.pyc
7.55 KB
Del
OK
SimpleHTTPServer.pyo
7.55 KB
Del
OK
SimpleXMLRPCServer.py
25.17 KB
Del
OK
SimpleXMLRPCServer.pyc
22.31 KB
Del
OK
SimpleXMLRPCServer.pyo
22.31 KB
Del
OK
SocketServer.py
23.29 KB
Del
OK
SocketServer.pyc
23.49 KB
Del
OK
SocketServer.pyo
23.49 KB
Del
OK
StringIO.py
10.41 KB
Del
OK
StringIO.pyc
11.21 KB
Del
OK
StringIO.pyo
11.21 KB
Del
OK
Tools
-
Del
OK
UserDict.py
5.67 KB
Del
OK
UserDict.pyc
8.61 KB
Del
OK
UserDict.pyo
8.61 KB
Del
OK
UserList.py
3.56 KB
Del
OK
UserList.pyc
6.42 KB
Del
OK
UserList.pyo
6.42 KB
Del
OK
UserString.py
9.46 KB
Del
OK
UserString.pyc
14.52 KB
Del
OK
UserString.pyo
14.52 KB
Del
OK
_LWPCookieJar.py
6.4 KB
Del
OK
_LWPCookieJar.pyc
5.4 KB
Del
OK
_LWPCookieJar.pyo
5.4 KB
Del
OK
_MozillaCookieJar.py
5.67 KB
Del
OK
_MozillaCookieJar.pyc
4.37 KB
Del
OK
_MozillaCookieJar.pyo
4.33 KB
Del
OK
__future__.py
4.28 KB
Del
OK
__future__.pyc
4.13 KB
Del
OK
__future__.pyo
4.13 KB
Del
OK
__phello__.foo.py
64 B
Del
OK
__phello__.foo.pyc
125 B
Del
OK
__phello__.foo.pyo
125 B
Del
OK
_abcoll.py
17.45 KB
Del
OK
_abcoll.pyc
24.4 KB
Del
OK
_abcoll.pyo
24.4 KB
Del
OK
_osx_support.py
18.03 KB
Del
OK
_osx_support.pyc
11.28 KB
Del
OK
_osx_support.pyo
11.28 KB
Del
OK
_pyio.py
67.24 KB
Del
OK
_pyio.pyc
62.71 KB
Del
OK
_pyio.pyo
62.71 KB
Del
OK
_strptime.py
19.75 KB
Del
OK
_strptime.pyc
14.53 KB
Del
OK
_strptime.pyo
14.53 KB
Del
OK
_sysconfigdata.py
17.56 KB
Del
OK
_sysconfigdata.pyc
20.72 KB
Del
OK
_sysconfigdata.pyo
20.72 KB
Del
OK
_threading_local.py
7.28 KB
Del
OK
_threading_local.pyc
6.45 KB
Del
OK
_threading_local.pyo
6.45 KB
Del
OK
_weakrefset.py
5.48 KB
Del
OK
_weakrefset.pyc
9.25 KB
Del
OK
_weakrefset.pyo
9.25 KB
Del
OK
abc.py
6.98 KB
Del
OK
abc.pyc
6 KB
Del
OK
abc.pyo
5.94 KB
Del
OK
aifc.py
32.94 KB
Del
OK
aifc.pyc
29.31 KB
Del
OK
aifc.pyo
29.31 KB
Del
OK
antigravity.py
60 B
Del
OK
antigravity.pyc
203 B
Del
OK
antigravity.pyo
203 B
Del
OK
anydbm.py
2.6 KB
Del
OK
anydbm.pyc
2.73 KB
Del
OK
anydbm.pyo
2.73 KB
Del
OK
argparse.py
86.46 KB
Del
OK
argparse.pyc
62.57 KB
Del
OK
argparse.pyo
62.41 KB
Del
OK
ast.py
11.53 KB
Del
OK
ast.pyc
12.65 KB
Del
OK
ast.pyo
12.65 KB
Del
OK
asynchat.py
11.13 KB
Del
OK
asynchat.pyc
8.44 KB
Del
OK
asynchat.pyo
8.44 KB
Del
OK
asyncore.py
20.36 KB
Del
OK
asyncore.pyc
18.4 KB
Del
OK
asyncore.pyo
18.4 KB
Del
OK
atexit.py
1.67 KB
Del
OK
atexit.pyc
2.15 KB
Del
OK
atexit.pyo
2.15 KB
Del
OK
audiodev.py
7.42 KB
Del
OK
audiodev.pyc
8.27 KB
Del
OK
audiodev.pyo
8.27 KB
Del
OK
base64.py
11.09 KB
Del
OK
base64.pyc
10.63 KB
Del
OK
base64.pyo
10.63 KB
Del
OK
bdb.py
21.21 KB
Del
OK
bdb.pyc
18.65 KB
Del
OK
bdb.pyo
18.65 KB
Del
OK
binhex.py
14.14 KB
Del
OK
binhex.pyc
15.04 KB
Del
OK
binhex.pyo
15.04 KB
Del
OK
bisect.py
2.53 KB
Del
OK
bisect.pyc
3 KB
Del
OK
bisect.pyo
3 KB
Del
OK
bsddb
-
Del
OK
cProfile.py
6.43 KB
Del
OK
cProfile.pyc
6.25 KB
Del
OK
cProfile.pyo
6.25 KB
Del
OK
calendar.py
22.76 KB
Del
OK
calendar.pyc
27.13 KB
Del
OK
calendar.pyo
27.13 KB
Del
OK
cgi.py
34.31 KB
Del
OK
cgi.pyc
31.99 KB
Del
OK
cgi.pyo
31.99 KB
Del
OK
cgitb.py
11.89 KB
Del
OK
cgitb.pyc
11.9 KB
Del
OK
cgitb.pyo
11.9 KB
Del
OK
chunk.py
5.25 KB
Del
OK
chunk.pyc
5.46 KB
Del
OK
chunk.pyo
5.46 KB
Del
OK
cmd.py
14.67 KB
Del
OK
cmd.pyc
13.71 KB
Del
OK
cmd.pyo
13.71 KB
Del
OK
code.py
9.95 KB
Del
OK
code.pyc
10.09 KB
Del
OK
code.pyo
10.09 KB
Del
OK
codecs.py
34.44 KB
Del
OK
codecs.pyc
35.74 KB
Del
OK
codecs.pyo
35.74 KB
Del
OK
codeop.py
5.86 KB
Del
OK
codeop.pyc
6.44 KB
Del
OK
codeop.pyo
6.44 KB
Del
OK
collections.py
25.28 KB
Del
OK
collections.pyc
23.99 KB
Del
OK
collections.pyo
23.94 KB
Del
OK
colorsys.py
3.6 KB
Del
OK
colorsys.pyc
3.9 KB
Del
OK
colorsys.pyo
3.9 KB
Del
OK
commands.py
2.49 KB
Del
OK
commands.pyc
2.41 KB
Del
OK
commands.pyo
2.41 KB
Del
OK
compileall.py
7.58 KB
Del
OK
compileall.pyc
6.85 KB
Del
OK
compileall.pyo
6.85 KB
Del
OK
compiler
-
Del
OK
config
-
Del
OK
contextlib.py
4.32 KB
Del
OK
contextlib.pyc
4.35 KB
Del
OK
contextlib.pyo
4.35 KB
Del
OK
cookielib.py
63.21 KB
Del
OK
cookielib.pyc
53.55 KB
Del
OK
cookielib.pyo
53.37 KB
Del
OK
copy.py
11.25 KB
Del
OK
copy.pyc
11.91 KB
Del
OK
copy.pyo
11.82 KB
Del
OK
copy_reg.py
6.64 KB
Del
OK
copy_reg.pyc
4.99 KB
Del
OK
copy_reg.pyo
4.95 KB
Del
OK
crypt.py
2.24 KB
Del
OK
crypt.pyc
2.89 KB
Del
OK
crypt.pyo
2.89 KB
Del
OK
csv.py
15.96 KB
Del
OK
csv.pyc
13.14 KB
Del
OK
csv.pyo
13.14 KB
Del
OK
ctypes
-
Del
OK
curses
-
Del
OK
dbhash.py
498 B
Del
OK
dbhash.pyc
718 B
Del
OK
dbhash.pyo
718 B
Del
OK
decimal.py
215.84 KB
Del
OK
decimal.pyc
167.33 KB
Del
OK
decimal.pyo
167.33 KB
Del
OK
difflib.py
80.42 KB
Del
OK
difflib.pyc
60.5 KB
Del
OK
difflib.pyo
60.45 KB
Del
OK
dircache.py
1.1 KB
Del
OK
dircache.pyc
1.54 KB
Del
OK
dircache.pyo
1.54 KB
Del
OK
dis.py
6.35 KB
Del
OK
dis.pyc
6.08 KB
Del
OK
dis.pyo
6.08 KB
Del
OK
distutils
-
Del
OK
doctest.py
102.01 KB
Del
OK
doctest.pyc
81.45 KB
Del
OK
doctest.pyo
81.17 KB
Del
OK
dumbdbm.py
8.61 KB
Del
OK
dumbdbm.pyc
6.41 KB
Del
OK
dumbdbm.pyo
6.41 KB
Del
OK
dummy_thread.py
4.31 KB
Del
OK
dummy_thread.pyc
5.27 KB
Del
OK
dummy_thread.pyo
5.27 KB
Del
OK
dummy_threading.py
2.74 KB
Del
OK
dummy_threading.pyc
1.25 KB
Del
OK
dummy_threading.pyo
1.25 KB
Del
OK
email
-
Del
OK
encodings
-
Del
OK
filecmp.py
9.36 KB
Del
OK
filecmp.pyc
9.4 KB
Del
OK
filecmp.pyo
9.4 KB
Del
OK
fileinput.py
13.81 KB
Del
OK
fileinput.pyc
14.48 KB
Del
OK
fileinput.pyo
14.48 KB
Del
OK
fnmatch.py
3.16 KB
Del
OK
fnmatch.pyc
3.45 KB
Del
OK
fnmatch.pyo
3.45 KB
Del
OK
formatter.py
14.56 KB
Del
OK
formatter.pyc
18.73 KB
Del
OK
formatter.pyo
18.73 KB
Del
OK
fpformat.py
4.59 KB
Del
OK
fpformat.pyc
4.56 KB
Del
OK
fpformat.pyo
4.56 KB
Del
OK
fractions.py
21.87 KB
Del
OK
fractions.pyc
19.27 KB
Del
OK
fractions.pyo
19.27 KB
Del
OK
ftplib.py
36.1 KB
Del
OK
ftplib.pyc
33.38 KB
Del
OK
ftplib.pyo
33.38 KB
Del
OK
functools.py
4.37 KB
Del
OK
functools.pyc
5.95 KB
Del
OK
functools.pyo
5.95 KB
Del
OK
genericpath.py
2.94 KB
Del
OK
genericpath.pyc
3.19 KB
Del
OK
genericpath.pyo
3.19 KB
Del
OK
getopt.py
7.15 KB
Del
OK
getopt.pyc
6.5 KB
Del
OK
getopt.pyo
6.45 KB
Del
OK
getpass.py
5.43 KB
Del
OK
getpass.pyc
4.63 KB
Del
OK
getpass.pyo
4.63 KB
Del
OK
gettext.py
19.47 KB
Del
OK
gettext.pyc
15.19 KB
Del
OK
gettext.pyo
15.19 KB
Del
OK
glob.py
2.86 KB
Del
OK
glob.pyc
2.83 KB
Del
OK
glob.pyo
2.83 KB
Del
OK
gzip.py
18.26 KB
Del
OK
gzip.pyc
14.72 KB
Del
OK
gzip.pyo
14.72 KB
Del
OK
hashlib.py
7.48 KB
Del
OK
hashlib.pyc
6.74 KB
Del
OK
hashlib.pyo
6.74 KB
Del
OK
heapq.py
17.76 KB
Del
OK
heapq.pyc
14.13 KB
Del
OK
heapq.pyo
14.13 KB
Del
OK
hmac.py
4.48 KB
Del
OK
hmac.pyc
4.44 KB
Del
OK
hmac.pyo
4.44 KB
Del
OK
hotshot
-
Del
OK
htmlentitydefs.py
17.63 KB
Del
OK
htmlentitydefs.pyc
6.22 KB
Del
OK
htmlentitydefs.pyo
6.22 KB
Del
OK
htmllib.py
12.57 KB
Del
OK
htmllib.pyc
19.83 KB
Del
OK
htmllib.pyo
19.83 KB
Del
OK
httplib.py
51.37 KB
Del
OK
httplib.pyc
37.54 KB
Del
OK
httplib.pyo
37.37 KB
Del
OK
idlelib
-
Del
OK
ihooks.py
18.54 KB
Del
OK
ihooks.pyc
20.87 KB
Del
OK
ihooks.pyo
20.87 KB
Del
OK
imaplib.py
47.34 KB
Del
OK
imaplib.pyc
44.45 KB
Del
OK
imaplib.pyo
41.8 KB
Del
OK
imghdr.py
3.46 KB
Del
OK
imghdr.pyc
4.73 KB
Del
OK
imghdr.pyo
4.73 KB
Del
OK
importlib
-
Del
OK
imputil.py
25.16 KB
Del
OK
imputil.pyc
15.26 KB
Del
OK
imputil.pyo
15.08 KB
Del
OK
inspect.py
41.47 KB
Del
OK
inspect.pyc
39.04 KB
Del
OK
inspect.pyo
39.04 KB
Del
OK
io.py
3.12 KB
Del
OK
io.pyc
3.4 KB
Del
OK
io.pyo
3.4 KB
Del
OK
json
-
Del
OK
keyword.py
1.95 KB
Del
OK
keyword.pyc
2.06 KB
Del
OK
keyword.pyo
2.06 KB
Del
OK
lib-dynload
-
Del
OK
lib-tk
-
Del
OK
lib2to3
-
Del
OK
linecache.py
3.87 KB
Del
OK
linecache.pyc
3.14 KB
Del
OK
linecache.pyo
3.14 KB
Del
OK
locale.py
87.33 KB
Del
OK
locale.pyc
48.77 KB
Del
OK
locale.pyo
48.77 KB
Del
OK
logging
-
Del
OK
macpath.py
6.11 KB
Del
OK
macpath.pyc
7.47 KB
Del
OK
macpath.pyo
7.47 KB
Del
OK
macurl2path.py
3.2 KB
Del
OK
macurl2path.pyc
2.71 KB
Del
OK
macurl2path.pyo
2.71 KB
Del
OK
mailbox.py
78.86 KB
Del
OK
mailbox.pyc
74.87 KB
Del
OK
mailbox.pyo
74.82 KB
Del
OK
mailcap.py
8.2 KB
Del
OK
mailcap.pyc
7.77 KB
Del
OK
mailcap.pyo
7.77 KB
Del
OK
markupbase.py
14.3 KB
Del
OK
markupbase.pyc
9.08 KB
Del
OK
markupbase.pyo
8.89 KB
Del
OK
md5.py
358 B
Del
OK
md5.pyc
378 B
Del
OK
md5.pyo
378 B
Del
OK
mhlib.py
32.65 KB
Del
OK
mhlib.pyc
33.01 KB
Del
OK
mhlib.pyo
33.01 KB
Del
OK
mimetools.py
7 KB
Del
OK
mimetools.pyc
8.03 KB
Del
OK
mimetools.pyo
8.03 KB
Del
OK
mimetypes.py
20.22 KB
Del
OK
mimetypes.pyc
17.86 KB
Del
OK
mimetypes.pyo
17.86 KB
Del
OK
mimify.py
14.67 KB
Del
OK
mimify.pyc
11.71 KB
Del
OK
mimify.pyo
11.71 KB
Del
OK
modulefinder.py
23.71 KB
Del
OK
modulefinder.pyc
18.27 KB
Del
OK
modulefinder.pyo
18.19 KB
Del
OK
multifile.py
4.71 KB
Del
OK
multifile.pyc
5.29 KB
Del
OK
multifile.pyo
5.25 KB
Del
OK
multiprocessing
-
Del
OK
mutex.py
1.83 KB
Del
OK
mutex.pyc
2.46 KB
Del
OK
mutex.pyo
2.46 KB
Del
OK
netrc.py
4.47 KB
Del
OK
netrc.pyc
3.83 KB
Del
OK
netrc.pyo
3.83 KB
Del
OK
new.py
610 B
Del
OK
new.pyc
862 B
Del
OK
new.pyo
862 B
Del
OK
nntplib.py
20.97 KB
Del
OK
nntplib.pyc
20.55 KB
Del
OK
nntplib.pyo
20.55 KB
Del
OK
ntpath.py
18.02 KB
Del
OK
ntpath.pyc
11.6 KB
Del
OK
ntpath.pyo
11.56 KB
Del
OK
nturl2path.py
2.32 KB
Del
OK
nturl2path.pyc
1.77 KB
Del
OK
nturl2path.pyo
1.77 KB
Del
OK
numbers.py
10.08 KB
Del
OK
numbers.pyc
13.68 KB
Del
OK
numbers.pyo
13.68 KB
Del
OK
opcode.py
5.35 KB
Del
OK
opcode.pyc
6 KB
Del
OK
opcode.pyo
6 KB
Del
OK
optparse.py
59.69 KB
Del
OK
optparse.pyc
52.78 KB
Del
OK
optparse.pyo
52.7 KB
Del
OK
os.py
25.17 KB
Del
OK
os.pyc
24.96 KB
Del
OK
os.pyo
24.96 KB
Del
OK
os2emxpath.py
4.5 KB
Del
OK
os2emxpath.pyc
4.39 KB
Del
OK
os2emxpath.pyo
4.39 KB
Del
OK
pdb.doc
7.73 KB
Del
OK
pdb.py
44.94 KB
Del
OK
pdb.pyc
42.59 KB
Del
OK
pdb.pyo
42.59 KB
Del
OK
pickle.py
44.09 KB
Del
OK
pickle.pyc
37.56 KB
Del
OK
pickle.pyo
37.37 KB
Del
OK
pickletools.py
72.79 KB
Del
OK
pickletools.pyc
55.77 KB
Del
OK
pickletools.pyo
54.95 KB
Del
OK
pipes.py
9.36 KB
Del
OK
pipes.pyc
9.09 KB
Del
OK
pipes.pyo
9.09 KB
Del
OK
pkgutil.py
19.87 KB
Del
OK
pkgutil.pyc
18.49 KB
Del
OK
pkgutil.pyo
18.49 KB
Del
OK
plat-linux2
-
Del
OK
platform.py
51.98 KB
Del
OK
platform.pyc
36.06 KB
Del
OK
platform.pyo
36.06 KB
Del
OK
plistlib.py
15.44 KB
Del
OK
plistlib.pyc
19.52 KB
Del
OK
plistlib.pyo
19.44 KB
Del
OK
popen2.py
8.22 KB
Del
OK
popen2.pyc
8.81 KB
Del
OK
popen2.pyo
8.77 KB
Del
OK
poplib.py
12.64 KB
Del
OK
poplib.pyc
13.16 KB
Del
OK
poplib.pyo
13.16 KB
Del
OK
posixfile.py
7.82 KB
Del
OK
posixfile.pyc
7.47 KB
Del
OK
posixfile.pyo
7.47 KB
Del
OK
posixpath.py
13.27 KB
Del
OK
posixpath.pyc
11.03 KB
Del
OK
posixpath.pyo
11.03 KB
Del
OK
pprint.py
11.73 KB
Del
OK
pprint.pyc
10.06 KB
Del
OK
pprint.pyo
9.89 KB
Del
OK
profile.py
22.25 KB
Del
OK
profile.pyc
16.07 KB
Del
OK
profile.pyo
15.83 KB
Del
OK
pstats.py
26.08 KB
Del
OK
pstats.pyc
24.43 KB
Del
OK
pstats.pyo
24.43 KB
Del
OK
pty.py
4.94 KB
Del
OK
pty.pyc
4.85 KB
Del
OK
pty.pyo
4.85 KB
Del
OK
py_compile.py
5.79 KB
Del
OK
py_compile.pyc
6.27 KB
Del
OK
py_compile.pyo
6.27 KB
Del
OK
pyclbr.py
13.07 KB
Del
OK
pyclbr.pyc
9.42 KB
Del
OK
pyclbr.pyo
9.42 KB
Del
OK
pydoc.py
91.12 KB
Del
OK
pydoc.pyc
88.35 KB
Del
OK
pydoc.pyo
88.29 KB
Del
OK
pydoc_data
-
Del
OK
quopri.py
6.81 KB
Del
OK
quopri.pyc
6.42 KB
Del
OK
quopri.pyo
6.42 KB
Del
OK
random.py
31.45 KB
Del
OK
random.pyc
24.99 KB
Del
OK
random.pyo
24.99 KB
Del
OK
re.py
12.66 KB
Del
OK
re.pyc
12.79 KB
Del
OK
re.pyo
12.79 KB
Del
OK
repr.py
4.2 KB
Del
OK
repr.pyc
5.26 KB
Del
OK
repr.pyo
5.26 KB
Del
OK
rexec.py
19.68 KB
Del
OK
rexec.pyc
23.58 KB
Del
OK
rexec.pyo
23.58 KB
Del
OK
rfc822.py
32.51 KB
Del
OK
rfc822.pyc
31.05 KB
Del
OK
rfc822.pyo
31.05 KB
Del
OK
rlcompleter.py
5.68 KB
Del
OK
rlcompleter.pyc
5.84 KB
Del
OK
rlcompleter.pyo
5.84 KB
Del
OK
robotparser.py
7.03 KB
Del
OK
robotparser.pyc
7.7 KB
Del
OK
robotparser.pyo
7.7 KB
Del
OK
runpy.py
10.45 KB
Del
OK
runpy.pyc
8.21 KB
Del
OK
runpy.pyo
8.21 KB
Del
OK
sched.py
4.97 KB
Del
OK
sched.pyc
4.88 KB
Del
OK
sched.pyo
4.88 KB
Del
OK
sets.py
18.6 KB
Del
OK
sets.pyc
16.5 KB
Del
OK
sets.pyo
16.5 KB
Del
OK
sgmllib.py
17.46 KB
Del
OK
sgmllib.pyc
15.07 KB
Del
OK
sgmllib.pyo
15.07 KB
Del
OK
sha.py
393 B
Del
OK
sha.pyc
421 B
Del
OK
sha.pyo
421 B
Del
OK
shelve.py
7.89 KB
Del
OK
shelve.pyc
10.03 KB
Del
OK
shelve.pyo
10.03 KB
Del
OK
shlex.py
10.88 KB
Del
OK
shlex.pyc
7.37 KB
Del
OK
shlex.pyo
7.37 KB
Del
OK
shutil.py
18.46 KB
Del
OK
shutil.pyc
18.1 KB
Del
OK
shutil.pyo
18.1 KB
Del
OK
site-packages
-
Del
OK
site.py
19.61 KB
Del
OK
site.pyc
19.11 KB
Del
OK
site.pyo
19.11 KB
Del
OK
smtpd.py
18.11 KB
Del
OK
smtpd.pyc
15.52 KB
Del
OK
smtpd.pyo
15.52 KB
Del
OK
smtplib.py
30.9 KB
Del
OK
smtplib.pyc
29.29 KB
Del
OK
smtplib.pyo
29.29 KB
Del
OK
sndhdr.py
5.83 KB
Del
OK
sndhdr.pyc
7.18 KB
Del
OK
sndhdr.pyo
7.18 KB
Del
OK
socket.py
20.03 KB
Del
OK
socket.pyc
15.73 KB
Del
OK
socket.pyo
15.64 KB
Del
OK
sqlite3
-
Del
OK
sre.py
384 B
Del
OK
sre.pyc
519 B
Del
OK
sre.pyo
519 B
Del
OK
sre_compile.py
15.99 KB
Del
OK
sre_compile.pyc
10.76 KB
Del
OK
sre_compile.pyo
10.65 KB
Del
OK
sre_constants.py
6.95 KB
Del
OK
sre_constants.pyc
5.97 KB
Del
OK
sre_constants.pyo
5.97 KB
Del
OK
sre_parse.py
26.84 KB
Del
OK
sre_parse.pyc
18.98 KB
Del
OK
sre_parse.pyo
18.98 KB
Del
OK
ssl.py
38.7 KB
Del
OK
ssl.pyc
32.05 KB
Del
OK
ssl.pyo
32.05 KB
Del
OK
stat.py
1.8 KB
Del
OK
stat.pyc
2.69 KB
Del
OK
stat.pyo
2.69 KB
Del
OK
statvfs.py
898 B
Del
OK
statvfs.pyc
620 B
Del
OK
statvfs.pyo
620 B
Del
OK
string.py
20.27 KB
Del
OK
string.pyc
19.54 KB
Del
OK
string.pyo
19.54 KB
Del
OK
stringold.py
12.16 KB
Del
OK
stringold.pyc
12.25 KB
Del
OK
stringold.pyo
12.25 KB
Del
OK
stringprep.py
13.21 KB
Del
OK
stringprep.pyc
14.15 KB
Del
OK
stringprep.pyo
14.08 KB
Del
OK
struct.py
82 B
Del
OK
struct.pyc
239 B
Del
OK
struct.pyo
239 B
Del
OK
subprocess.py
57.68 KB
Del
OK
subprocess.pyc
40.93 KB
Del
OK
subprocess.pyo
40.93 KB
Del
OK
sunau.py
16.15 KB
Del
OK
sunau.pyc
17.53 KB
Del
OK
sunau.pyo
17.53 KB
Del
OK
sunaudio.py
1.37 KB
Del
OK
sunaudio.pyc
1.94 KB
Del
OK
sunaudio.pyo
1.94 KB
Del
OK
symbol.py
2.01 KB
Del
OK
symbol.pyc
2.96 KB
Del
OK
symbol.pyo
2.96 KB
Del
OK
symtable.py
7.34 KB
Del
OK
symtable.pyc
11.59 KB
Del
OK
symtable.pyo
11.46 KB
Del
OK
sysconfig.py
21.88 KB
Del
OK
sysconfig.pyc
17.23 KB
Del
OK
sysconfig.pyo
17.23 KB
Del
OK
tabnanny.py
11.07 KB
Del
OK
tabnanny.pyc
8.05 KB
Del
OK
tabnanny.pyo
8.05 KB
Del
OK
tarfile.py
88.12 KB
Del
OK
tarfile.pyc
73.84 KB
Del
OK
tarfile.pyo
73.84 KB
Del
OK
telnetlib.py
26.18 KB
Del
OK
telnetlib.pyc
22.53 KB
Del
OK
telnetlib.pyo
22.53 KB
Del
OK
tempfile.py
17.91 KB
Del
OK
tempfile.pyc
19.35 KB
Del
OK
tempfile.pyo
19.35 KB
Del
OK
test
-
Del
OK
textwrap.py
16.64 KB
Del
OK
textwrap.pyc
11.62 KB
Del
OK
textwrap.pyo
11.53 KB
Del
OK
this.py
1002 B
Del
OK
this.pyc
1.19 KB
Del
OK
this.pyo
1.19 KB
Del
OK
threading.py
46.28 KB
Del
OK
threading.pyc
41.7 KB
Del
OK
threading.pyo
39.58 KB
Del
OK
timeit.py
11.82 KB
Del
OK
timeit.pyc
11.5 KB
Del
OK
timeit.pyo
11.5 KB
Del
OK
toaiff.py
3.07 KB
Del
OK
toaiff.pyc
3.03 KB
Del
OK
toaiff.pyo
3.03 KB
Del
OK
token.py
2.88 KB
Del
OK
token.pyc
3.73 KB
Del
OK
token.pyo
3.73 KB
Del
OK
tokenize.py
16.15 KB
Del
OK
tokenize.pyc
13.61 KB
Del
OK
tokenize.pyo
13.52 KB
Del
OK
trace.py
29.19 KB
Del
OK
trace.pyc
22.26 KB
Del
OK
trace.pyo
22.2 KB
Del
OK
traceback.py
10.99 KB
Del
OK
traceback.pyc
11.35 KB
Del
OK
traceback.pyo
11.35 KB
Del
OK
tty.py
879 B
Del
OK
tty.pyc
1.29 KB
Del
OK
tty.pyo
1.29 KB
Del
OK
types.py
1.99 KB
Del
OK
types.pyc
2.45 KB
Del
OK
types.pyo
2.45 KB
Del
OK
unittest
-
Del
OK
urllib.py
57.14 KB
Del
OK
urllib.pyc
49.1 KB
Del
OK
urllib.pyo
49 KB
Del
OK
urllib2.py
52.13 KB
Del
OK
urllib2.pyc
46.61 KB
Del
OK
urllib2.pyo
46.52 KB
Del
OK
urlparse.py
16.82 KB
Del
OK
urlparse.pyc
15.67 KB
Del
OK
urlparse.pyo
15.67 KB
Del
OK
user.py
1.59 KB
Del
OK
user.pyc
1.68 KB
Del
OK
user.pyo
1.68 KB
Del
OK
uu.py
6.4 KB
Del
OK
uu.pyc
4.21 KB
Del
OK
uu.pyo
4.21 KB
Del
OK
uuid.py
20.6 KB
Del
OK
uuid.pyc
20.68 KB
Del
OK
uuid.pyo
20.68 KB
Del
OK
warnings.py
13.71 KB
Del
OK
warnings.pyc
12.84 KB
Del
OK
warnings.pyo
12.02 KB
Del
OK
wave.py
17.67 KB
Del
OK
wave.pyc
19 KB
Del
OK
wave.pyo
18.94 KB
Del
OK
weakref.py
10.44 KB
Del
OK
weakref.pyc
13.72 KB
Del
OK
weakref.pyo
13.72 KB
Del
OK
webbrowser.py
22.68 KB
Del
OK
webbrowser.pyc
19.83 KB
Del
OK
webbrowser.pyo
19.78 KB
Del
OK
whichdb.py
3.3 KB
Del
OK
whichdb.pyc
2.19 KB
Del
OK
whichdb.pyo
2.19 KB
Del
OK
wsgiref
-
Del
OK
wsgiref.egg-info
187 B
Del
OK
xdrlib.py
5.43 KB
Del
OK
xdrlib.pyc
9.07 KB
Del
OK
xdrlib.pyo
9.07 KB
Del
OK
xml
-
Del
OK
xmllib.py
34.05 KB
Del
OK
xmllib.pyc
26.22 KB
Del
OK
xmllib.pyo
26.22 KB
Del
OK
xmlrpclib.py
50.78 KB
Del
OK
xmlrpclib.pyc
42.89 KB
Del
OK
xmlrpclib.pyo
42.71 KB
Del
OK
zipfile.py
56.45 KB
Del
OK
zipfile.pyc
40.33 KB
Del
OK
zipfile.pyo
40.33 KB
Del
OK
Edit: smtpd.py
#! /usr/bin/env python """An RFC 2821 smtp proxy. Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]] Options: --nosetuid -n This program generally tries to setuid `nobody', unless this flag is set. The setuid call will fail if this program is not run as root (in which case, use this flag). --version -V Print the version number and exit. --class classname -c classname Use `classname' as the concrete SMTP proxy class. Uses `PureProxy' by default. --debug -d Turn on debugging prints. --help -h Print this message and exit. Version: %(__version__)s If localhost is not given then `localhost' is used, and if localport is not given then 8025 is used. If remotehost is not given then `localhost' is used, and if remoteport is not given, then 25 is used. """ # Overview: # # This file implements the minimal SMTP protocol as defined in RFC 821. It # has a hierarchy of classes which implement the backend functionality for the # smtpd. A number of classes are provided: # # SMTPServer - the base class for the backend. Raises NotImplementedError # if you try to use it. # # DebuggingServer - simply prints each message it receives on stdout. # # PureProxy - Proxies all messages to a real smtpd which does final # delivery. One known problem with this class is that it doesn't handle # SMTP errors from the backend server at all. This should be fixed # (contributions are welcome!). # # MailmanProxy - An experimental hack to work with GNU Mailman # <www.list.org>. Using this server as your real incoming smtpd, your # mailhost will automatically recognize and accept mail destined to Mailman # lists when those lists are created. Every message not destined for a list # gets forwarded to a real backend smtpd, as with PureProxy. Again, errors # are not handled correctly yet. # # Please note that this script requires Python 2.0 # # Author: Barry Warsaw <barry@python.org> # # TODO: # # - support mailbox delivery # - alias files # - ESMTP # - handle error codes from the backend smtpd import sys import os import errno import getopt import time import socket import asyncore import asynchat __all__ = ["SMTPServer","DebuggingServer","PureProxy","MailmanProxy"] program = sys.argv[0] __version__ = 'Python SMTP proxy version 0.2' class Devnull: def write(self, msg): pass def flush(self): pass DEBUGSTREAM = Devnull() NEWLINE = '\n' EMPTYSTRING = '' COMMASPACE = ', ' def usage(code, msg=''): print >> sys.stderr, __doc__ % globals() if msg: print >> sys.stderr, msg sys.exit(code) class SMTPChannel(asynchat.async_chat): COMMAND = 0 DATA = 1 def __init__(self, server, conn, addr): asynchat.async_chat.__init__(self, conn) self.__server = server self.__conn = conn self.__addr = addr self.__line = [] self.__state = self.COMMAND self.__greeting = 0 self.__mailfrom = None self.__rcpttos = [] self.__data = '' self.__fqdn = socket.getfqdn() try: self.__peer = conn.getpeername() except socket.error, err: # a race condition may occur if the other end is closing # before we can get the peername self.close() if err[0] != errno.ENOTCONN: raise return print >> DEBUGSTREAM, 'Peer:', repr(self.__peer) self.push('220 %s %s' % (self.__fqdn, __version__)) self.set_terminator('\r\n') # Overrides base class for convenience def push(self, msg): asynchat.async_chat.push(self, msg + '\r\n') # Implementation of base class abstract method def collect_incoming_data(self, data): self.__line.append(data) # Implementation of base class abstract method def found_terminator(self): line = EMPTYSTRING.join(self.__line) print >> DEBUGSTREAM, 'Data:', repr(line) self.__line = [] if self.__state == self.COMMAND: if not line: self.push('500 Error: bad syntax') return method = None i = line.find(' ') if i < 0: command = line.upper() arg = None else: command = line[:i].upper() arg = line[i+1:].strip() method = getattr(self, 'smtp_' + command, None) if not method: self.push('502 Error: command "%s" not implemented' % command) return method(arg) return else: if self.__state != self.DATA: self.push('451 Internal confusion') return # Remove extraneous carriage returns and de-transparency according # to RFC 821, Section 4.5.2. data = [] for text in line.split('\r\n'): if text and text[0] == '.': data.append(text[1:]) else: data.append(text) self.__data = NEWLINE.join(data) status = self.__server.process_message(self.__peer, self.__mailfrom, self.__rcpttos, self.__data) self.__rcpttos = [] self.__mailfrom = None self.__state = self.COMMAND self.set_terminator('\r\n') if not status: self.push('250 Ok') else: self.push(status) # SMTP and ESMTP commands def smtp_HELO(self, arg): if not arg: self.push('501 Syntax: HELO hostname') return if self.__greeting: self.push('503 Duplicate HELO/EHLO') else: self.__greeting = arg self.push('250 %s' % self.__fqdn) def smtp_NOOP(self, arg): if arg: self.push('501 Syntax: NOOP') else: self.push('250 Ok') def smtp_QUIT(self, arg): # args is ignored self.push('221 Bye') self.close_when_done() # factored def __getaddr(self, keyword, arg): address = None keylen = len(keyword) if arg[:keylen].upper() == keyword: address = arg[keylen:].strip() if not address: pass elif address[0] == '<' and address[-1] == '>' and address != '<>': # Addresses can be in the form <person@dom.com> but watch out # for null address, e.g. <> address = address[1:-1] return address def smtp_MAIL(self, arg): print >> DEBUGSTREAM, '===> MAIL', arg address = self.__getaddr('FROM:', arg) if arg else None if not address: self.push('501 Syntax: MAIL FROM:<address>') return if self.__mailfrom: self.push('503 Error: nested MAIL command') return self.__mailfrom = address print >> DEBUGSTREAM, 'sender:', self.__mailfrom self.push('250 Ok') def smtp_RCPT(self, arg): print >> DEBUGSTREAM, '===> RCPT', arg if not self.__mailfrom: self.push('503 Error: need MAIL command') return address = self.__getaddr('TO:', arg) if arg else None if not address: self.push('501 Syntax: RCPT TO: <address>') return self.__rcpttos.append(address) print >> DEBUGSTREAM, 'recips:', self.__rcpttos self.push('250 Ok') def smtp_RSET(self, arg): if arg: self.push('501 Syntax: RSET') return # Resets the sender, recipients, and data, but not the greeting self.__mailfrom = None self.__rcpttos = [] self.__data = '' self.__state = self.COMMAND self.push('250 Ok') def smtp_DATA(self, arg): if not self.__rcpttos: self.push('503 Error: need RCPT command') return if arg: self.push('501 Syntax: DATA') return self.__state = self.DATA self.set_terminator('\r\n.\r\n') self.push('354 End data with <CR><LF>.<CR><LF>') class SMTPServer(asyncore.dispatcher): def __init__(self, localaddr, remoteaddr): self._localaddr = localaddr self._remoteaddr = remoteaddr asyncore.dispatcher.__init__(self) try: self.create_socket(socket.AF_INET, socket.SOCK_STREAM) # try to re-use a server port if possible self.set_reuse_addr() self.bind(localaddr) self.listen(5) except: # cleanup asyncore.socket_map before raising self.close() raise else: print >> DEBUGSTREAM, \ '%s started at %s\n\tLocal addr: %s\n\tRemote addr:%s' % ( self.__class__.__name__, time.ctime(time.time()), localaddr, remoteaddr) def handle_accept(self): pair = self.accept() if pair is not None: conn, addr = pair print >> DEBUGSTREAM, 'Incoming connection from %s' % repr(addr) channel = SMTPChannel(self, conn, addr) # API for "doing something useful with the message" def process_message(self, peer, mailfrom, rcpttos, data): """Override this abstract method to handle messages from the client. peer is a tuple containing (ipaddr, port) of the client that made the socket connection to our smtp port. mailfrom is the raw address the client claims the message is coming from. rcpttos is a list of raw addresses the client wishes to deliver the message to. data is a string containing the entire full text of the message, headers (if supplied) and all. It has been `de-transparencied' according to RFC 821, Section 4.5.2. In other words, a line containing a `.' followed by other text has had the leading dot removed. This function should return None, for a normal `250 Ok' response; otherwise it returns the desired response string in RFC 821 format. """ raise NotImplementedError class DebuggingServer(SMTPServer): # Do something with the gathered message def process_message(self, peer, mailfrom, rcpttos, data): inheaders = 1 lines = data.split('\n') print '---------- MESSAGE FOLLOWS ----------' for line in lines: # headers first if inheaders and not line: print 'X-Peer:', peer[0] inheaders = 0 print line print '------------ END MESSAGE ------------' class PureProxy(SMTPServer): def process_message(self, peer, mailfrom, rcpttos, data): lines = data.split('\n') # Look for the last header i = 0 for line in lines: if not line: break i += 1 lines.insert(i, 'X-Peer: %s' % peer[0]) data = NEWLINE.join(lines) refused = self._deliver(mailfrom, rcpttos, data) # TBD: what to do with refused addresses? print >> DEBUGSTREAM, 'we got some refusals:', refused def _deliver(self, mailfrom, rcpttos, data): import smtplib refused = {} try: s = smtplib.SMTP() s.connect(self._remoteaddr[0], self._remoteaddr[1]) try: refused = s.sendmail(mailfrom, rcpttos, data) finally: s.quit() except smtplib.SMTPRecipientsRefused, e: print >> DEBUGSTREAM, 'got SMTPRecipientsRefused' refused = e.recipients except (socket.error, smtplib.SMTPException), e: print >> DEBUGSTREAM, 'got', e.__class__ # All recipients were refused. If the exception had an associated # error code, use it. Otherwise,fake it with a non-triggering # exception code. errcode = getattr(e, 'smtp_code', -1) errmsg = getattr(e, 'smtp_error', 'ignore') for r in rcpttos: refused[r] = (errcode, errmsg) return refused class MailmanProxy(PureProxy): def process_message(self, peer, mailfrom, rcpttos, data): from cStringIO import StringIO from Mailman import Utils from Mailman import Message from Mailman import MailList # If the message is to a Mailman mailing list, then we'll invoke the # Mailman script directly, without going through the real smtpd. # Otherwise we'll forward it to the local proxy for disposition. listnames = [] for rcpt in rcpttos: local = rcpt.lower().split('@')[0] # We allow the following variations on the theme # listname # listname-admin # listname-owner # listname-request # listname-join # listname-leave parts = local.split('-') if len(parts) > 2: continue listname = parts[0] if len(parts) == 2: command = parts[1] else: command = '' if not Utils.list_exists(listname) or command not in ( '', 'admin', 'owner', 'request', 'join', 'leave'): continue listnames.append((rcpt, listname, command)) # Remove all list recipients from rcpttos and forward what we're not # going to take care of ourselves. Linear removal should be fine # since we don't expect a large number of recipients. for rcpt, listname, command in listnames: rcpttos.remove(rcpt) # If there's any non-list destined recipients left, print >> DEBUGSTREAM, 'forwarding recips:', ' '.join(rcpttos) if rcpttos: refused = self._deliver(mailfrom, rcpttos, data) # TBD: what to do with refused addresses? print >> DEBUGSTREAM, 'we got refusals:', refused # Now deliver directly to the list commands mlists = {} s = StringIO(data) msg = Message.Message(s) # These headers are required for the proper execution of Mailman. All # MTAs in existence seem to add these if the original message doesn't # have them. if not msg.getheader('from'): msg['From'] = mailfrom if not msg.getheader('date'): msg['Date'] = time.ctime(time.time()) for rcpt, listname, command in listnames: print >> DEBUGSTREAM, 'sending message to', rcpt mlist = mlists.get(listname) if not mlist: mlist = MailList.MailList(listname, lock=0) mlists[listname] = mlist # dispatch on the type of command if command == '': # post msg.Enqueue(mlist, tolist=1) elif command == 'admin': msg.Enqueue(mlist, toadmin=1) elif command == 'owner': msg.Enqueue(mlist, toowner=1) elif command == 'request': msg.Enqueue(mlist, torequest=1) elif command in ('join', 'leave'): # TBD: this is a hack! if command == 'join': msg['Subject'] = 'subscribe' else: msg['Subject'] = 'unsubscribe' msg.Enqueue(mlist, torequest=1) class Options: setuid = 1 classname = 'PureProxy' def parseargs(): global DEBUGSTREAM try: opts, args = getopt.getopt( sys.argv[1:], 'nVhc:d', ['class=', 'nosetuid', 'version', 'help', 'debug']) except getopt.error, e: usage(1, e) options = Options() for opt, arg in opts: if opt in ('-h', '--help'): usage(0) elif opt in ('-V', '--version'): print >> sys.stderr, __version__ sys.exit(0) elif opt in ('-n', '--nosetuid'): options.setuid = 0 elif opt in ('-c', '--class'): options.classname = arg elif opt in ('-d', '--debug'): DEBUGSTREAM = sys.stderr # parse the rest of the arguments if len(args) < 1: localspec = 'localhost:8025' remotespec = 'localhost:25' elif len(args) < 2: localspec = args[0] remotespec = 'localhost:25' elif len(args) < 3: localspec = args[0] remotespec = args[1] else: usage(1, 'Invalid arguments: %s' % COMMASPACE.join(args)) # split into host/port pairs i = localspec.find(':') if i < 0: usage(1, 'Bad local spec: %s' % localspec) options.localhost = localspec[:i] try: options.localport = int(localspec[i+1:]) except ValueError: usage(1, 'Bad local port: %s' % localspec) i = remotespec.find(':') if i < 0: usage(1, 'Bad remote spec: %s' % remotespec) options.remotehost = remotespec[:i] try: options.remoteport = int(remotespec[i+1:]) except ValueError: usage(1, 'Bad remote port: %s' % remotespec) return options if __name__ == '__main__': options = parseargs() # Become nobody classname = options.classname if "." in classname: lastdot = classname.rfind(".") mod = __import__(classname[:lastdot], globals(), locals(), [""]) classname = classname[lastdot+1:] else: import __main__ as mod class_ = getattr(mod, classname) proxy = class_((options.localhost, options.localport), (options.remotehost, options.remoteport)) if options.setuid: try: import pwd except ImportError: print >> sys.stderr, \ 'Cannot import module "pwd"; try running with -n option.' sys.exit(1) nobody = pwd.getpwnam('nobody')[2] try: os.setuid(nobody) except OSError, e: if e.errno != errno.EPERM: raise print >> sys.stderr, \ 'Cannot setuid "nobody"; try running with -n option.' sys.exit(1) try: asyncore.loop() except KeyboardInterrupt: pass
Save