Skip to content

Instantly share code, notes, and snippets.

@ifnull
Created April 24, 2013 07:22
Show Gist options
  • Save ifnull/5450266 to your computer and use it in GitHub Desktop.
Save ifnull/5450266 to your computer and use it in GitHub Desktop.
Someone try to phish your Facebook account? Want to fill their database with junk logins? Here you go...
#!/bin/bash
URL="http://www.some.phishing.site.com/login.php?login_attempt=1" # Put the POST URL here.
count=1
echo "Press [CTRL+C] to stop.."
while :
do
USERNAME=`echo "$(uuidgen)" | tr '[:upper:]' '[:lower:]'`
DOMAIN=`echo "$(uuidgen)" | tr '[:upper:]' '[:lower:]'`
PASSWORD=`echo "$(uuidgen)" | tr '[:upper:]' '[:lower:]'`
PASSWORD=${PASSWORD//[-._]/}
EMAIL=${USERNAME:26}@${DOMAIN:24}.com
POST_DATA="lsd=&display=&enable_profile_selector=&legacy_return=1&next=&profile_selector_ids=&trynum=1&timezone=-0&lgnrnd=0&lgnjs=0&email=$EMAIL&pass=$PASSWORD&default_persistent=0&login=Log+in"
curl --data $POST_DATA $URL
echo "Attempt #$count " $POST_DATA
(( count++ ))
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment