Linux localhost 6.1.10-x86_64-linode159 #1 SMP PREEMPT_DYNAMIC Wed Feb 8 14:14:45 EST 2023 x86_64
Apache/2.4.25 (Debian)
Server IP : 45.33.61.127 & Your IP : 216.73.216.156
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
Delete
Unzip
Name
Size
Permission
Date
Action
bsddb
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
compiler
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
ctypes
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
curses
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
dist-packages
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
distutils
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
email
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
encodings
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
ensurepip
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
hotshot
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
importlib
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
json
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
lib-dynload
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
lib-tk
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
lib2to3
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
logging
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
multiprocessing
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
plat-x86_64-linux-gnu
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
pydoc_data
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
sqlite3
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
test
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
unittest
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
wsgiref
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
xml
[ DIR ]
drwxr-xr-x
2023-06-04 17:22
BaseHTTPServer.py
22.21
KB
-rw-r--r--
2020-08-22 10:03
BaseHTTPServer.pyc
21.17
KB
-rw-r--r--
2020-10-08 05:15
Bastion.py
5.61
KB
-rw-r--r--
2020-08-22 10:03
Bastion.pyc
6.47
KB
-rw-r--r--
2020-10-08 05:15
CGIHTTPServer.py
12.78
KB
-rw-r--r--
2020-08-22 10:03
CGIHTTPServer.pyc
10.73
KB
-rw-r--r--
2020-10-08 05:15
ConfigParser.py
27.1
KB
-rw-r--r--
2020-08-22 10:03
ConfigParser.pyc
24.51
KB
-rw-r--r--
2020-10-08 05:15
Cookie.py
25.92
KB
-rw-r--r--
2020-08-22 10:03
Cookie.pyc
22.05
KB
-rw-r--r--
2020-10-08 05:15
DocXMLRPCServer.py
10.25
KB
-rw-r--r--
2020-08-22 10:03
DocXMLRPCServer.pyc
9.57
KB
-rw-r--r--
2020-10-08 05:15
HTMLParser.py
16.73
KB
-rw-r--r--
2020-08-22 10:03
HTMLParser.pyc
13.34
KB
-rw-r--r--
2020-10-08 05:15
LICENSE.txt
12.47
KB
-rw-r--r--
2020-08-22 10:03
MimeWriter.py
6.33
KB
-rw-r--r--
2020-08-22 10:03
MimeWriter.pyc
7.17
KB
-rw-r--r--
2020-10-08 05:15
Queue.py
8.38
KB
-rw-r--r--
2020-08-22 10:03
Queue.pyc
9.15
KB
-rw-r--r--
2020-10-08 05:15
SimpleHTTPServer.py
7.81
KB
-rw-r--r--
2020-08-22 10:03
SimpleHTTPServer.pyc
7.8
KB
-rw-r--r--
2020-10-08 05:15
SimpleXMLRPCServer.py
25.21
KB
-rw-r--r--
2020-08-22 10:03
SimpleXMLRPCServer.pyc
22.26
KB
-rw-r--r--
2020-10-08 05:15
SocketServer.py
23.24
KB
-rw-r--r--
2020-08-22 10:03
SocketServer.pyc
23.39
KB
-rw-r--r--
2020-10-08 05:15
StringIO.py
10.41
KB
-rw-r--r--
2020-08-22 10:03
StringIO.pyc
11.17
KB
-rw-r--r--
2020-10-08 05:15
UserDict.py
6.89
KB
-rw-r--r--
2020-08-22 10:03
UserDict.pyc
9.4
KB
-rw-r--r--
2020-10-08 05:15
UserList.py
3.56
KB
-rw-r--r--
2020-08-22 10:03
UserList.pyc
6.36
KB
-rw-r--r--
2020-10-08 05:15
UserString.py
9.46
KB
-rwxr-xr-x
2020-08-22 10:03
UserString.pyc
14.38
KB
-rw-r--r--
2020-10-08 05:15
_LWPCookieJar.py
6.4
KB
-rw-r--r--
2020-08-22 10:03
_LWPCookieJar.pyc
5.29
KB
-rw-r--r--
2020-10-08 05:15
_MozillaCookieJar.py
5.66
KB
-rw-r--r--
2020-08-22 10:03
_MozillaCookieJar.pyc
4.35
KB
-rw-r--r--
2020-10-08 05:15
__future__.py
4.28
KB
-rw-r--r--
2020-08-22 10:03
__future__.pyc
4.11
KB
-rw-r--r--
2020-10-08 05:15
__phello__.foo.py
64
B
-rw-r--r--
2020-08-22 10:03
__phello__.foo.pyc
123
B
-rw-r--r--
2020-10-08 05:15
_abcoll.py
18.18
KB
-rw-r--r--
2020-08-22 10:03
_abcoll.pyc
24.88
KB
-rw-r--r--
2020-10-08 05:15
_osx_support.py
18.65
KB
-rw-r--r--
2020-08-22 10:03
_osx_support.pyc
11.45
KB
-rw-r--r--
2020-10-08 05:15
_pyio.py
67.96
KB
-rw-r--r--
2020-08-22 10:03
_pyio.pyc
62.82
KB
-rw-r--r--
2020-10-08 05:15
_strptime.py
20.24
KB
-rw-r--r--
2020-08-22 10:03
_strptime.pyc
14.77
KB
-rw-r--r--
2020-10-08 05:15
_sysconfigdata.py
126
B
-rw-r--r--
2020-08-22 10:03
_sysconfigdata.pyc
279
B
-rw-r--r--
2020-10-08 05:15
_threading_local.py
7.28
KB
-rw-r--r--
2020-08-22 10:03
_threading_local.pyc
6.4
KB
-rw-r--r--
2020-10-08 05:15
_weakrefset.py
5.77
KB
-rw-r--r--
2020-08-22 10:03
_weakrefset.pyc
9.36
KB
-rw-r--r--
2020-10-08 05:15
abc.py
6.98
KB
-rw-r--r--
2020-08-22 10:03
abc.pyc
5.98
KB
-rw-r--r--
2020-10-08 05:15
aifc.py
33.49
KB
-rw-r--r--
2020-08-22 10:03
aifc.pyc
29.5
KB
-rw-r--r--
2020-10-08 05:15
antigravity.py
60
B
-rw-r--r--
2020-08-22 10:03
antigravity.pyc
201
B
-rw-r--r--
2020-10-08 05:15
anydbm.py
2.6
KB
-rw-r--r--
2020-08-22 10:03
anydbm.pyc
2.73
KB
-rw-r--r--
2020-10-08 05:15
argparse.egg-info
217
B
-rw-r--r--
2020-08-22 10:03
argparse.py
87.04
KB
-rw-r--r--
2020-08-22 10:03
argparse.pyc
62.54
KB
-rw-r--r--
2020-10-08 05:15
ast.py
11.53
KB
-rw-r--r--
2020-08-22 10:03
ast.pyc
12.59
KB
-rw-r--r--
2020-10-08 05:15
asynchat.py
11.33
KB
-rw-r--r--
2020-08-22 10:03
asynchat.pyc
8.55
KB
-rw-r--r--
2020-10-08 05:15
asyncore.py
20.36
KB
-rw-r--r--
2020-08-22 10:03
asyncore.pyc
18.28
KB
-rw-r--r--
2020-10-08 05:15
atexit.py
1.67
KB
-rw-r--r--
2020-08-22 10:03
atexit.pyc
2.14
KB
-rw-r--r--
2020-10-08 05:15
audiodev.py
7.42
KB
-rw-r--r--
2020-08-22 10:03
audiodev.pyc
8.22
KB
-rw-r--r--
2020-10-08 05:15
base64.py
11.53
KB
-rwxr-xr-x
2020-08-22 10:03
base64.pyc
11
KB
-rw-r--r--
2020-10-08 05:15
bdb.py
21.21
KB
-rw-r--r--
2020-08-22 10:03
bdb.pyc
18.53
KB
-rw-r--r--
2020-10-08 05:15
binhex.py
14.35
KB
-rw-r--r--
2020-08-22 10:03
binhex.pyc
15
KB
-rw-r--r--
2020-10-08 05:15
bisect.py
2.53
KB
-rw-r--r--
2020-08-22 10:03
bisect.pyc
2.99
KB
-rw-r--r--
2020-10-08 05:15
cProfile.py
6.36
KB
-rwxr-xr-x
2020-08-22 10:03
cProfile.pyc
6.13
KB
-rw-r--r--
2020-10-08 05:15
calendar.py
22.84
KB
-rw-r--r--
2020-08-22 10:03
calendar.pyc
27.1
KB
-rw-r--r--
2020-10-08 05:15
cgi.py
34.01
KB
-rwxr-xr-x
2020-08-22 10:03
cgi.pyc
31.67
KB
-rw-r--r--
2020-10-08 05:15
cgitb.py
11.89
KB
-rw-r--r--
2020-08-22 10:03
cgitb.pyc
11.85
KB
-rw-r--r--
2020-10-08 05:15
chunk.py
5.29
KB
-rw-r--r--
2020-08-22 10:03
chunk.pyc
5.45
KB
-rw-r--r--
2020-10-08 05:15
cmd.py
14.67
KB
-rw-r--r--
2020-08-22 10:03
cmd.pyc
13.67
KB
-rw-r--r--
2020-10-08 05:15
code.py
9.95
KB
-rw-r--r--
2020-08-22 10:03
code.pyc
10.06
KB
-rw-r--r--
2020-10-08 05:15
codecs.py
35.25
KB
-rw-r--r--
2020-08-22 10:03
codecs.pyc
35.8
KB
-rw-r--r--
2020-10-08 05:15
codeop.py
5.86
KB
-rw-r--r--
2020-08-22 10:03
codeop.pyc
6.42
KB
-rw-r--r--
2020-10-08 05:15
collections.py
27.15
KB
-rw-r--r--
2020-08-22 10:03
collections.pyc
25.45
KB
-rw-r--r--
2020-10-08 05:15
colorsys.py
3.6
KB
-rw-r--r--
2020-08-22 10:03
colorsys.pyc
3.88
KB
-rw-r--r--
2020-10-08 05:15
commands.py
2.49
KB
-rw-r--r--
2020-08-22 10:03
commands.pyc
2.4
KB
-rw-r--r--
2020-10-08 05:15
compileall.py
7.58
KB
-rw-r--r--
2020-08-22 10:03
compileall.pyc
6.84
KB
-rw-r--r--
2020-10-08 05:15
contextlib.py
4.32
KB
-rw-r--r--
2020-08-22 10:03
contextlib.pyc
4.33
KB
-rw-r--r--
2020-10-08 05:15
cookielib.py
63.74
KB
-rw-r--r--
2020-08-22 10:03
cookielib.pyc
53.1
KB
-rw-r--r--
2020-10-08 05:15
copy.py
11.26
KB
-rw-r--r--
2020-08-22 10:03
copy.pyc
11.83
KB
-rw-r--r--
2020-10-08 05:15
copy_reg.py
6.64
KB
-rw-r--r--
2020-08-22 10:03
copy_reg.pyc
4.95
KB
-rw-r--r--
2020-10-08 05:15
csv.py
16.32
KB
-rw-r--r--
2020-08-22 10:03
csv.pyc
13.14
KB
-rw-r--r--
2020-10-08 05:15
dbhash.py
498
B
-rw-r--r--
2020-08-22 10:03
dbhash.pyc
714
B
-rw-r--r--
2020-10-08 05:15
decimal.py
216.73
KB
-rw-r--r--
2020-08-22 10:03
decimal.pyc
167.62
KB
-rw-r--r--
2020-10-08 05:15
difflib.py
80.4
KB
-rw-r--r--
2020-08-22 10:03
difflib.pyc
60.34
KB
-rw-r--r--
2020-10-08 05:15
dircache.py
1.1
KB
-rw-r--r--
2020-08-22 10:03
dircache.pyc
1.53
KB
-rw-r--r--
2020-10-08 05:15
dis.py
6.35
KB
-rw-r--r--
2020-08-22 10:03
dis.pyc
6.07
KB
-rw-r--r--
2020-10-08 05:15
doctest.py
102.75
KB
-rw-r--r--
2020-08-22 10:03
doctest.pyc
81.49
KB
-rw-r--r--
2020-10-08 05:15
dumbdbm.py
8.93
KB
-rw-r--r--
2020-08-22 10:03
dumbdbm.pyc
6.55
KB
-rw-r--r--
2020-10-08 05:15
dummy_thread.py
4.31
KB
-rw-r--r--
2020-08-22 10:03
dummy_thread.pyc
5.24
KB
-rw-r--r--
2020-10-08 05:15
dummy_threading.py
2.74
KB
-rw-r--r--
2020-08-22 10:03
dummy_threading.pyc
1.25
KB
-rw-r--r--
2020-10-08 05:15
filecmp.py
9.36
KB
-rw-r--r--
2020-08-22 10:03
filecmp.pyc
9.36
KB
-rw-r--r--
2020-10-08 05:15
fileinput.py
13.42
KB
-rw-r--r--
2020-08-22 10:03
fileinput.pyc
14.1
KB
-rw-r--r--
2020-10-08 05:15
fnmatch.py
3.24
KB
-rw-r--r--
2020-08-22 10:03
fnmatch.pyc
3.52
KB
-rw-r--r--
2020-10-08 05:15
formatter.py
14.56
KB
-rw-r--r--
2020-08-22 10:03
formatter.pyc
18.58
KB
-rw-r--r--
2020-10-08 05:15
fpformat.py
4.59
KB
-rw-r--r--
2020-08-22 10:03
fpformat.pyc
4.55
KB
-rw-r--r--
2020-10-08 05:15
fractions.py
21.87
KB
-rw-r--r--
2020-08-22 10:03
fractions.pyc
19.17
KB
-rw-r--r--
2020-10-08 05:15
ftplib.py
36.87
KB
-rw-r--r--
2020-08-22 10:03
ftplib.pyc
33.63
KB
-rw-r--r--
2020-10-08 05:15
functools.py
4.37
KB
-rw-r--r--
2020-08-22 10:03
functools.pyc
5.86
KB
-rw-r--r--
2020-10-08 05:15
genericpath.py
3.13
KB
-rw-r--r--
2020-08-22 10:03
genericpath.pyc
3.41
KB
-rw-r--r--
2020-10-08 05:15
getopt.py
7.15
KB
-rw-r--r--
2020-08-22 10:03
getopt.pyc
6.48
KB
-rw-r--r--
2020-10-08 05:15
getpass.py
5.43
KB
-rw-r--r--
2020-08-22 10:03
getpass.pyc
4.62
KB
-rw-r--r--
2020-10-08 05:15
gettext.py
22.06
KB
-rw-r--r--
2020-08-22 10:03
gettext.pyc
17.45
KB
-rw-r--r--
2020-10-08 05:15
glob.py
3.04
KB
-rw-r--r--
2020-08-22 10:03
glob.pyc
2.86
KB
-rw-r--r--
2020-10-08 05:15
gzip.py
18.58
KB
-rw-r--r--
2020-08-22 10:03
gzip.pyc
14.78
KB
-rw-r--r--
2020-10-08 05:15
hashlib.py
7.66
KB
-rw-r--r--
2020-08-22 10:03
hashlib.pyc
6.73
KB
-rw-r--r--
2020-10-08 05:15
heapq.py
17.87
KB
-rw-r--r--
2020-08-22 10:03
heapq.pyc
14.19
KB
-rw-r--r--
2020-10-08 05:15
hmac.py
4.48
KB
-rw-r--r--
2020-08-22 10:03
hmac.pyc
4.42
KB
-rw-r--r--
2020-10-08 05:15
htmlentitydefs.py
17.63
KB
-rw-r--r--
2020-08-22 10:03
htmlentitydefs.pyc
6.22
KB
-rw-r--r--
2020-10-08 05:15
htmllib.py
12.57
KB
-rw-r--r--
2020-08-22 10:03
htmllib.pyc
19.66
KB
-rw-r--r--
2020-10-08 05:15
httplib.py
50.26
KB
-rw-r--r--
2020-08-22 10:03
httplib.pyc
35.86
KB
-rw-r--r--
2020-10-08 05:15
ihooks.py
18.54
KB
-rw-r--r--
2020-08-22 10:03
ihooks.pyc
20.74
KB
-rw-r--r--
2020-10-08 05:15
imaplib.py
47.28
KB
-rw-r--r--
2020-08-22 10:03
imaplib.pyc
44.07
KB
-rw-r--r--
2020-10-08 05:15
imghdr.py
3.46
KB
-rw-r--r--
2020-08-22 10:03
imghdr.pyc
4.69
KB
-rw-r--r--
2020-10-08 05:15
imputil.py
25.16
KB
-rw-r--r--
2020-08-22 10:03
imputil.pyc
15.18
KB
-rw-r--r--
2020-10-08 05:15
inspect.py
41.62
KB
-rw-r--r--
2020-08-22 10:03
inspect.pyc
38.97
KB
-rw-r--r--
2020-10-08 05:15
io.py
3.24
KB
-rw-r--r--
2020-08-22 10:03
io.pyc
3.5
KB
-rw-r--r--
2020-10-08 05:15
keyword.py
1.95
KB
-rwxr-xr-x
2020-08-22 10:03
keyword.pyc
2.05
KB
-rw-r--r--
2020-10-08 05:15
linecache.py
3.93
KB
-rw-r--r--
2020-08-22 10:03
linecache.pyc
3.18
KB
-rw-r--r--
2020-10-08 05:15
locale.py
97.19
KB
-rw-r--r--
2020-08-22 10:03
locale.pyc
53.69
KB
-rw-r--r--
2020-10-08 05:15
macpath.py
6.14
KB
-rw-r--r--
2020-08-22 10:03
macpath.pyc
7.46
KB
-rw-r--r--
2020-10-08 05:15
macurl2path.py
2.67
KB
-rw-r--r--
2020-08-22 10:03
macurl2path.pyc
2.18
KB
-rw-r--r--
2020-10-08 05:15
mailbox.py
79.34
KB
-rw-r--r--
2020-08-22 10:03
mailbox.pyc
74.49
KB
-rw-r--r--
2020-10-08 05:15
mailcap.py
7.25
KB
-rw-r--r--
2020-08-22 10:03
mailcap.pyc
6.89
KB
-rw-r--r--
2020-10-08 05:15
markupbase.py
14.3
KB
-rw-r--r--
2020-08-22 10:03
markupbase.pyc
9.02
KB
-rw-r--r--
2020-10-08 05:15
md5.py
358
B
-rw-r--r--
2020-08-22 10:03
md5.pyc
376
B
-rw-r--r--
2020-10-08 05:15
mhlib.py
32.65
KB
-rw-r--r--
2020-08-22 10:03
mhlib.pyc
32.83
KB
-rw-r--r--
2020-10-08 05:15
mimetools.py
7
KB
-rw-r--r--
2020-08-22 10:03
mimetools.pyc
7.97
KB
-rw-r--r--
2020-10-08 05:15
mimetypes.py
20.45
KB
-rw-r--r--
2020-08-22 10:03
mimetypes.pyc
17.96
KB
-rw-r--r--
2020-10-08 05:15
mimify.py
14.67
KB
-rwxr-xr-x
2020-08-22 10:03
mimify.pyc
11.69
KB
-rw-r--r--
2020-10-08 05:15
modulefinder.py
23.89
KB
-rw-r--r--
2020-08-22 10:03
modulefinder.pyc
18.61
KB
-rw-r--r--
2020-10-08 05:15
multifile.py
4.71
KB
-rw-r--r--
2020-08-22 10:03
multifile.pyc
5.26
KB
-rw-r--r--
2020-10-08 05:15
mutex.py
1.83
KB
-rw-r--r--
2020-08-22 10:03
mutex.pyc
2.44
KB
-rw-r--r--
2020-10-08 05:15
netrc.py
5.73
KB
-rw-r--r--
2020-08-22 10:03
netrc.pyc
4.54
KB
-rw-r--r--
2020-10-08 05:15
new.py
610
B
-rw-r--r--
2020-08-22 10:03
new.pyc
860
B
-rw-r--r--
2020-10-08 05:15
nntplib.py
20.97
KB
-rw-r--r--
2020-08-22 10:03
nntplib.pyc
20.46
KB
-rw-r--r--
2020-10-08 05:15
ntpath.py
18.97
KB
-rw-r--r--
2020-08-22 10:03
ntpath.pyc
12.78
KB
-rw-r--r--
2020-10-08 05:15
nturl2path.py
2.36
KB
-rw-r--r--
2020-08-22 10:03
nturl2path.pyc
1.77
KB
-rw-r--r--
2020-10-08 05:15
numbers.py
10.08
KB
-rw-r--r--
2020-08-22 10:03
numbers.pyc
13.56
KB
-rw-r--r--
2020-10-08 05:15
opcode.py
5.35
KB
-rw-r--r--
2020-08-22 10:03
opcode.pyc
5.99
KB
-rw-r--r--
2020-10-08 05:15
optparse.py
59.77
KB
-rw-r--r--
2020-08-22 10:03
optparse.pyc
52.36
KB
-rw-r--r--
2020-10-08 05:15
os.py
25.3
KB
-rw-r--r--
2020-08-22 10:03
os.pyc
24.98
KB
-rw-r--r--
2020-10-08 05:15
os2emxpath.py
4.53
KB
-rw-r--r--
2020-08-22 10:03
os2emxpath.pyc
4.4
KB
-rw-r--r--
2020-10-08 05:15
pdb.doc
7.73
KB
-rw-r--r--
2020-08-22 10:03
pdb.py
45.02
KB
-rwxr-xr-x
2020-08-22 10:03
pdb.pyc
42.42
KB
-rw-r--r--
2020-10-08 05:15
pickle.py
44.42
KB
-rw-r--r--
2020-08-22 10:03
pickle.pyc
37.45
KB
-rw-r--r--
2020-10-08 05:15
pickletools.py
72.79
KB
-rw-r--r--
2020-08-22 10:03
pickletools.pyc
55.64
KB
-rw-r--r--
2020-10-08 05:15
pipes.py
9.36
KB
-rw-r--r--
2020-08-22 10:03
pipes.pyc
9.06
KB
-rw-r--r--
2020-10-08 05:15
pkgutil.py
19.87
KB
-rw-r--r--
2020-08-22 10:03
pkgutil.pyc
18.42
KB
-rw-r--r--
2020-10-08 05:15
platform.py
51.38
KB
-rwxr-xr-x
2020-08-22 10:03
platform.pyc
36.84
KB
-rw-r--r--
2020-10-08 05:15
plistlib.py
14.83
KB
-rw-r--r--
2020-08-22 10:03
plistlib.pyc
18.67
KB
-rw-r--r--
2020-10-08 05:15
popen2.py
8.22
KB
-rw-r--r--
2020-08-22 10:03
popen2.pyc
8.78
KB
-rw-r--r--
2020-10-08 05:15
poplib.py
12.52
KB
-rw-r--r--
2020-08-22 10:03
poplib.pyc
12.97
KB
-rw-r--r--
2020-10-08 05:15
posixfile.py
7.82
KB
-rw-r--r--
2020-08-22 10:03
posixfile.pyc
7.45
KB
-rw-r--r--
2020-10-08 05:15
posixpath.py
13.61
KB
-rw-r--r--
2020-08-22 10:03
posixpath.pyc
11.12
KB
-rw-r--r--
2020-10-08 05:15
pprint.py
11.5
KB
-rw-r--r--
2020-08-22 10:03
pprint.pyc
9.92
KB
-rw-r--r--
2020-10-08 05:15
profile.py
22.25
KB
-rwxr-xr-x
2020-08-22 10:03
profile.pyc
15.99
KB
-rw-r--r--
2020-10-08 05:15
pstats.py
26.09
KB
-rw-r--r--
2020-08-22 10:03
pstats.pyc
24.31
KB
-rw-r--r--
2020-10-08 05:15
pty.py
4.94
KB
-rw-r--r--
2020-08-22 10:03
pty.pyc
4.83
KB
-rw-r--r--
2020-10-08 05:15
py_compile.py
6.14
KB
-rw-r--r--
2020-08-22 10:03
py_compile.pyc
6.46
KB
-rw-r--r--
2020-10-08 05:15
pyclbr.py
13.07
KB
-rw-r--r--
2020-08-22 10:03
pyclbr.pyc
9.4
KB
-rw-r--r--
2020-10-08 05:15
pydoc.py
93.56
KB
-rwxr-xr-x
2020-08-22 10:03
pydoc.pyc
89.91
KB
-rw-r--r--
2020-10-08 05:15
quopri.py
6.8
KB
-rwxr-xr-x
2020-08-22 10:03
quopri.pyc
6.4
KB
-rw-r--r--
2020-10-08 05:15
random.py
31.57
KB
-rw-r--r--
2020-08-22 10:03
random.pyc
24.89
KB
-rw-r--r--
2020-10-08 05:15
re.py
13.11
KB
-rw-r--r--
2020-08-22 10:03
re.pyc
13.06
KB
-rw-r--r--
2020-10-08 05:15
repr.py
4.2
KB
-rw-r--r--
2020-08-22 10:03
repr.pyc
5.23
KB
-rw-r--r--
2020-10-08 05:15
rexec.py
19.68
KB
-rw-r--r--
2020-08-22 10:03
rexec.pyc
23.13
KB
-rw-r--r--
2020-10-08 05:15
rfc822.py
32.76
KB
-rw-r--r--
2020-08-22 10:03
rfc822.pyc
30.95
KB
-rw-r--r--
2020-10-08 05:15
rlcompleter.py
5.85
KB
-rw-r--r--
2020-08-22 10:03
rlcompleter.pyc
5.92
KB
-rw-r--r--
2020-10-08 05:15
robotparser.py
7.41
KB
-rw-r--r--
2020-08-22 10:03
robotparser.pyc
7.73
KB
-rw-r--r--
2020-10-08 05:15
runpy.py
10.82
KB
-rw-r--r--
2020-08-22 10:03
runpy.pyc
8.56
KB
-rw-r--r--
2020-10-08 05:15
sched.py
4.97
KB
-rw-r--r--
2020-08-22 10:03
sched.pyc
4.86
KB
-rw-r--r--
2020-10-08 05:15
sets.py
18.6
KB
-rw-r--r--
2020-08-22 10:03
sets.pyc
16.39
KB
-rw-r--r--
2020-10-08 05:15
sgmllib.py
17.46
KB
-rw-r--r--
2020-08-22 10:03
sgmllib.pyc
14.98
KB
-rw-r--r--
2020-10-08 05:15
sha.py
393
B
-rw-r--r--
2020-08-22 10:03
sha.pyc
419
B
-rw-r--r--
2020-10-08 05:15
shelve.py
7.99
KB
-rw-r--r--
2020-08-22 10:03
shelve.pyc
9.96
KB
-rw-r--r--
2020-10-08 05:15
shlex.py
10.9
KB
-rw-r--r--
2020-08-22 10:03
shlex.pyc
7.36
KB
-rw-r--r--
2020-10-08 05:15
shutil.py
18.63
KB
-rw-r--r--
2020-08-22 10:03
shutil.pyc
18.12
KB
-rw-r--r--
2020-10-08 05:15
site.py
19.48
KB
-rw-r--r--
2020-08-22 10:03
site.pyc
19.08
KB
-rw-r--r--
2020-10-08 05:15
sitecustomize.py
155
B
-rw-r--r--
2017-01-19 14:48
sitecustomize.pyc
232
B
-rw-r--r--
2020-10-08 05:15
smtpd.py
18.11
KB
-rwxr-xr-x
2020-08-22 10:03
smtpd.pyc
15.45
KB
-rw-r--r--
2020-10-08 05:15
smtplib.py
31.35
KB
-rwxr-xr-x
2020-08-22 10:03
smtplib.pyc
29.47
KB
-rw-r--r--
2020-10-08 05:15
sndhdr.py
5.83
KB
-rw-r--r--
2020-08-22 10:03
sndhdr.pyc
7.16
KB
-rw-r--r--
2020-10-08 05:15
socket.py
20.13
KB
-rw-r--r--
2020-08-22 10:03
socket.pyc
15.71
KB
-rw-r--r--
2020-10-08 05:15
sre.py
384
B
-rw-r--r--
2020-08-22 10:03
sre.pyc
517
B
-rw-r--r--
2020-10-08 05:15
sre_compile.py
19.35
KB
-rw-r--r--
2020-08-22 10:03
sre_compile.pyc
12.24
KB
-rw-r--r--
2020-10-08 05:15
sre_constants.py
7.03
KB
-rw-r--r--
2020-08-22 10:03
sre_constants.pyc
6.04
KB
-rw-r--r--
2020-10-08 05:15
sre_parse.py
28.23
KB
-rw-r--r--
2020-08-22 10:03
sre_parse.pyc
19.48
KB
-rw-r--r--
2020-10-08 05:15
ssl.py
36.92
KB
-rw-r--r--
2020-08-22 10:03
ssl.pyc
31.47
KB
-rw-r--r--
2020-10-08 05:15
stat.py
1.8
KB
-rw-r--r--
2020-08-22 10:03
stat.pyc
2.67
KB
-rw-r--r--
2020-10-08 05:15
statvfs.py
898
B
-rw-r--r--
2020-08-22 10:03
statvfs.pyc
618
B
-rw-r--r--
2020-10-08 05:15
string.py
21.04
KB
-rw-r--r--
2020-08-22 10:03
string.pyc
19.88
KB
-rw-r--r--
2020-10-08 05:15
stringold.py
12.16
KB
-rw-r--r--
2020-08-22 10:03
stringold.pyc
12.2
KB
-rw-r--r--
2020-10-08 05:15
stringprep.py
13.21
KB
-rw-r--r--
2020-08-22 10:03
stringprep.pyc
14.11
KB
-rw-r--r--
2020-10-08 05:15
struct.py
82
B
-rw-r--r--
2020-08-22 10:03
struct.pyc
237
B
-rw-r--r--
2020-10-08 05:15
subprocess.py
48.26
KB
-rw-r--r--
2020-08-22 10:03
subprocess.pyc
30.8
KB
-rw-r--r--
2020-10-08 05:15
sunau.py
16.82
KB
-rw-r--r--
2020-08-22 10:03
sunau.pyc
17.87
KB
-rw-r--r--
2020-10-08 05:15
sunaudio.py
1.37
KB
-rw-r--r--
2020-08-22 10:03
sunaudio.pyc
1.93
KB
-rw-r--r--
2020-10-08 05:15
symbol.py
2.01
KB
-rwxr-xr-x
2020-08-22 10:03
symbol.pyc
2.95
KB
-rw-r--r--
2020-10-08 05:15
symtable.py
7.26
KB
-rw-r--r--
2020-08-22 10:03
symtable.pyc
11.41
KB
-rw-r--r--
2020-10-08 05:15
sysconfig.py
24.61
KB
-rw-r--r--
2020-08-22 10:03
sysconfig.pyc
18.19
KB
-rw-r--r--
2020-10-08 05:15
tabnanny.py
11.07
KB
-rwxr-xr-x
2020-08-22 10:03
tabnanny.pyc
8.01
KB
-rw-r--r--
2020-10-08 05:15
tarfile.py
88.53
KB
-rw-r--r--
2020-08-22 10:03
tarfile.pyc
74.07
KB
-rw-r--r--
2020-10-08 05:15
telnetlib.py
26.41
KB
-rw-r--r--
2020-08-22 10:03
telnetlib.pyc
22.54
KB
-rw-r--r--
2020-10-08 05:15
tempfile.py
19.09
KB
-rw-r--r--
2020-08-22 10:03
tempfile.pyc
19.76
KB
-rw-r--r--
2020-10-08 05:15
textwrap.py
16.81
KB
-rw-r--r--
2020-08-22 10:03
textwrap.pyc
11.72
KB
-rw-r--r--
2020-10-08 05:15
this.py
1002
B
-rw-r--r--
2020-08-22 10:03
this.pyc
1.19
KB
-rw-r--r--
2020-10-08 05:15
threading.py
46.03
KB
-rw-r--r--
2020-08-22 10:03
threading.pyc
41.44
KB
-rw-r--r--
2020-10-08 05:15
timeit.py
12.49
KB
-rwxr-xr-x
2020-08-22 10:03
timeit.pyc
11.87
KB
-rw-r--r--
2020-10-08 05:15
toaiff.py
3.07
KB
-rw-r--r--
2020-08-22 10:03
toaiff.pyc
3.03
KB
-rw-r--r--
2020-10-08 05:15
token.py
2.85
KB
-rw-r--r--
2020-08-22 10:03
token.pyc
3.72
KB
-rw-r--r--
2020-10-08 05:15
tokenize.py
17.07
KB
-rw-r--r--
2020-08-22 10:03
tokenize.pyc
14.13
KB
-rw-r--r--
2020-10-08 05:15
trace.py
29.19
KB
-rwxr-xr-x
2020-08-22 10:03
trace.pyc
22.19
KB
-rw-r--r--
2020-10-08 05:15
traceback.py
11.02
KB
-rw-r--r--
2020-08-22 10:03
traceback.pyc
11.37
KB
-rw-r--r--
2020-10-08 05:15
tty.py
879
B
-rw-r--r--
2020-08-22 10:03
tty.pyc
1.28
KB
-rw-r--r--
2020-10-08 05:15
types.py
2.04
KB
-rw-r--r--
2020-08-22 10:03
types.pyc
2.65
KB
-rw-r--r--
2020-10-08 05:15
urllib.py
58.68
KB
-rw-r--r--
2020-08-22 10:03
urllib.pyc
49.75
KB
-rw-r--r--
2020-10-08 05:15
urllib2.py
51.28
KB
-rw-r--r--
2020-08-22 10:03
urllib2.pyc
45.92
KB
-rw-r--r--
2020-10-08 05:15
urlparse.py
15.66
KB
-rw-r--r--
2020-08-22 10:03
urlparse.pyc
14.74
KB
-rw-r--r--
2020-10-08 05:15
user.py
1.59
KB
-rw-r--r--
2020-08-22 10:03
user.pyc
1.68
KB
-rw-r--r--
2020-10-08 05:15
uu.py
6.4
KB
-rwxr-xr-x
2020-08-22 10:03
uu.pyc
4.2
KB
-rw-r--r--
2020-10-08 05:15
uuid.py
22.08
KB
-rw-r--r--
2020-08-22 10:03
uuid.pyc
21.95
KB
-rw-r--r--
2020-10-08 05:15
warnings.py
14.4
KB
-rw-r--r--
2020-08-22 10:03
warnings.pyc
13.12
KB
-rw-r--r--
2020-10-08 05:15
wave.py
18.15
KB
-rw-r--r--
2020-08-22 10:03
wave.pyc
19.44
KB
-rw-r--r--
2020-10-08 05:15
weakref.py
13.28
KB
-rw-r--r--
2020-08-22 10:03
weakref.pyc
15.37
KB
-rw-r--r--
2020-10-08 05:15
webbrowser.py
22.25
KB
-rwxr-xr-x
2020-08-22 10:03
webbrowser.pyc
19.26
KB
-rw-r--r--
2020-10-08 05:15
whichdb.py
3.3
KB
-rw-r--r--
2020-08-22 10:03
whichdb.pyc
2.18
KB
-rw-r--r--
2020-10-08 05:15
wsgiref.egg-info
187
B
-rw-r--r--
2020-08-22 10:03
xdrlib.py
5.93
KB
-rw-r--r--
2020-08-22 10:03
xdrlib.pyc
9.59
KB
-rw-r--r--
2020-10-08 05:15
xmllib.py
34.05
KB
-rw-r--r--
2020-08-22 10:03
xmllib.pyc
26.11
KB
-rw-r--r--
2020-10-08 05:15
xmlrpclib.py
50.91
KB
-rw-r--r--
2020-08-22 10:03
xmlrpclib.pyc
42.8
KB
-rw-r--r--
2020-10-08 05:15
zipfile.py
57.64
KB
-rw-r--r--
2020-08-22 10:03
zipfile.pyc
40.52
KB
-rw-r--r--
2020-10-08 05:15
Save
Rename
"""Macintosh binhex compression/decompression. easy interface: binhex(inputfilename, outputfilename) hexbin(inputfilename, outputfilename) """ # # Jack Jansen, CWI, August 1995. # # The module is supposed to be as compatible as possible. Especially the # easy interface should work "as expected" on any platform. # XXXX Note: currently, textfiles appear in mac-form on all platforms. # We seem to lack a simple character-translate in python. # (we should probably use ISO-Latin-1 on all but the mac platform). # XXXX The simple routines are too simple: they expect to hold the complete # files in-core. Should be fixed. # XXXX It would be nice to handle AppleDouble format on unix # (for servers serving macs). # XXXX I don't understand what happens when you get 0x90 times the same byte on # input. The resulting code (xx 90 90) would appear to be interpreted as an # escaped *value* of 0x90. All coders I've seen appear to ignore this nicety... # import sys import os import struct import binascii __all__ = ["binhex","hexbin","Error"] class Error(Exception): pass # States (what have we written) _DID_HEADER = 0 _DID_DATA = 1 # Various constants REASONABLY_LARGE=32768 # Minimal amount we pass the rle-coder LINELEN=64 RUNCHAR=chr(0x90) # run-length introducer # # This code is no longer byte-order dependent # # Workarounds for non-mac machines. try: from Carbon.File import FSSpec, FInfo from MacOS import openrf def getfileinfo(name): finfo = FSSpec(name).FSpGetFInfo() dir, file = os.path.split(name) # XXX Get resource/data sizes fp = open(name, 'rb') fp.seek(0, 2) dlen = fp.tell() fp = openrf(name, '*rb') fp.seek(0, 2) rlen = fp.tell() return file, finfo, dlen, rlen def openrsrc(name, *mode): if not mode: mode = '*rb' else: mode = '*' + mode[0] return openrf(name, mode) except ImportError: # # Glue code for non-macintosh usage # class FInfo: def __init__(self): self.Type = '????' self.Creator = '????' self.Flags = 0 def getfileinfo(name): finfo = FInfo() # Quick check for textfile fp = open(name) data = open(name).read(256) for c in data: if not c.isspace() and (c<' ' or ord(c) > 0x7f): break else: finfo.Type = 'TEXT' fp.seek(0, 2) dsize = fp.tell() fp.close() dir, file = os.path.split(name) file = file.replace(':', '-', 1) return file, finfo, dsize, 0 class openrsrc: def __init__(self, *args): pass def read(self, *args): return '' def write(self, *args): pass def close(self): pass class _Hqxcoderengine: """Write data to the coder in 3-byte chunks""" def __init__(self, ofp): self.ofp = ofp self.data = '' self.hqxdata = '' self.linelen = LINELEN-1 def write(self, data): self.data = self.data + data datalen = len(self.data) todo = (datalen//3)*3 data = self.data[:todo] self.data = self.data[todo:] if not data: return self.hqxdata = self.hqxdata + binascii.b2a_hqx(data) self._flush(0) def _flush(self, force): first = 0 while first <= len(self.hqxdata)-self.linelen: last = first + self.linelen self.ofp.write(self.hqxdata[first:last]+'\n') self.linelen = LINELEN first = last self.hqxdata = self.hqxdata[first:] if force: self.ofp.write(self.hqxdata + ':\n') def close(self): if self.data: self.hqxdata = \ self.hqxdata + binascii.b2a_hqx(self.data) self._flush(1) self.ofp.close() del self.ofp class _Rlecoderengine: """Write data to the RLE-coder in suitably large chunks""" def __init__(self, ofp): self.ofp = ofp self.data = '' def write(self, data): self.data = self.data + data if len(self.data) < REASONABLY_LARGE: return rledata = binascii.rlecode_hqx(self.data) self.ofp.write(rledata) self.data = '' def close(self): if self.data: rledata = binascii.rlecode_hqx(self.data) self.ofp.write(rledata) self.ofp.close() del self.ofp class BinHex: def __init__(self, name_finfo_dlen_rlen, ofp): name, finfo, dlen, rlen = name_finfo_dlen_rlen if type(ofp) == type(''): ofname = ofp ofp = open(ofname, 'w') ofp.write('(This file must be converted with BinHex 4.0)\n\n:') hqxer = _Hqxcoderengine(ofp) self.ofp = _Rlecoderengine(hqxer) self.crc = 0 if finfo is None: finfo = FInfo() self.dlen = dlen self.rlen = rlen self._writeinfo(name, finfo) self.state = _DID_HEADER def _writeinfo(self, name, finfo): nl = len(name) if nl > 63: raise Error, 'Filename too long' d = chr(nl) + name + '\0' d2 = finfo.Type + finfo.Creator # Force all structs to be packed with big-endian d3 = struct.pack('>h', finfo.Flags) d4 = struct.pack('>ii', self.dlen, self.rlen) info = d + d2 + d3 + d4 self._write(info) self._writecrc() def _write(self, data): self.crc = binascii.crc_hqx(data, self.crc) self.ofp.write(data) def _writecrc(self): # XXXX Should this be here?? # self.crc = binascii.crc_hqx('\0\0', self.crc) if self.crc < 0: fmt = '>h' else: fmt = '>H' self.ofp.write(struct.pack(fmt, self.crc)) self.crc = 0 def write(self, data): if self.state != _DID_HEADER: raise Error, 'Writing data at the wrong time' self.dlen = self.dlen - len(data) self._write(data) def close_data(self): if self.dlen != 0: raise Error, 'Incorrect data size, diff=%r' % (self.rlen,) self._writecrc() self.state = _DID_DATA def write_rsrc(self, data): if self.state < _DID_DATA: self.close_data() if self.state != _DID_DATA: raise Error, 'Writing resource data at the wrong time' self.rlen = self.rlen - len(data) self._write(data) def close(self): if self.state is None: return try: if self.state < _DID_DATA: self.close_data() if self.state != _DID_DATA: raise Error, 'Close at the wrong time' if self.rlen != 0: raise Error, \ "Incorrect resource-datasize, diff=%r" % (self.rlen,) self._writecrc() finally: self.state = None ofp = self.ofp del self.ofp ofp.close() def binhex(inp, out): """(infilename, outfilename) - Create binhex-encoded copy of a file""" finfo = getfileinfo(inp) ofp = BinHex(finfo, out) ifp = open(inp, 'rb') # XXXX Do textfile translation on non-mac systems while 1: d = ifp.read(128000) if not d: break ofp.write(d) ofp.close_data() ifp.close() ifp = openrsrc(inp, 'rb') while 1: d = ifp.read(128000) if not d: break ofp.write_rsrc(d) ofp.close() ifp.close() class _Hqxdecoderengine: """Read data via the decoder in 4-byte chunks""" def __init__(self, ifp): self.ifp = ifp self.eof = 0 def read(self, totalwtd): """Read at least wtd bytes (or until EOF)""" decdata = '' wtd = totalwtd # # The loop here is convoluted, since we don't really now how # much to decode: there may be newlines in the incoming data. while wtd > 0: if self.eof: return decdata wtd = ((wtd+2)//3)*4 data = self.ifp.read(wtd) # # Next problem: there may not be a complete number of # bytes in what we pass to a2b. Solve by yet another # loop. # while 1: try: decdatacur, self.eof = \ binascii.a2b_hqx(data) break except binascii.Incomplete: pass newdata = self.ifp.read(1) if not newdata: raise Error, \ 'Premature EOF on binhex file' data = data + newdata decdata = decdata + decdatacur wtd = totalwtd - len(decdata) if not decdata and not self.eof: raise Error, 'Premature EOF on binhex file' return decdata def close(self): self.ifp.close() class _Rledecoderengine: """Read data via the RLE-coder""" def __init__(self, ifp): self.ifp = ifp self.pre_buffer = '' self.post_buffer = '' self.eof = 0 def read(self, wtd): if wtd > len(self.post_buffer): self._fill(wtd-len(self.post_buffer)) rv = self.post_buffer[:wtd] self.post_buffer = self.post_buffer[wtd:] return rv def _fill(self, wtd): self.pre_buffer = self.pre_buffer + self.ifp.read(wtd+4) if self.ifp.eof: self.post_buffer = self.post_buffer + \ binascii.rledecode_hqx(self.pre_buffer) self.pre_buffer = '' return # # Obfuscated code ahead. We have to take care that we don't # end up with an orphaned RUNCHAR later on. So, we keep a couple # of bytes in the buffer, depending on what the end of # the buffer looks like: # '\220\0\220' - Keep 3 bytes: repeated \220 (escaped as \220\0) # '?\220' - Keep 2 bytes: repeated something-else # '\220\0' - Escaped \220: Keep 2 bytes. # '?\220?' - Complete repeat sequence: decode all # otherwise: keep 1 byte. # mark = len(self.pre_buffer) if self.pre_buffer[-3:] == RUNCHAR + '\0' + RUNCHAR: mark = mark - 3 elif self.pre_buffer[-1] == RUNCHAR: mark = mark - 2 elif self.pre_buffer[-2:] == RUNCHAR + '\0': mark = mark - 2 elif self.pre_buffer[-2] == RUNCHAR: pass # Decode all else: mark = mark - 1 self.post_buffer = self.post_buffer + \ binascii.rledecode_hqx(self.pre_buffer[:mark]) self.pre_buffer = self.pre_buffer[mark:] def close(self): self.ifp.close() class HexBin: def __init__(self, ifp): if type(ifp) == type(''): ifp = open(ifp) # # Find initial colon. # while 1: ch = ifp.read(1) if not ch: raise Error, "No binhex data found" # Cater for \r\n terminated lines (which show up as \n\r, hence # all lines start with \r) if ch == '\r': continue if ch == ':': break if ch != '\n': dummy = ifp.readline() hqxifp = _Hqxdecoderengine(ifp) self.ifp = _Rledecoderengine(hqxifp) self.crc = 0 self._readheader() def _read(self, len): data = self.ifp.read(len) self.crc = binascii.crc_hqx(data, self.crc) return data def _checkcrc(self): filecrc = struct.unpack('>h', self.ifp.read(2))[0] & 0xffff #self.crc = binascii.crc_hqx('\0\0', self.crc) # XXXX Is this needed?? self.crc = self.crc & 0xffff if filecrc != self.crc: raise Error, 'CRC error, computed %x, read %x' \ %(self.crc, filecrc) self.crc = 0 def _readheader(self): len = self._read(1) fname = self._read(ord(len)) rest = self._read(1+4+4+2+4+4) self._checkcrc() type = rest[1:5] creator = rest[5:9] flags = struct.unpack('>h', rest[9:11])[0] self.dlen = struct.unpack('>l', rest[11:15])[0] self.rlen = struct.unpack('>l', rest[15:19])[0] self.FName = fname self.FInfo = FInfo() self.FInfo.Creator = creator self.FInfo.Type = type self.FInfo.Flags = flags self.state = _DID_HEADER def read(self, *n): if self.state != _DID_HEADER: raise Error, 'Read data at wrong time' if n: n = n[0] n = min(n, self.dlen) else: n = self.dlen rv = '' while len(rv) < n: rv = rv + self._read(n-len(rv)) self.dlen = self.dlen - n return rv def close_data(self): if self.state != _DID_HEADER: raise Error, 'close_data at wrong time' if self.dlen: dummy = self._read(self.dlen) self._checkcrc() self.state = _DID_DATA def read_rsrc(self, *n): if self.state == _DID_HEADER: self.close_data() if self.state != _DID_DATA: raise Error, 'Read resource data at wrong time' if n: n = n[0] n = min(n, self.rlen) else: n = self.rlen self.rlen = self.rlen - n return self._read(n) def close(self): if self.state is None: return try: if self.rlen: dummy = self.read_rsrc(self.rlen) self._checkcrc() finally: self.state = None self.ifp.close() def hexbin(inp, out): """(infilename, outfilename) - Decode binhexed file""" ifp = HexBin(inp) finfo = ifp.FInfo if not out: out = ifp.FName ofp = open(out, 'wb') # XXXX Do translation on non-mac systems while 1: d = ifp.read(128000) if not d: break ofp.write(d) ofp.close() ifp.close_data() d = ifp.read_rsrc(128000) if d: ofp = openrsrc(out, 'wb') ofp.write(d) while 1: d = ifp.read_rsrc(128000) if not d: break ofp.write(d) ofp.close() ifp.close() def _test(): fname = sys.argv[1] binhex(fname, fname+'.hqx') hexbin(fname+'.hqx', fname+'.viahqx') #hexbin(fname, fname+'.unpacked') sys.exit(1) if __name__ == '__main__': _test()