Skip to content

Instantly share code, notes, and snippets.

@bikubi bikubi/

Created Aug 1, 2018
What would you like to do?
Correct Horse Battery: The Band
# see for what this is all about.
mkdir -v q
for s in {1..1000}; do
# generate "passwords"
words=$(grep -v '^[A-Z]' /usr/share/dict/american-english | grep -v "'s$" | shuf | head -n 3 | tr '\n' ' ' | sed -e 's/ $//')
fn="q/${words// /_}"
q="$(php -r "echo urlencode('$words');")"
echo "$q -> $fn"
curl "$url" > "$fn"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.