################################################################################
# Requires:
# python 3.x
# Faker (generates random user data)
################################################################################
import requests
import os
import random
import string
import json
from faker import Faker
fake = Faker('en_US')
chars = string.ascii_letters + string.digits + '!@#$%^&*()'
random.seed = (os.urandom(1024))
url = '<insert form action URL>'
for e in range(100):
username = fake.email()
password = fake.password()
requests.post(
url,
allow_redirects=False,
data={
'<insert object name/id for the username/email field>': username,
'<insert object name/id for the password field>': password
})
print ('sending username %s and password %s' % (username, password))
Comments
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎