Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
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
/
usr /
lib64 /
python2.6 /
[ HOME SHELL ]
Name
Size
Permission
Action
bsddb
[ DIR ]
drwxr-xr-x
compiler
[ DIR ]
drwxr-xr-x
config
[ DIR ]
drwxr-xr-x
ctypes
[ DIR ]
drwxr-xr-x
curses
[ DIR ]
drwxr-xr-x
distutils
[ DIR ]
drwxr-xr-x
email
[ DIR ]
drwxr-xr-x
encodings
[ DIR ]
drwxr-xr-x
hotshot
[ DIR ]
drwxr-xr-x
idlelib
[ DIR ]
drwxr-xr-x
json
[ DIR ]
drwxr-xr-x
lib-dynload
[ DIR ]
drwxr-xr-x
lib2to3
[ DIR ]
drwxr-xr-x
logging
[ DIR ]
drwxr-xr-x
multiprocessing
[ DIR ]
drwxr-xr-x
plat-linux2
[ DIR ]
drwxr-xr-x
site-packages
[ DIR ]
drwxr-xr-x
sqlite3
[ DIR ]
drwxr-xr-x
test
[ DIR ]
drwxr-xr-x
wsgiref
[ DIR ]
drwxr-xr-x
xml
[ DIR ]
drwxr-xr-x
BaseHTTPServer.py
21.46
KB
-rw-r--r--
BaseHTTPServer.pyc
21.07
KB
-rw-r--r--
BaseHTTPServer.pyo
21.07
KB
-rw-r--r--
Bastion.py
5.61
KB
-rw-r--r--
Bastion.pyc
6.51
KB
-rw-r--r--
Bastion.pyo
6.51
KB
-rw-r--r--
CGIHTTPServer.py
12.47
KB
-rw-r--r--
CGIHTTPServer.pyc
10.57
KB
-rw-r--r--
CGIHTTPServer.pyo
10.57
KB
-rw-r--r--
ConfigParser.py
25.38
KB
-rw-r--r--
ConfigParser.pyc
23.31
KB
-rw-r--r--
ConfigParser.pyo
23.31
KB
-rw-r--r--
Cookie.py
25.05
KB
-rw-r--r--
Cookie.pyc
21.9
KB
-rw-r--r--
Cookie.pyo
21.9
KB
-rw-r--r--
DocXMLRPCServer.py
10.35
KB
-rw-r--r--
DocXMLRPCServer.pyc
9.72
KB
-rw-r--r--
DocXMLRPCServer.pyo
9.62
KB
-rw-r--r--
HTMLParser.py
13.26
KB
-rw-r--r--
HTMLParser.pyc
11.97
KB
-rw-r--r--
HTMLParser.pyo
11.67
KB
-rw-r--r--
MimeWriter.py
6.33
KB
-rw-r--r--
MimeWriter.pyc
7.21
KB
-rw-r--r--
MimeWriter.pyo
7.21
KB
-rw-r--r--
Queue.py
8.37
KB
-rw-r--r--
Queue.pyc
9.23
KB
-rw-r--r--
Queue.pyo
9.23
KB
-rw-r--r--
SimpleHTTPServer.py
7.25
KB
-rw-r--r--
SimpleHTTPServer.pyc
7.58
KB
-rw-r--r--
SimpleHTTPServer.pyo
7.58
KB
-rw-r--r--
SimpleXMLRPCServer.py
21.48
KB
-rw-r--r--
SimpleXMLRPCServer.pyc
19.17
KB
-rw-r--r--
SimpleXMLRPCServer.pyo
19.17
KB
-rw-r--r--
SocketServer.py
21.8
KB
-rw-r--r--
SocketServer.pyc
22.6
KB
-rw-r--r--
SocketServer.pyo
22.6
KB
-rw-r--r--
StringIO.py
10.37
KB
-rw-r--r--
StringIO.pyc
11.26
KB
-rw-r--r--
StringIO.pyo
11.26
KB
-rw-r--r--
UserDict.py
5.64
KB
-rw-r--r--
UserDict.pyc
8.68
KB
-rw-r--r--
UserDict.pyo
8.68
KB
-rw-r--r--
UserList.py
3.56
KB
-rw-r--r--
UserList.pyc
6.45
KB
-rw-r--r--
UserList.pyo
6.45
KB
-rw-r--r--
UserString.py
9.46
KB
-rwxr-xr-x
UserString.pyc
14.57
KB
-rw-r--r--
UserString.pyo
14.57
KB
-rw-r--r--
_LWPCookieJar.py
6.4
KB
-rw-r--r--
_LWPCookieJar.pyc
5.47
KB
-rw-r--r--
_LWPCookieJar.pyo
5.47
KB
-rw-r--r--
_MozillaCookieJar.py
5.67
KB
-rw-r--r--
_MozillaCookieJar.pyc
4.41
KB
-rw-r--r--
_MozillaCookieJar.pyo
4.37
KB
-rw-r--r--
__future__.py
4.28
KB
-rw-r--r--
__future__.pyc
4.13
KB
-rw-r--r--
__future__.pyo
4.13
KB
-rw-r--r--
__phello__.foo.py
64
B
-rw-r--r--
__phello__.foo.pyc
125
B
-rw-r--r--
__phello__.foo.pyo
125
B
-rw-r--r--
_abcoll.py
13.91
KB
-rw-r--r--
_abcoll.pyc
21.08
KB
-rw-r--r--
_abcoll.pyo
21.08
KB
-rw-r--r--
_strptime.py
19.29
KB
-rw-r--r--
_strptime.pyc
14.62
KB
-rw-r--r--
_strptime.pyo
14.62
KB
-rw-r--r--
_threading_local.py
6.95
KB
-rw-r--r--
_threading_local.pyc
6.24
KB
-rw-r--r--
_threading_local.pyo
6.24
KB
-rw-r--r--
abc.py
6.87
KB
-rw-r--r--
abc.pyc
5.93
KB
-rw-r--r--
abc.pyo
5.87
KB
-rw-r--r--
aifc.py
32.41
KB
-rw-r--r--
aifc.pyc
28.87
KB
-rw-r--r--
aifc.pyo
28.87
KB
-rw-r--r--
anydbm.py
2.56
KB
-rw-r--r--
anydbm.pyc
2.71
KB
-rw-r--r--
anydbm.pyo
2.71
KB
-rw-r--r--
ast.py
11.08
KB
-rw-r--r--
ast.pyc
12.48
KB
-rw-r--r--
ast.pyo
12.48
KB
-rw-r--r--
asynchat.py
11.13
KB
-rw-r--r--
asynchat.pyc
8.53
KB
-rw-r--r--
asynchat.pyo
8.53
KB
-rw-r--r--
asyncore.py
19.59
KB
-rw-r--r--
asyncore.pyc
18.02
KB
-rw-r--r--
asyncore.pyo
18.02
KB
-rw-r--r--
atexit.py
1.67
KB
-rw-r--r--
atexit.pyc
2.16
KB
-rw-r--r--
atexit.pyo
2.16
KB
-rw-r--r--
audiodev.py
7.42
KB
-rw-r--r--
audiodev.pyc
8.34
KB
-rw-r--r--
audiodev.pyo
8.34
KB
-rw-r--r--
base64.py
11.07
KB
-rwxr-xr-x
base64.pyc
10.75
KB
-rw-r--r--
base64.pyo
10.75
KB
-rw-r--r--
bdb.py
20.11
KB
-rw-r--r--
bdb.pyc
18.13
KB
-rw-r--r--
bdb.pyo
18.13
KB
-rw-r--r--
binhex.py
14.53
KB
-rw-r--r--
binhex.pyc
15.5
KB
-rw-r--r--
binhex.pyo
15.5
KB
-rw-r--r--
bisect.py
2.6
KB
-rw-r--r--
bisect.pyc
3.1
KB
-rw-r--r--
bisect.pyo
3.1
KB
-rw-r--r--
cProfile.py
6.19
KB
-rwxr-xr-x
cProfile.pyc
6.09
KB
-rw-r--r--
cProfile.pyo
6.09
KB
-rw-r--r--
calendar.py
22.57
KB
-rw-r--r--
calendar.pyc
27.5
KB
-rw-r--r--
calendar.pyo
27.5
KB
-rw-r--r--
cgi.py
33.67
KB
-rwxr-xr-x
cgi.pyc
32.05
KB
-rw-r--r--
cgi.pyo
32.05
KB
-rw-r--r--
cgitb.py
11.87
KB
-rw-r--r--
cgitb.pyc
12.17
KB
-rw-r--r--
cgitb.pyo
12.17
KB
-rw-r--r--
chunk.py
5.25
KB
-rw-r--r--
chunk.pyc
5.51
KB
-rw-r--r--
chunk.pyo
5.51
KB
-rw-r--r--
cmd.py
14.61
KB
-rw-r--r--
cmd.pyc
13.63
KB
-rw-r--r--
cmd.pyo
13.63
KB
-rw-r--r--
code.py
9.98
KB
-rw-r--r--
code.pyc
10.18
KB
-rw-r--r--
code.pyo
10.18
KB
-rw-r--r--
codecs.py
34.44
KB
-rw-r--r--
codecs.pyc
35.86
KB
-rw-r--r--
codecs.pyo
35.86
KB
-rw-r--r--
codeop.py
5.86
KB
-rw-r--r--
codeop.pyc
6.48
KB
-rw-r--r--
codeop.pyo
6.48
KB
-rw-r--r--
collections.py
13.41
KB
-rw-r--r--
collections.pyc
14.12
KB
-rw-r--r--
collections.pyo
14.07
KB
-rw-r--r--
colorsys.py
3.38
KB
-rw-r--r--
colorsys.pyc
3.95
KB
-rw-r--r--
colorsys.pyo
3.95
KB
-rw-r--r--
commands.py
2.48
KB
-rw-r--r--
commands.pyc
2.43
KB
-rw-r--r--
commands.pyo
2.43
KB
-rw-r--r--
compileall.py
5.16
KB
-rw-r--r--
compileall.pyc
4.88
KB
-rw-r--r--
compileall.pyo
4.88
KB
-rw-r--r--
contextlib.py
4.04
KB
-rw-r--r--
contextlib.pyc
4.05
KB
-rw-r--r--
contextlib.pyo
4.05
KB
-rw-r--r--
cookielib.py
62.94
KB
-rw-r--r--
cookielib.pyc
53.95
KB
-rw-r--r--
cookielib.pyo
53.76
KB
-rw-r--r--
copy.py
10.92
KB
-rw-r--r--
copy.pyc
11.4
KB
-rw-r--r--
copy.pyo
11.31
KB
-rw-r--r--
copy_reg.py
6.64
KB
-rw-r--r--
copy_reg.pyc
5.06
KB
-rw-r--r--
copy_reg.pyo
5.01
KB
-rw-r--r--
crypt.py
2.18
KB
-rw-r--r--
crypt.pyc
2.98
KB
-rw-r--r--
crypt.pyo
2.98
KB
-rw-r--r--
csv.py
15.36
KB
-rw-r--r--
csv.pyc
12.92
KB
-rw-r--r--
csv.pyo
12.92
KB
-rw-r--r--
dbhash.py
535
B
-rw-r--r--
dbhash.pyc
760
B
-rw-r--r--
dbhash.pyo
760
B
-rw-r--r--
decimal.py
194.6
KB
-rw-r--r--
decimal.pyc
152.03
KB
-rw-r--r--
decimal.pyo
151.97
KB
-rw-r--r--
difflib.py
79.18
KB
-rw-r--r--
difflib.pyc
59.76
KB
-rw-r--r--
difflib.pyo
59.71
KB
-rw-r--r--
dircache.py
1.1
KB
-rw-r--r--
dircache.pyc
1.55
KB
-rw-r--r--
dircache.pyo
1.55
KB
-rw-r--r--
dis.py
6.3
KB
-rw-r--r--
dis.pyc
6.22
KB
-rw-r--r--
dis.pyo
6.22
KB
-rw-r--r--
doctest.py
99.14
KB
-rw-r--r--
doctest.pyc
79.1
KB
-rw-r--r--
doctest.pyo
78.81
KB
-rw-r--r--
dumbdbm.py
8.61
KB
-rw-r--r--
dumbdbm.pyc
6.43
KB
-rw-r--r--
dumbdbm.pyo
6.43
KB
-rw-r--r--
dummy_thread.py
4.31
KB
-rw-r--r--
dummy_thread.pyc
5.29
KB
-rw-r--r--
dummy_thread.pyo
5.29
KB
-rw-r--r--
dummy_threading.py
2.74
KB
-rw-r--r--
dummy_threading.pyc
1.27
KB
-rw-r--r--
dummy_threading.pyo
1.27
KB
-rw-r--r--
filecmp.py
9.25
KB
-rw-r--r--
filecmp.pyc
9.41
KB
-rw-r--r--
filecmp.pyo
9.41
KB
-rw-r--r--
fileinput.py
13.81
KB
-rw-r--r--
fileinput.pyc
14.58
KB
-rw-r--r--
fileinput.pyo
14.58
KB
-rw-r--r--
fnmatch.py
3.16
KB
-rw-r--r--
fnmatch.pyc
3.5
KB
-rw-r--r--
fnmatch.pyo
3.5
KB
-rw-r--r--
formatter.py
14.56
KB
-rw-r--r--
formatter.pyc
18.85
KB
-rw-r--r--
formatter.pyo
18.85
KB
-rw-r--r--
fpformat.py
4.59
KB
-rw-r--r--
fpformat.pyc
4.62
KB
-rw-r--r--
fpformat.pyo
4.62
KB
-rw-r--r--
fractions.py
19.6
KB
-rw-r--r--
fractions.pyc
17.69
KB
-rw-r--r--
fractions.pyo
17.69
KB
-rw-r--r--
ftplib.py
28.51
KB
-rw-r--r--
ftplib.pyc
27.83
KB
-rw-r--r--
ftplib.pyo
27.83
KB
-rw-r--r--
functools.py
2.11
KB
-rw-r--r--
functools.pyc
1.88
KB
-rw-r--r--
functools.pyo
1.88
KB
-rw-r--r--
genericpath.py
2.95
KB
-rw-r--r--
genericpath.pyc
3.21
KB
-rw-r--r--
genericpath.pyo
3.21
KB
-rw-r--r--
getopt.py
7.16
KB
-rw-r--r--
getopt.pyc
6.57
KB
-rw-r--r--
getopt.pyo
6.53
KB
-rw-r--r--
getpass.py
5.4
KB
-rw-r--r--
getpass.pyc
4.64
KB
-rw-r--r--
getpass.pyo
4.64
KB
-rw-r--r--
gettext.py
19.5
KB
-rw-r--r--
gettext.pyc
15.39
KB
-rw-r--r--
gettext.pyo
15.39
KB
-rw-r--r--
glob.py
2.2
KB
-rw-r--r--
glob.pyc
2.35
KB
-rw-r--r--
glob.pyo
2.35
KB
-rw-r--r--
gzip.py
16.36
KB
-rw-r--r--
gzip.pyc
14.05
KB
-rw-r--r--
gzip.pyo
14.05
KB
-rw-r--r--
hashlib.py
4.32
KB
-rw-r--r--
hashlib.pyc
3.89
KB
-rw-r--r--
hashlib.pyo
3.89
KB
-rw-r--r--
heapq.py
15.62
KB
-rw-r--r--
heapq.pyc
12.4
KB
-rw-r--r--
heapq.pyo
12.4
KB
-rw-r--r--
hmac.py
4.42
KB
-rw-r--r--
hmac.pyc
4.4
KB
-rw-r--r--
hmac.pyo
4.4
KB
-rw-r--r--
htmlentitydefs.py
17.63
KB
-rw-r--r--
htmlentitydefs.pyc
6.22
KB
-rw-r--r--
htmlentitydefs.pyo
6.22
KB
-rw-r--r--
htmllib.py
12.57
KB
-rw-r--r--
htmllib.pyc
19.91
KB
-rw-r--r--
htmllib.pyo
19.91
KB
-rw-r--r--
httplib.py
46.77
KB
-rw-r--r--
httplib.pyc
36.17
KB
-rw-r--r--
httplib.pyo
35.98
KB
-rw-r--r--
ihooks.py
17.04
KB
-rw-r--r--
ihooks.pyc
20.35
KB
-rw-r--r--
ihooks.pyo
20.27
KB
-rw-r--r--
imaplib.py
46.65
KB
-rw-r--r--
imaplib.pyc
44.17
KB
-rw-r--r--
imaplib.pyo
41.48
KB
-rw-r--r--
imghdr.py
3.46
KB
-rw-r--r--
imghdr.pyc
4.79
KB
-rw-r--r--
imghdr.pyo
4.79
KB
-rw-r--r--
imputil.py
25.4
KB
-rw-r--r--
imputil.pyc
15.66
KB
-rw-r--r--
imputil.pyo
15.49
KB
-rw-r--r--
inspect.py
37.29
KB
-rw-r--r--
inspect.pyc
36.29
KB
-rw-r--r--
inspect.pyo
36.29
KB
-rw-r--r--
io.py
64.61
KB
-rw-r--r--
io.pyc
61.56
KB
-rw-r--r--
io.pyo
61.56
KB
-rw-r--r--
keyword.py
1.95
KB
-rwxr-xr-x
keyword.pyc
2.07
KB
-rw-r--r--
keyword.pyo
2.07
KB
-rw-r--r--
linecache.py
4.03
KB
-rw-r--r--
linecache.pyc
3.19
KB
-rw-r--r--
linecache.pyo
3.19
KB
-rw-r--r--
locale.py
80.74
KB
-rw-r--r--
locale.pyc
45.58
KB
-rw-r--r--
locale.pyo
45.58
KB
-rw-r--r--
macpath.py
6.11
KB
-rw-r--r--
macpath.pyc
7.53
KB
-rw-r--r--
macpath.pyo
7.53
KB
-rw-r--r--
macurl2path.py
3.2
KB
-rw-r--r--
macurl2path.pyc
2.76
KB
-rw-r--r--
macurl2path.pyo
2.76
KB
-rw-r--r--
mailbox.py
74.05
KB
-rw-r--r--
mailbox.pyc
74.29
KB
-rw-r--r--
mailbox.pyo
74.24
KB
-rw-r--r--
mailcap.py
7.25
KB
-rw-r--r--
mailcap.pyc
7.02
KB
-rw-r--r--
mailcap.pyo
7.02
KB
-rw-r--r--
markupbase.py
14.01
KB
-rw-r--r--
markupbase.pyc
9.24
KB
-rw-r--r--
markupbase.pyo
9.05
KB
-rw-r--r--
md5.py
410
B
-rw-r--r--
md5.pyc
378
B
-rw-r--r--
md5.pyo
378
B
-rw-r--r--
mhlib.py
32.65
KB
-rw-r--r--
mhlib.pyc
33.34
KB
-rw-r--r--
mhlib.pyo
33.34
KB
-rw-r--r--
mimetools.py
7
KB
-rw-r--r--
mimetools.pyc
8.13
KB
-rw-r--r--
mimetools.pyo
8.13
KB
-rw-r--r--
mimetypes.py
18.38
KB
-rw-r--r--
mimetypes.pyc
16.48
KB
-rw-r--r--
mimetypes.pyo
16.48
KB
-rw-r--r--
mimify.py
14.67
KB
-rwxr-xr-x
mimify.pyc
11.93
KB
-rw-r--r--
mimify.pyo
11.93
KB
-rw-r--r--
modulefinder.py
23.71
KB
-rw-r--r--
modulefinder.pyc
18.56
KB
-rw-r--r--
modulefinder.pyo
18.48
KB
-rw-r--r--
multifile.py
4.71
KB
-rw-r--r--
multifile.pyc
5.35
KB
-rw-r--r--
multifile.pyo
5.31
KB
-rw-r--r--
mutex.py
1.82
KB
-rw-r--r--
mutex.pyc
2.47
KB
-rw-r--r--
mutex.pyo
2.47
KB
-rw-r--r--
netrc.py
4.01
KB
-rw-r--r--
netrc.pyc
3.52
KB
-rw-r--r--
netrc.pyo
3.52
KB
-rw-r--r--
new.py
706
B
-rw-r--r--
new.pyc
910
B
-rw-r--r--
new.pyo
910
B
-rw-r--r--
nntplib.py
20.97
KB
-rw-r--r--
nntplib.pyc
20.68
KB
-rw-r--r--
nntplib.pyo
20.68
KB
-rw-r--r--
ntpath.py
17.34
KB
-rw-r--r--
ntpath.pyc
11.35
KB
-rw-r--r--
ntpath.pyo
11.3
KB
-rw-r--r--
nturl2path.py
2.19
KB
-rw-r--r--
nturl2path.pyc
1.74
KB
-rw-r--r--
nturl2path.pyo
1.74
KB
-rw-r--r--
numbers.py
10.03
KB
-rw-r--r--
numbers.pyc
13.64
KB
-rw-r--r--
numbers.pyo
13.64
KB
-rw-r--r--
opcode.py
5.13
KB
-rw-r--r--
opcode.pyc
5.78
KB
-rw-r--r--
opcode.pyo
5.78
KB
-rw-r--r--
optparse.py
59.42
KB
-rw-r--r--
optparse.pyc
52.97
KB
-rw-r--r--
optparse.pyo
52.89
KB
-rw-r--r--
ordereddict.py
36
B
-rw-r--r--
ordereddict.pyc
185
B
-rw-r--r--
ordereddict.pyo
185
B
-rw-r--r--
os.py
25.2
KB
-rw-r--r--
os.pyc
25.2
KB
-rw-r--r--
os.pyo
25.2
KB
-rw-r--r--
os2emxpath.py
4.5
KB
-rw-r--r--
os2emxpath.pyc
4.43
KB
-rw-r--r--
os2emxpath.pyo
4.43
KB
-rw-r--r--
pdb.doc
7.71
KB
-rw-r--r--
pdb.py
44.27
KB
-rwxr-xr-x
pdb.pyc
42.79
KB
-rw-r--r--
pdb.pyo
42.79
KB
-rw-r--r--
pickle.py
43.76
KB
-rw-r--r--
pickle.pyc
37.74
KB
-rw-r--r--
pickle.pyo
37.54
KB
-rw-r--r--
pickletools.py
72.61
KB
-rw-r--r--
pickletools.pyc
55.8
KB
-rw-r--r--
pickletools.pyo
54.93
KB
-rw-r--r--
pipes.py
9.42
KB
-rw-r--r--
pipes.pyc
9.24
KB
-rw-r--r--
pipes.pyo
9.24
KB
-rw-r--r--
pkgutil.py
19.53
KB
-rw-r--r--
pkgutil.pyc
18.57
KB
-rw-r--r--
pkgutil.pyo
18.57
KB
-rw-r--r--
platform.py
51.39
KB
-rwxr-xr-x
platform.pyc
37.87
KB
-rw-r--r--
platform.pyo
37.87
KB
-rw-r--r--
plistlib.py
14.83
KB
-rw-r--r--
plistlib.pyc
18.88
KB
-rw-r--r--
plistlib.pyo
18.79
KB
-rw-r--r--
popen2.py
8.22
KB
-rw-r--r--
popen2.pyc
8.85
KB
-rw-r--r--
popen2.pyo
8.81
KB
-rw-r--r--
poplib.py
12.52
KB
-rw-r--r--
poplib.pyc
13.1
KB
-rw-r--r--
poplib.pyo
13.1
KB
-rw-r--r--
posixfile.py
7.82
KB
-rw-r--r--
posixfile.pyc
7.54
KB
-rw-r--r--
posixfile.pyo
7.54
KB
-rw-r--r--
posixpath.py
12.81
KB
-rw-r--r--
posixpath.pyc
10.93
KB
-rw-r--r--
posixpath.pyo
10.93
KB
-rw-r--r--
pprint.py
11.65
KB
-rw-r--r--
pprint.pyc
10.15
KB
-rw-r--r--
pprint.pyo
9.98
KB
-rw-r--r--
profile.py
22.96
KB
-rwxr-xr-x
profile.pyc
16.29
KB
-rw-r--r--
profile.pyo
16.05
KB
-rw-r--r--
pstats.py
26.67
KB
-rw-r--r--
pstats.pyc
24.75
KB
-rw-r--r--
pstats.pyo
24.75
KB
-rw-r--r--
pty.py
4.75
KB
-rw-r--r--
pty.pyc
4.8
KB
-rw-r--r--
pty.pyo
4.8
KB
-rw-r--r--
py_compile.py
5.5
KB
-rw-r--r--
py_compile.pyc
6.4
KB
-rw-r--r--
py_compile.pyo
6.4
KB
-rw-r--r--
pyclbr.py
12.97
KB
-rw-r--r--
pyclbr.pyc
9.5
KB
-rw-r--r--
pyclbr.pyo
9.5
KB
-rw-r--r--
pydoc.py
90.27
KB
-rwxr-xr-x
pydoc.pyc
88.92
KB
-rw-r--r--
pydoc.pyo
88.85
KB
-rw-r--r--
pydoc_topics.py
413.21
KB
-rw-r--r--
pydoc_topics.pyc
398.04
KB
-rw-r--r--
pydoc_topics.pyo
398.04
KB
-rw-r--r--
quopri.py
6.81
KB
-rwxr-xr-x
quopri.pyc
6.53
KB
-rw-r--r--
quopri.pyo
6.53
KB
-rw-r--r--
random.py
31.22
KB
-rw-r--r--
random.pyc
24.52
KB
-rw-r--r--
random.pyo
24.52
KB
-rw-r--r--
re.py
12.66
KB
-rw-r--r--
re.pyc
12.86
KB
-rw-r--r--
re.pyo
12.86
KB
-rw-r--r--
repr.py
4.2
KB
-rw-r--r--
repr.pyc
5.31
KB
-rw-r--r--
repr.pyo
5.31
KB
-rw-r--r--
rexec.py
19.68
KB
-rw-r--r--
rexec.pyc
23.65
KB
-rw-r--r--
rexec.pyo
23.65
KB
-rw-r--r--
rfc822.py
32.51
KB
-rw-r--r--
rfc822.pyc
31.36
KB
-rw-r--r--
rfc822.pyo
31.36
KB
-rw-r--r--
rlcompleter.py
5.73
KB
-rw-r--r--
rlcompleter.pyc
5.93
KB
-rw-r--r--
rlcompleter.pyo
5.93
KB
-rw-r--r--
robotparser.py
6.85
KB
-rw-r--r--
robotparser.pyc
7.67
KB
-rw-r--r--
robotparser.pyo
7.67
KB
-rw-r--r--
runpy.py
5.29
KB
-rw-r--r--
runpy.pyc
3.89
KB
-rw-r--r--
runpy.pyo
3.89
KB
-rw-r--r--
sched.py
4.97
KB
-rw-r--r--
sched.pyc
4.89
KB
-rw-r--r--
sched.pyo
4.89
KB
-rw-r--r--
sets.py
18.6
KB
-rw-r--r--
sets.pyc
16.6
KB
-rw-r--r--
sets.pyo
16.6
KB
-rw-r--r--
sgmllib.py
17.46
KB
-rw-r--r--
sgmllib.pyc
15.23
KB
-rw-r--r--
sgmllib.pyo
15.23
KB
-rw-r--r--
sha.py
445
B
-rw-r--r--
sha.pyc
421
B
-rw-r--r--
sha.pyo
421
B
-rw-r--r--
shelve.py
7.89
KB
-rw-r--r--
shelve.pyc
10.05
KB
-rw-r--r--
shelve.pyo
10.05
KB
-rw-r--r--
shlex.py
10.88
KB
-rw-r--r--
shlex.pyc
7.53
KB
-rw-r--r--
shlex.pyo
7.53
KB
-rw-r--r--
shutil.py
8.43
KB
-rw-r--r--
shutil.pyc
9.33
KB
-rw-r--r--
shutil.pyo
9.33
KB
-rw-r--r--
site.py
18.74
KB
-rw-r--r--
site.pyc
18.38
KB
-rw-r--r--
site.pyo
18.38
KB
-rw-r--r--
smtpd.py
18.48
KB
-rwxr-xr-x
smtpd.pyc
15.81
KB
-rw-r--r--
smtpd.pyo
15.81
KB
-rw-r--r--
smtplib.py
30.2
KB
-rwxr-xr-x
smtplib.pyc
29.04
KB
-rw-r--r--
smtplib.pyo
29.04
KB
-rw-r--r--
sndhdr.py
5.83
KB
-rw-r--r--
sndhdr.pyc
7.25
KB
-rw-r--r--
sndhdr.pyo
7.25
KB
-rw-r--r--
socket.py
19.68
KB
-rw-r--r--
socket.pyc
15.75
KB
-rw-r--r--
socket.pyo
15.67
KB
-rw-r--r--
sre.py
384
B
-rw-r--r--
sre.pyc
519
B
-rw-r--r--
sre.pyo
519
B
-rw-r--r--
sre_compile.py
16.12
KB
-rw-r--r--
sre_compile.pyc
11.21
KB
-rw-r--r--
sre_compile.pyo
11.1
KB
-rw-r--r--
sre_constants.py
6.97
KB
-rw-r--r--
sre_constants.pyc
5.95
KB
-rw-r--r--
sre_constants.pyo
5.95
KB
-rw-r--r--
sre_parse.py
26.25
KB
-rw-r--r--
sre_parse.pyc
19.23
KB
-rw-r--r--
sre_parse.pyo
19.23
KB
-rw-r--r--
ssl.py
14.48
KB
-rw-r--r--
ssl.pyc
13.35
KB
-rw-r--r--
ssl.pyo
13.35
KB
-rw-r--r--
stat.py
1.68
KB
-rw-r--r--
stat.pyc
2.64
KB
-rw-r--r--
stat.pyo
2.64
KB
-rw-r--r--
statvfs.py
898
B
-rw-r--r--
statvfs.pyc
620
B
-rw-r--r--
statvfs.pyo
620
B
-rw-r--r--
string.py
20.26
KB
-rw-r--r--
string.pyc
19.6
KB
-rw-r--r--
string.pyo
19.6
KB
-rw-r--r--
stringold.py
12.16
KB
-rw-r--r--
stringold.pyc
12.3
KB
-rw-r--r--
stringold.pyo
12.3
KB
-rw-r--r--
stringprep.py
13.21
KB
-rw-r--r--
stringprep.pyc
14.19
KB
-rw-r--r--
stringprep.pyo
14.11
KB
-rw-r--r--
struct.py
82
B
-rw-r--r--
struct.pyc
239
B
-rw-r--r--
struct.pyo
239
B
-rw-r--r--
subprocess.py
56.59
KB
-rw-r--r--
subprocess.pyc
40.11
KB
-rw-r--r--
subprocess.pyo
40.05
KB
-rw-r--r--
sunau.py
16.15
KB
-rw-r--r--
sunau.pyc
17.65
KB
-rw-r--r--
sunau.pyo
17.65
KB
-rw-r--r--
sunaudio.py
1.37
KB
-rw-r--r--
sunaudio.pyc
1.95
KB
-rw-r--r--
sunaudio.pyo
1.95
KB
-rw-r--r--
symbol.py
2
KB
-rwxr-xr-x
symbol.pyc
2.95
KB
-rw-r--r--
symbol.pyo
2.95
KB
-rw-r--r--
symtable.py
7.73
KB
-rw-r--r--
symtable.pyc
12.31
KB
-rw-r--r--
symtable.pyo
12.19
KB
-rw-r--r--
tabnanny.py
11.07
KB
-rwxr-xr-x
tabnanny.pyc
8.14
KB
-rw-r--r--
tabnanny.pyo
8.14
KB
-rw-r--r--
tarfile.py
84.81
KB
-rw-r--r--
tarfile.pyc
71.79
KB
-rw-r--r--
tarfile.pyo
71.79
KB
-rw-r--r--
telnetlib.py
21.3
KB
-rw-r--r--
telnetlib.pyc
19.45
KB
-rw-r--r--
telnetlib.pyo
19.45
KB
-rw-r--r--
tempfile.py
17.36
KB
-rw-r--r--
tempfile.pyc
19.11
KB
-rw-r--r--
tempfile.pyo
19.11
KB
-rw-r--r--
textwrap.py
16.49
KB
-rw-r--r--
textwrap.pyc
11.52
KB
-rw-r--r--
textwrap.pyo
11.43
KB
-rw-r--r--
this.py
1002
B
-rw-r--r--
this.pyc
1.21
KB
-rw-r--r--
this.pyo
1.21
KB
-rw-r--r--
threading.py
31.06
KB
-rw-r--r--
threading.pyc
27.49
KB
-rw-r--r--
threading.pyo
25.47
KB
-rw-r--r--
timeit.py
11.72
KB
-rw-r--r--
timeit.pyc
11.55
KB
-rw-r--r--
timeit.pyo
11.55
KB
-rw-r--r--
toaiff.py
3.07
KB
-rw-r--r--
toaiff.pyc
3.06
KB
-rw-r--r--
toaiff.pyo
3.06
KB
-rw-r--r--
token.py
2.88
KB
-rwxr-xr-x
token.pyc
3.75
KB
-rw-r--r--
token.pyo
3.75
KB
-rw-r--r--
tokenize.py
15.94
KB
-rw-r--r--
tokenize.pyc
13.69
KB
-rw-r--r--
tokenize.pyo
13.6
KB
-rw-r--r--
trace.py
29.61
KB
-rw-r--r--
trace.pyc
22.51
KB
-rw-r--r--
trace.pyo
22.45
KB
-rw-r--r--
traceback.py
10.95
KB
-rw-r--r--
traceback.pyc
11.4
KB
-rw-r--r--
traceback.pyo
11.4
KB
-rw-r--r--
tty.py
879
B
-rw-r--r--
tty.pyc
1.29
KB
-rw-r--r--
tty.pyo
1.29
KB
-rw-r--r--
types.py
2.27
KB
-rw-r--r--
types.pyc
2.56
KB
-rw-r--r--
types.pyo
2.56
KB
-rw-r--r--
unittest.py
30.43
KB
-rw-r--r--
unittest.pyc
34.04
KB
-rw-r--r--
unittest.pyo
34.04
KB
-rw-r--r--
urllib.py
57.64
KB
-rw-r--r--
urllib.pyc
50.14
KB
-rw-r--r--
urllib.pyo
50.05
KB
-rw-r--r--
urllib2.py
49.39
KB
-rw-r--r--
urllib2.pyc
44.74
KB
-rw-r--r--
urllib2.pyo
44.65
KB
-rw-r--r--
urlparse.py
14.16
KB
-rw-r--r--
urlparse.pyc
13.72
KB
-rw-r--r--
urlparse.pyo
13.72
KB
-rw-r--r--
user.py
1.59
KB
-rw-r--r--
user.pyc
1.7
KB
-rw-r--r--
user.pyo
1.7
KB
-rw-r--r--
uu.py
5.8
KB
-rwxr-xr-x
uu.pyc
4.14
KB
-rw-r--r--
uu.pyo
4.14
KB
-rw-r--r--
uuid.py
20.45
KB
-rw-r--r--
uuid.pyc
20.78
KB
-rw-r--r--
uuid.pyo
20.78
KB
-rw-r--r--
warnings.py
13.84
KB
-rw-r--r--
warnings.pyc
12.74
KB
-rw-r--r--
warnings.pyo
11.92
KB
-rw-r--r--
wave.py
17.53
KB
-rw-r--r--
wave.pyc
18.98
KB
-rw-r--r--
wave.pyo
18.98
KB
-rw-r--r--
weakref.py
9.85
KB
-rw-r--r--
weakref.pyc
13.06
KB
-rw-r--r--
weakref.pyo
13.06
KB
-rw-r--r--
webbrowser.py
20.58
KB
-rw-r--r--
webbrowser.pyc
18.32
KB
-rw-r--r--
webbrowser.pyo
18.27
KB
-rw-r--r--
whichdb.py
3.27
KB
-rw-r--r--
whichdb.pyc
2.19
KB
-rw-r--r--
whichdb.pyo
2.19
KB
-rw-r--r--
xdrlib.py
5.38
KB
-rw-r--r--
xdrlib.pyc
8.94
KB
-rw-r--r--
xdrlib.pyo
8.94
KB
-rw-r--r--
xmllib.py
34.05
KB
-rw-r--r--
xmllib.pyc
26.63
KB
-rw-r--r--
xmllib.pyo
26.63
KB
-rw-r--r--
xmlrpclib.py
46.66
KB
-rw-r--r--
xmlrpclib.pyc
40.52
KB
-rw-r--r--
xmlrpclib.pyo
40.34
KB
-rw-r--r--
zipfile.py
51.85
KB
-rw-r--r--
zipfile.pyc
36.77
KB
-rw-r--r--
zipfile.pyo
36.77
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : warnings.py
"""Python part of the warnings subsystem.""" # Note: function level imports should *not* be used # in this module as it may cause import lock deadlock. # See bug 683658. import linecache import sys import types __all__ = ["warn", "showwarning", "formatwarning", "filterwarnings", "resetwarnings", "catch_warnings"] def warnpy3k(message, category=None, stacklevel=1): """Issue a deprecation warning for Python 3.x related changes. Warnings are omitted unless Python is started with the -3 option. """ if sys.py3kwarning: if category is None: category = DeprecationWarning warn(message, category, stacklevel+1) def _show_warning(message, category, filename, lineno, file=None, line=None): """Hook to write a warning to a file; replace if you like.""" if file is None: file = sys.stderr try: file.write(formatwarning(message, category, filename, lineno, line)) except IOError: pass # the file (probably stderr) is invalid - this warning gets lost. # Keep a working version around in case the deprecation of the old API is # triggered. showwarning = _show_warning def formatwarning(message, category, filename, lineno, line=None): """Function to format a warning the standard way.""" s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message) line = linecache.getline(filename, lineno) if line is None else line if line: line = line.strip() s += " %s\n" % line return s def filterwarnings(action, message="", category=Warning, module="", lineno=0, append=0): """Insert an entry into the list of warnings filters (at the front). Use assertions to check that all arguments have the right type.""" import re assert action in ("error", "ignore", "always", "default", "module", "once"), "invalid action: %r" % (action,) assert isinstance(message, basestring), "message must be a string" assert isinstance(category, (type, types.ClassType)), \ "category must be a class" assert issubclass(category, Warning), "category must be a Warning subclass" assert isinstance(module, basestring), "module must be a string" assert isinstance(lineno, int) and lineno >= 0, \ "lineno must be an int >= 0" item = (action, re.compile(message, re.I), category, re.compile(module), lineno) if append: filters.append(item) else: filters.insert(0, item) def simplefilter(action, category=Warning, lineno=0, append=0): """Insert a simple entry into the list of warnings filters (at the front). A simple filter matches all modules and messages. """ assert action in ("error", "ignore", "always", "default", "module", "once"), "invalid action: %r" % (action,) assert isinstance(lineno, int) and lineno >= 0, \ "lineno must be an int >= 0" item = (action, None, category, None, lineno) if append: filters.append(item) else: filters.insert(0, item) def resetwarnings(): """Clear the list of warning filters, so that no filters are active.""" filters[:] = [] class _OptionError(Exception): """Exception used by option processing helpers.""" pass # Helper to process -W options passed via sys.warnoptions def _processoptions(args): for arg in args: try: _setoption(arg) except _OptionError, msg: print >>sys.stderr, "Invalid -W option ignored:", msg # Helper for _processoptions() def _setoption(arg): import re parts = arg.split(':') if len(parts) > 5: raise _OptionError("too many fields (max 5): %r" % (arg,)) while len(parts) < 5: parts.append('') action, message, category, module, lineno = [s.strip() for s in parts] action = _getaction(action) message = re.escape(message) category = _getcategory(category) module = re.escape(module) if module: module = module + '$' if lineno: try: lineno = int(lineno) if lineno < 0: raise ValueError except (ValueError, OverflowError): raise _OptionError("invalid lineno %r" % (lineno,)) else: lineno = 0 filterwarnings(action, message, category, module, lineno) # Helper for _setoption() def _getaction(action): if not action: return "default" if action == "all": return "always" # Alias for a in ('default', 'always', 'ignore', 'module', 'once', 'error'): if a.startswith(action): return a raise _OptionError("invalid action: %r" % (action,)) # Helper for _setoption() def _getcategory(category): import re if not category: return Warning if re.match("^[a-zA-Z0-9_]+$", category): try: cat = eval(category) except NameError: raise _OptionError("unknown warning category: %r" % (category,)) else: i = category.rfind(".") module = category[:i] klass = category[i+1:] try: m = __import__(module, None, None, [klass]) except ImportError: raise _OptionError("invalid module name: %r" % (module,)) try: cat = getattr(m, klass) except AttributeError: raise _OptionError("unknown warning category: %r" % (category,)) if not issubclass(cat, Warning): raise _OptionError("invalid warning category: %r" % (category,)) return cat # Code typically replaced by _warnings def warn(message, category=None, stacklevel=1): """Issue a warning, or maybe ignore it or raise an exception.""" # Check if message is already a Warning object if isinstance(message, Warning): category = message.__class__ # Check category argument if category is None: category = UserWarning assert issubclass(category, Warning) # Get context information try: caller = sys._getframe(stacklevel) except ValueError: globals = sys.__dict__ lineno = 1 else: globals = caller.f_globals lineno = caller.f_lineno if '__name__' in globals: module = globals['__name__'] else: module = "<string>" filename = globals.get('__file__') if filename: fnl = filename.lower() if fnl.endswith((".pyc", ".pyo")): filename = filename[:-1] else: if module == "__main__": try: filename = sys.argv[0] except AttributeError: # embedded interpreters don't have sys.argv, see bug #839151 filename = '__main__' if not filename: filename = module registry = globals.setdefault("__warningregistry__", {}) warn_explicit(message, category, filename, lineno, module, registry, globals) def warn_explicit(message, category, filename, lineno, module=None, registry=None, module_globals=None): lineno = int(lineno) if module is None: module = filename or "<unknown>" if module[-3:].lower() == ".py": module = module[:-3] # XXX What about leading pathname? if registry is None: registry = {} if isinstance(message, Warning): text = str(message) category = message.__class__ else: text = message message = category(message) key = (text, category, lineno) # Quick test for common case if registry.get(key): return # Search the filters for item in filters: action, msg, cat, mod, ln = item if ((msg is None or msg.match(text)) and issubclass(category, cat) and (mod is None or mod.match(module)) and (ln == 0 or lineno == ln)): break else: action = defaultaction # Early exit actions if action == "ignore": registry[key] = 1 return # Prime the linecache for formatting, in case the # "file" is actually in a zipfile or something. linecache.getlines(filename, module_globals) if action == "error": raise message # Other actions if action == "once": registry[key] = 1 oncekey = (text, category) if onceregistry.get(oncekey): return onceregistry[oncekey] = 1 elif action == "always": pass elif action == "module": registry[key] = 1 altkey = (text, category, 0) if registry.get(altkey): return registry[altkey] = 1 elif action == "default": registry[key] = 1 else: # Unrecognized actions are errors raise RuntimeError( "Unrecognized action (%r) in warnings.filters:\n %s" % (action, item)) # Warn if showwarning() does not support the 'line' argument. # Don't use 'inspect' as it relies on an extension module, which break the # build thanks to 'warnings' being imported by setup.py. fxn_code = None if hasattr(showwarning, 'func_code'): fxn_code = showwarning.func_code elif hasattr(showwarning, '__func__'): fxn_code = showwarning.__func__.func_code if fxn_code: args = fxn_code.co_varnames[:fxn_code.co_argcount] CO_VARARGS = 0x4 if 'line' not in args and not fxn_code.co_flags & CO_VARARGS: showwarning_msg = ("functions overriding warnings.showwarning() " "must support the 'line' argument") if message == showwarning_msg: _show_warning(message, category, filename, lineno) else: warn(showwarning_msg, DeprecationWarning) # Print message and context showwarning(message, category, filename, lineno) class WarningMessage(object): """Holds the result of a single showwarning() call.""" _WARNING_DETAILS = ("message", "category", "filename", "lineno", "file", "line") def __init__(self, message, category, filename, lineno, file=None, line=None): local_values = locals() for attr in self._WARNING_DETAILS: setattr(self, attr, local_values[attr]) self._category_name = category.__name__ if category else None def __str__(self): return ("{message : %r, category : %r, filename : %r, lineno : %s, " "line : %r}" % (self.message, self._category_name, self.filename, self.lineno, self.line)) class catch_warnings(object): """A context manager that copies and restores the warnings filter upon exiting the context. The 'record' argument specifies whether warnings should be captured by a custom implementation of warnings.showwarning() and be appended to a list returned by the context manager. Otherwise None is returned by the context manager. The objects appended to the list are arguments whose attributes mirror the arguments to showwarning(). The 'module' argument is to specify an alternative module to the module named 'warnings' and imported under that name. This argument is only useful when testing the warnings module itself. """ def __init__(self, record=False, module=None): """Specify whether to record warnings and if an alternative module should be used other than sys.modules['warnings']. For compatibility with Python 3.0, please consider all arguments to be keyword-only. """ self._record = record self._module = sys.modules['warnings'] if module is None else module self._entered = False def __repr__(self): args = [] if self._record: args.append("record=True") if self._module is not sys.modules['warnings']: args.append("module=%r" % self._module) name = type(self).__name__ return "%s(%s)" % (name, ", ".join(args)) def __enter__(self): if self._entered: raise RuntimeError("Cannot enter %r twice" % self) self._entered = True self._filters = self._module.filters self._module.filters = self._filters[:] self._showwarning = self._module.showwarning if self._record: log = [] def showwarning(*args, **kwargs): log.append(WarningMessage(*args, **kwargs)) self._module.showwarning = showwarning return log else: return None def __exit__(self, *exc_info): if not self._entered: raise RuntimeError("Cannot exit %r without entering first" % self) self._module.filters = self._filters self._module.showwarning = self._showwarning # filters contains a sequence of filter 5-tuples # The components of the 5-tuple are: # - an action: error, ignore, always, default, module, or once # - a compiled regex that must match the warning message # - a class representing the warning category # - a compiled regex that must match the module that is being warned # - a line number for the line being warning, or 0 to mean any line # If either if the compiled regexs are None, match anything. _warnings_defaults = False try: from _warnings import (filters, default_action, once_registry, warn, warn_explicit) defaultaction = default_action onceregistry = once_registry _warnings_defaults = True except ImportError: filters = [] defaultaction = "default" onceregistry = {} # Module initialization _processoptions(sys.warnoptions) if not _warnings_defaults: simplefilter("ignore", category=PendingDeprecationWarning, append=1) simplefilter("ignore", category=ImportWarning, append=1) bytes_warning = sys.flags.bytes_warning if bytes_warning > 1: bytes_action = "error" elif bytes_warning: bytes_action = "default" else: bytes_action = "ignore" simplefilter(bytes_action, category=BytesWarning, append=1) del _warnings_defaults
Close