Untitled
unknown
plain_text
2 years ago
1.4 kB
3
Indexable
Never
from urllib import response import requests import json import time def choices(): print("Creation Shop Register Script By Ken Samonte") print("Please Set-Up your Referral Code and Password") time.sleep(2.0) invite_code = input("Referral Code: ") password = input("Password: ") time.sleep(1.0) print("You Have Set Up Your Referral and Password Successfully") time.sleep(5.0) def register (): mobile_number = input("Mobile Number: ") payload = json.dumps({"mobile": mobile_number, "type":"register"}) request = requests.post("https://www.creationshops.com/captcha/sms", data=payload) response = request.text req = json.loads(response) f = req["msg"] if f == "ok": otp = input("Enter One Time Pin: ") reg = json.dumps({"mobile": mobile_number,"code": otp,"password": password,"invite_code": invite_code,"agent_code":"","appsflyer_id":"","cid":""}) freg = requests.post("https://www.creationshops.com/account/register", data=reg) r = freg.text q = json.loads(r) s = q["msg"] if s == "ok": print("Account Created Successfully") print("Mobile Number: " + mobile_number) else: print("Failed to Send OTP") register() choices()