Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- print("""
- ████████╗██╗██╗ ██╗████████╗ ██████╗ ██╗ ██╗
- ╚══██╔══╝██║██║ ██╔╝╚══██╔══╝██╔═══██╗██║ ██╔╝
- ██║ ██║█████╔╝ ██║ ██║ ██║█████╔╝
- ██║ ██║██╔═██╗ ██║ ██║ ██║██╔═██╗
- ██║ ██║██║ ██╗ ██║ ╚██████╔╝██║ ██╗
- ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
- By @71oc
- """)
- sessionid = str(input("[+] Enter Sessionid : "))
- target = str(input("[+] Enter Target : "))
- 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'
- head1 = {
- 'Host': 'api16-normal-c-alisg.tiktokv.com',
- 'Connection': 'close',
- 'Content-Length': '25',
- 'Cookie': f'sessionid={sessionid}',
- "x-tt-passport-csrf-token": f"{sessionid}",
- 'x-Tt-Token': '2c593820065f9a47b9bf51281eda9604-1.0.0-1.0.0',
- 'Content-Type': 'application/x-www-form-urlencoded',
- 'sdk-version': '2',
- 'passport-sdk-version': '5.12.1'
- }
- data = {
- 'login_name': f' '
- }
- req = requests.post(url, data=data, headers=head1).text
- if '"description":"You are visiting our service too frequently."' in req:
- input(f'[SB] Sessionid Blocked ..')
- exit(0)
- elif '"description":"The conversation has expired, please log in again"' in req:
- print('[SE] Sessionid Error ..')
- elif '"message":"error"' in req:
- print("[SW] Sssionid Work ..")
- req = 0
- def edit():
- data = {
- 'login_name': f'{target}'
- }
- while True:
- req = requests.post(url, data=data, headers=head1).text
- if '"message":"success"' in req:
- print(f"[SW] Swapped @{target}")
- break
- exit(0)
- elif '"description":"You are visiting our service too frequently."' in req:
- print('[AB] Account Blocked Try Vpn ..')
- elif '"description":"The conversation has expired, please log in again"' in req:
- print('[SB] Sessionid Blocked ..')
- elif '"description":"login name can only be updated once within one month."' in req:
- print('[AB] Account Blocked ..')
- else:
- req += 1
- print(f'Request > {req}')
- edit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement