Created
July 28, 2017 08:08
-
-
Save jivoi/641f1279851d9328d3659fbba99e1f3d to your computer and use it in GitHub Desktop.
Download BH PDFs
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 | |
curl -s https://www.blackhat.com/us-17/briefings.html | egrep 'https://www.blackhat.com/docs/us-17/.*\.pdf' | awk -F '"' '{ print $4 }' | while read URL; | |
do | |
F=$(basename $URL) | |
if [ ! -r $F ]; then | |
curl -s -o $F $URL | |
echo "Scrapped $f" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment