Last active
May 24, 2019 19:19
-
-
Save freejoe76/98feb2bb03eb7ca953efb0662f84ee52 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/bash | |
URL='https://www.justice.gov/storage/report.pdf' | |
while [ True ]; do | |
RANDO=$(openssl rand -base64 40 | tr -dc 'a-zA-Z'; openssl rand -base64 40 | tr -dc 'a-zA-Z') | |
wget -O full-mueller-report.pdf "$URL?$RANDO" | |
if [[ $? -ne 8 ]]; then | |
# Upload it to wherever it belongs | |
say "We've got it" | |
break; | |
fi | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment