Phrack is what made me explore the lower depths of a computer, some of the earlier articles are a little cringe worthy, but the later articles (except the "radio hacking") are generally very very good, Here I knocked up some python to download all phrack issues from 1 to 62, you'll need to alter the code for the latest one when it goes up :-)
its a quick hack, i know where the faults are, but it does the job, hope you likeCode:#!/usr/bin/python import urllib address = 'http://www.phrack.org/archives/phrack' issues = 62 extension = '.tar.gz' initial = 0 name = 'phrack' i = 1 for i in range(issues): if i < 10: i = i+1 link = "%s%d%d%s" % (address, initial, i, extension) f = urllib.urlopen(link) fname = "%s%d%d%s" % (name, 0, i, extension) g=open(fname,'wb') g.write(f.read()) g.close() elif i >= 10: i = i + 1 link = "%s%d%s" % (address, i, extension) f = urllib.urlopen(link) fname = "%s%d%s" % (name, i, extension) g=open(fname,'wb') g.write(f.read()) g.close()
i2c




Reply With Quote