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