mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2025-12-16 12:08:36 +00:00
10 lines
201 B
Python
10 lines
201 B
Python
import pack
|
|
import sys
|
|
|
|
filename = sys.argv[1]
|
|
#f = file('%s%s' % ('/Library/WebServer/Documents/wi/pack/', filename))
|
|
f = file(filename)
|
|
p = pack.Pack(f.read())
|
|
f.close()
|
|
print p.GetFile(sys.argv[2])
|