Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- def register(self):
- self.session = requests.session()
- self.headers = {'User-Agent' : 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246'}
- self.session.headers.update(self.headers)
- r = self.session.get('https://legacy.hackerexperience.com')
- print(r) #Had to print shit, for no errors
- #Here your 2captcha thing, please set g-recaptcha-response
- username = "randominputplease"
- password = "randominputplease"
- email = "randominputplease" + "%40mailinator.com"
- recaptcharesponse = "ur response"
- payload = {"username=" + username + "&password=" + password + "&email=" + email +"&g-recaptcha-response="+ recaptcharesponse + "&terms=1"}
- self.session.post('https://legacy.hackerexperience.com/register', data=payload)
- register("self")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement