Advertisement
xxei

Swap tiktok

Apr 10th, 2021
1,896
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.53 KB | None | 0 0
  1. import requests
  2. r = requests.session()
  3. import uuid
  4. uid = uuid.uuid4()
  5. import time
  6. from tkinter import messagebox
  7. import ctypes
  8. ctypes.windll.kernel32.SetConsoleTitleW(str("Swap TikTok By @M3GONPY"))
  9. print("""
  10.  
  11.    ████████╗██╗██╗  ██╗████████╗ ██████╗ ██╗  ██╗        
  12.    ╚══██╔══╝██║██║ ██╔╝╚══██╔══╝██╔═══██╗██║ ██╔╝        
  13.       ██║   ██║█████╔╝    ██║   ██║   ██║█████╔╝        
  14.       ██║   ██║██╔═██╗    ██║   ██║   ██║██╔═██╗        
  15.       ██║   ██║██║  ██╗   ██║   ╚██████╔╝██║  ██╗        
  16.       ╚═╝   ╚═╝╚═╝  ╚═╝   ╚═╝    ╚═════╝ ╚═╝  ╚═╝
  17.                     by @M3GONPY
  18.      
  19. """)
  20. sessionid = input("[+] Enter Your Sessionid :")
  21.  
  22. target = input("[+] Enter Target :")
  23. count = 0
  24. messagebox.showinfo( "@M3GONPY",f"Are You Ready ?\n\nSwapping @{target}")
  25. Status = 'ON'
  26. while True:
  27.         url = 'https://api16-normal-c-alisg.tiktokv.com/passport/login_name/update/?residence=SA&device_id=6870709334024848901&os_version=13.6.1&app_id=1233&iid=6924902298624624385&app_name=musical_ly'
  28.         headers = {
  29.                 'Host': 'api16-normal-c-alisg.tiktokv.com',
  30.                 'Connection': 'close',
  31.                 'Content-Length': '25',
  32.                 'Cookie': f'sessionid={sessionid}',
  33.                 "x-tt-passport-csrf-token": f"{sessionid}",
  34.                 'x-Tt-Token': '2c593820065f9a47b9bf51281eda9604-1.0.0-1.0.0',
  35.                 'Content-Type': 'application/x-www-form-urlencoded',
  36.                 'sdk-version': '2',
  37.                 'passport-sdk-version': '5.12.1'
  38.                 }
  39.         data = {
  40.                 'login_name': f'{target}'
  41.                 }
  42.         req = r.post(url, data=data, headers=headers).text
  43.         if '"message":"success"' in req:
  44.                 print(f'[CD] Claimed @{target}')
  45.                 Status = 'OFF'
  46.                 messagebox.showinfo( "@M3GONPY",f"Claimed @{target}")
  47.                 input(" ")
  48.                 exit(0)
  49.         elif '"message":"error"' in req:
  50.                 count +=1
  51.                 print(f'{count}: Waiting For @{target} To Swap ')
  52.         else:
  53.                 messagebox.showinfo("@M3GONPY","Account Blocked ..")
  54.                
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement