Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freejoe76/98feb2bb03eb7ca953efb0662f84ee52 to your computer and use it in GitHub Desktop.
Save freejoe76/98feb2bb03eb7ca953efb0662f84ee52 to your computer and use it in GitHub Desktop.
#!/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