Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #########################################
- # #
- # PhrackDownloader.sh #
- # #
- # Coded by Irenicus09 #
- # #
- # Required Tools: wget, tar #
- # #
- #########################################
- # Edit this to control issue downloaded
- starting=1;
- limit=68;
- count=$starting;
- # Download path
- path="$HOME/Phrack";
- # Setting up folders
- mkdir -p $path;
- # Changing to specified directory
- cd $path;
- echo "[!] Downloading contents..";
- while [ $count -le $limit ]
- do
- wget -c "http://www.phrack.org/archives/tgz/phrack$count.tar.gz";
- let count++;
- done
- echo "[+] All files downloaded successfully!";
- echo "[!] Extracting please wait..";
- count=$starting;
- while [ $count -le $limit ]
- do
- tar -xvf "phrack$count.tar.gz";
- let count++;
- done
- rm -rf *.tar.gz;
- echo "[+] All tasks completed successfully!";
- exit 0;
Add Comment
Please, Sign In to add comment