Skip to content

Instantly share code, notes, and snippets.

@starenka
Created December 26, 2011 18:44
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 starenka/1521894 to your computer and use it in GitHub Desktop.
Save starenka/1521894 to your computer and use it in GitHub Desktop.
fight spam
for i in {1..5000}; do rand=`python -c 'from random import choice;import string;print "".join([choice(string.letters+string.digits) for i in range(20)])'`; curl -X POST -d "{\"email\":\"$rand@alza.cz\"}" --header 'Content-Type: application/json; charset=utf-8' --header 'X-Requested-With: XMLHttpRequest' http://www.alza.cz/Services/EShopService.svc/SendActionEmail; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment