Created
July 16, 2022 04:20
-
-
Save JoyGhoshs/84dd04383cb58afabdb3523b7102bfe4 to your computer and use it in GitHub Desktop.
Automation of account creation and verification process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import random | |
import re | |
from colorama import init, Fore, Back, Style | |
from time import sleep | |
import argparse | |
#signature | |
info = f"[{Fore.BLUE}INFO{Fore.RESET}]" | |
warn = f"[{Fore.YELLOW}WARN{Fore.RESET}]" | |
error = f"[{Fore.RED}ERROR{Fore.RESET}]" | |
link = f"[{Fore.CYAN}LINK{Fore.RESET}]" | |
print(f""" | |
_____ _ _ __ {Fore.GREEN} _______ {Fore.RESET} | |
/ ___/___(_)_ _ (_)__ ___ _/ /___{Fore.GREEN} / _/ _ |{Fore.RESET} | |
/ /__/ __/ / ' \/ / _ \/ _ `/ /___/{Fore.GREEN} / // ___/{Fore.RESET} | |
\___/_/ /_/_/_/_/_/_//_/\_,_/_/ {Fore.GREEN} /___/_/ {Fore.BLUE}https://system00-sec.com{Fore.RESET} | |
{Fore.RED}--------------------------------------------{Fore.YELLOW} | |
Unlimited Account Creator For https://CriminalIP.io {Fore.RESET} | |
""") | |
class tempmail: | |
def create_email(username): | |
try: | |
mail_domains = requests.get("https://www.1secmail.com/api/v1/?action=getDomainList").json() | |
email = username + "@" + random.choice(mail_domains) | |
return email | |
except: | |
pass | |
def get_email(email): | |
try: | |
username, domain = email.split("@") | |
get_mail = requests.get(f'https://www.1secmail.com/api/v1/?action=getMessages&login={username}&domain={domain}') | |
return get_mail.json() | |
except: | |
pass | |
def read_mail(email, id): | |
try: | |
username, domain = email.split("@") | |
get_body = requests.get(f'https://www.1secmail.com/api/v1/?action=readMessage&login={username}&domain={domain}&id={id}') | |
return get_body.json() | |
except: | |
pass | |
class criminalip: | |
def account_request(email): | |
try: | |
url = "https://www.criminalip.io:443/api/auth/user/signup" | |
account_data = {"account_type": "not_social", "ad_agree_code":1, "email":email, "name":email, "pp_agree_code":1, "pw":"password@system00", "tos_agree_code": 1, "uid": ""} | |
account_request = requests.post(url, data=account_data) | |
data = account_request.json() | |
if data["message"] == "signup success": | |
return data["data"]["customer_id"] | |
except: | |
pass | |
def verification_request(email, uid): | |
try: | |
url = "https://www.criminalip.io:443/api/email/authentication" | |
verification_data = {"auth_type": 0, "customer_id": uid, "email": email} | |
verification_request = requests.post(url, data=verification_data) | |
data = verification_request.json() | |
if data ["message"] == "success": | |
return True | |
else: | |
return False | |
except: | |
pass | |
class create: | |
def start(username): | |
email = tempmail.create_email(username) | |
print(f"{info} Creating Account With Email: {email}") | |
uid = criminalip.account_request(email) | |
print(f"{info} Account Creation Request Sent: {uid}") | |
if uid: | |
if criminalip.verification_request(email, uid) == True: | |
print(f"{info} Account Verification Request Sent: {uid}") | |
print(f"{warn} Waiting For Verification Email") | |
sleep(8) | |
mail = tempmail.get_email(email) | |
if mail: | |
id = mail[0]["id"] | |
print(f"[{Fore.BLUE}Reading Mail{Fore.RESET}] Ongoing...") | |
body = tempmail.read_mail(email, id) | |
url_regex = re.compile(r'https://www.criminalip.io/auth\?type=0&token=(.*)') | |
url = re.search(url_regex, body["body"]) | |
if url: | |
print(f"{link} Verification & login Link: https://www.criminalip.io/auth?type=0&token={url.group(1)}") | |
data = confirm_data = {"auth_type": "0", "auth_token": url.group(1)} | |
user_agent = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"} | |
confirm_request = requests.post("https://www.criminalip.io:443/api/auth/user/authToken", data=confirm_data, headers=user_agent) | |
if "success" in confirm_request.text: | |
print(f"{info} Account Verified: {uid}") | |
else: | |
print(f"{error} Account Auto Verify Failed [Open Verification Link On Any Browser]: {uid}") | |
print(f"{info} Account Created Successfully") | |
print(f"{info} Credentials: {email}:{Fore.RED}password@system00{Fore.RESET}") | |
else: | |
print(f"{error} Verification Link Not Found") | |
print(f"{error} Account Creation Failed") | |
try: | |
parser = argparse.ArgumentParser(description="CriminalIP.io Account Creator") | |
parser.add_argument("-u", "--username", help="Username", required=True) | |
args = parser.parse_args() | |
username = args.username | |
if username: | |
create.start(username) | |
else: | |
print(f"{error} Username Not Found") | |
except: | |
print(f"{warn} No Arguments Found") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment