Created
August 12, 2019 14:41
-
-
Save prestelpirate/feb34369248875b55d643b4ee6b192c2 to your computer and use it in GitHub Desktop.
Download and unpack all issues of Phrack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Current issue is 69, cycle through everything since issue 1 | |
# Create a subdirectory to stash the files in | |
# and make sure the downloaded archive is removed once done | |
for i in {1..69} | |
do | |
FILE="phrack${i}.tar.gz" | |
mkdir ${i} | |
cd ${i} | |
wget http://phrack.org/archives/tgz/${FILE} | |
tar xvzf ${FILE} | |
rm ${FILE} | |
cd .. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment