SHARE
TWEET

Send random username/password to scam site

Willcode4cash Aug 18th, 2018 1,013 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ################################################################################
  2. # Requires:
  3. #           python 3.x
  4. #           Faker (generates random user data)
  5. ################################################################################
  6.  
  7. import requests
  8. import os
  9. import random
  10. import string
  11. import json
  12. from faker import Faker
  13.  
  14. fake = Faker('en_US')
  15. chars = string.ascii_letters + string.digits + '!@#$%^&*()'
  16. random.seed = (os.urandom(1024))
  17. url = '<insert form action URL>'
  18.  
  19. for e in range(100):
  20.     username = fake.email()
  21.     password = fake.password()
  22.     requests.post(
  23.         url,
  24.         allow_redirects=False,
  25.         data={
  26.             '<insert object name/id for the username/email field>': username,
  27.             '<insert object name/id for the password field>': password
  28.         })
  29.     print ('sending username %s and password %s' % (username, password))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top