Skip to content

Instantly share code, notes, and snippets.

@d0nk

d0nk/parler_account_gen.py Secret

Created Jan 10, 2021
Embed
What would you like to do?
import pyperclip
import requests
import re
import sys
import uuid
import json
def fakeid():
fakeid = requests.get("http://randomuser.me/api/").json()['results'][0]
return {
'email': fakeid['email'].replace('example.com', 'gmail.com'),
'phone': re.sub('[^0-9]', '', fakeid['cell']),
'password': "@A" + fakeid['login']['salt']
}
def copy_captcha_to_clipboard(captcha):
# you can open what's copied to clipboard here in a web browser
# this is the least creative way i could come up with displaying/solving these ;)
pyperclip.copy(captcha)
def create_parler_account(user):
session = requests.Session()
session.headers['User-Agent'] = 'Parler%20Staging/545 CFNetwork/978.0.7 Darwin 18.7.0'
user_key = session.post('https://api.parler.com/v2/login/apply', data={
'email': user['email'],
'phone': user['phone'],
'password': user['password'],
'passwordConfirm' :user['password'],
'deviceId': uuid.uuid4()
}).json()['key']
captcha = 'data:image/png;base64,' + session.post('https://api.parler.com/v2/login/captcha/new', data={
'identifier': user_key
}).json()['image']
sys.stderr.write("Captcha: ")
copy_captcha_to_clipboard(captcha)
session.post('https://api.parler.com/v2/login/captcha/submit', data={
'identifier': user_key,
'solution': input().strip()
}).json()
user['mst'] = session.cookies['mst']
user['jst'] = session.cookies['jst']
print(json.dumps(user))
while True:
create_parler_account(fakeid())
@revanthpobala

This comment has been minimized.

Copy link

@revanthpobala revanthpobala commented Jan 12, 2021

How are you bypassing the captcha? I see this code pyperclip.copy(captcha) but, are you going through it manually? Say, for example, the captcha reads as h5abc. That is not machine-readable right?

@wes2n

This comment has been minimized.

Copy link

@wes2n wes2n commented Jan 12, 2021

I'm pretty new to coding, how would I run this?

@coldfusion167

This comment has been minimized.

Copy link

@coldfusion167 coldfusion167 commented Jan 13, 2021

How are you bypassing the captcha? I see this code pyperclip.copy(captcha) but, are you going through it manually? Say, for example, the captcha reads as h5abc. That is not machine-readable right?

DUE TO TWILIO CUTTING SERVICES WITH PARLER, THERE IS NO PHONE VERIFICATION OR 2FA ACTIVE.

You were able to enter random digits and register. I belive they were using a trial version and the company cut the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment