xxei

Commitment tiktok

Apr 10th, 2021
593
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. try:
  2.     import requests
  3.     import json
  4.     import time
  5.     import colorama
  6.     from colorama import Fore
  7.     colorama.init(autoreset=True)
  8. except Exception as er:
  9.     print("Something Went Wrong\n")
  10.     print(er)
  11.     input()
  12.     exit()
  13.    
  14. done = 0
  15. error = 0
  16. r = requests.session()
  17.  
  18. print(Fore.RED+"""
  19. ______ ___________ _     _____ _   _
  20. | ___ \ ___| ___ \ |   |_   _| \ | |
  21. | |_/ / |__ | |_/ / |     | | |  \| |
  22. | ___ \ __||    /| |     | | | . ` |
  23. | |_/ / |___| |\ \| |_____| |_| |\ |
  24. \____/\____/\_| \_\_____/\___/\_| \_/
  25.  
  26. """, Fore.GREEN+"     BY @680068 - @RRSVC")
  27.          
  28. username = input("\nUsername :")
  29. sessionid = input("Sessionid :")
  30. url1 = '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'
  31. head1 = {
  32.     'Host': 'api16-normal-c-alisg.tiktokv.com',
  33.     'Connection': 'close',
  34.     'Content-Length': '25',
  35.     'Cookie': f'sessionid={sessionid}',
  36.     "x-tt-passport-csrf-token": f"{sessionid}",
  37.     'x-Tt-Token': '2c593820065f9a47b9bf51281eda9604-1.0.0-1.0.0',
  38.     'Content-Type': 'application/x-www-form-urlencoded',
  39.     'sdk-version': '2',
  40.     'passport-sdk-version': '5.12.1'
  41.     }
  42.  
  43. data1 = {
  44.     'login_name': f' '
  45.     }
  46. r1 = requests.post(url1, data=data1, headers=head1).text
  47.  
  48. if '"description":"You are visiting our service too frequently."' in r1:
  49.     print(Fore.RED+f"[-] Failed Login >> @{username}")
  50.     input(" ")
  51.     exit(0)
  52. elif '"description":"The conversation has expired, please log in again"' in r1:
  53.     print(Fore.RED+f"[-] Failed Login >> @{username}")
  54.     input(" ")
  55.     exit(0)
  56.  
  57. elif '"message":"error"' in r1:
  58.     print(Fore.GREEN+f"[+] Logged In >> @{username}")
  59.  
  60. idi = input("Id Video :")
  61. comment = input("Comment :")
  62. slp = int(input("Sleep :"))
  63.  
  64. url2 = f'https://www.tiktok.com/api/comment/publish/?aid=1988&app_name=tiktok_web&device_platform=web&referer=https:%2F%2Fwww.tiktok.com%2F%3Flang%3Den%26is_copy_url%3D1%26is_from_webapp%3Dv2&root_referer=https:%2F%2Fwww.tiktok.com%2Flogout%3Fredirect_url%3Dhttps%253A%252F%252Fwww.tiktok.com%252F%253Flang%253Den%2526is_copy_url%253D1%2526is_from_webapp%253Dv2%26lang%3Den&user_agent=Mozilla%2F5.0+(Linux%3B+Android+6.0%3B+Nexus+5+Build%2FMRA58N)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F88.0.4324.182+Mobile+Safari%2F537.36&cookie_enabled=true&screen_width=400&screen_height=584&browser_language=en-US&browser_platform=Win32&browser_name=Mozilla&browser_version=5.0+(Linux%3B+Android+6.0%3B+Nexus+5+Build%2FMRA58N)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F88.0.4324.182+Mobile+Safari%2F537.36&browser_online=true&ac=4g&timezone_name=Asia%2FDubai&page_referer=https:%2F%2Fwww.tiktok.com%2F%40user5220862799793%3Flang%3Den&priority_region=AE&verifyFp=verify_klh1loym_ryun6Z9r_Xd3K_4cYU_ATiI_V0pZcMLfTsxv&appId=1233&region=AE&appType=m&isAndroid=false&isMobile=false&isIOS=false&OS=windows&did=6929194335838537217&tt-web-region=AE&uid=6932178892497126402&aweme_id={idi}&text={comment}&device_id=6929194335838537217&_signature=_02B4Z6wo02101bfUvzAAAIDCiFIJFCIleFm3xbuAAA3C7e'
  65. head2 = {
  66. 'Accept': 'application/json, text/plain, */*',
  67. 'Accept-Encoding': 'gzip, deflate, br',
  68. 'Accept-Language': 'en-US,en;q=0.9',
  69. 'Connection': 'keep-alive',
  70. 'Content-Length': '0',
  71. 'Content-Type': 'application/x-www-form-urlencoded',
  72. 'Cookie': f'tt_webid_v2=6929194335838537217; tt_webid=6929194335838537217; ttwid=1%7CEjTgo3cHW6V-oDv_agPEf0QqMHWKvPe13xPokCZRXp8%7C1613328804%7C4e74e7b2c7eec62fe0aa7969c4d253318fe3e9736910ddf267d4a07da7b363de; passport_csrf_token=3dfd69a15bf0b4119b3b603b100d5a85; passport_csrf_token_default=3dfd69a15bf0b4119b3b603b100d5a85; store-idc=alisg; store-country-code=ae; bm_sz=B1931F427B5DC45D75D94836D9D6B579~YAAQr/kUApTVc8p3AQAATkYOywqqB51PqgQrs7hXUYmQl2Ua/uN5nholYpofuPF1ZcHq+UYQ1YZzdlurvKfOxaAkxOuVgz7ygDGFeUS5Wm2MaQuuEX9F8N5C4axqHP3N6xRThP2dyFBEehnyM9EN4CyhFXBcyGtsO7hcb4UTSqrhERa3/Gd8mIohk+dMPQ4B; tt_csrf_token=Cp8g9pHNxMeR7SGr7PW-U-kk; csrf_session_id=a41dfa383f1f409f973454754023308d; s_v_web_id=verify_klh1loym_ryun6Z9r_Xd3K_4cYU_ATiI_V0pZcMLfTsxv; bm_mi=314B664482E9A00712B331F2CA74DE5F~A4eGFCV8SvdQJ0HDwjM1D6VUr0nIaA0Xk2mjFm2w7ptQY1qQO5Fpq+dK6MS5L84g9l5caYKIJ8QufUD8IAFGo4AugzF9QQ37DxhoKJwgG+rHgBIcmFHVm3SbjLAIGX+wO/NfygtR1cgh7r4t7PYTTn62LHozRVvH9NDuRjOpplN27xmKM9Byq45YPBarR85SVirPkyFFlDUC9CsLo8GvUasQXjI2xjUXLf2aPtBaO5U=; ak_bmsc=8DEBE500E9127C2B8007B747ED6835C20215E7E676210000B41A3460CD9E8C02~plI3XPLlGTgZE+y63LK6J/UiNYvs4U7w/nl1lZYWrgnoTxXACtScYcALGBeHbF0SOyMM7FqtYfQz5HSCyl0fG3KDGmBCFqeV0JpZkWmth8y72FvbwdozPzQxaHUHJnPW9YqSy99EPOmGo1sEv8F0I6PdAt1NJ4eYj8cYpFSF/RIrEDvaSvQXEcS9gkCav+3gvOJlWKQxqyUD4vzEkadJNlJBDynm/X9GRs5Zy2YgguGBIYq2zc6wJVW7GL1lup75n8; odin_tt=f5e4b3c6a5eec4fdf61c90235a569c7dd911ee4cd4030faee90543b7ffeb448306556da1c218771a5b01cb9ac6a24641bc1751eb694f5bbe202c80731e2a7b4d; cmpl_token=AgQQAPNUF-RO0rAK5V7-8l07-kjoupjRP4PfYPnvAg; sid_guard={sessionid}%7C1614028239%7C5184000%7CFri%2C+23-Apr-2021+21%3A10%3A39+GMT; uid_tt=c054170175d39317c54832e1d5dc9843ff17ca9b7aba67046f48dbe3da622c71; uid_tt_ss=c054170175d39317c54832e1d5dc9843ff17ca9b7aba67046f48dbe3da622c71; sid_tt={sessionid}; sessionid={sessionid}; sessionid_ss={sessionid}; _abck=B60EDFC22F7C562B59703ABC3609A99A~0~YAAQlucVApQAaLl3AQAAFXGUywVy1o9rVcYneos23CwaiqpBvYJR921IGpPshZMdrqeqnj/JVUg2T7Nmd7T6dEoiwTpc+Qm50zbaQHVI2kuQAdTlSMa4juBYMDuhaZ3SruvpLd1EenMuAoqQ/ZIWyzWFiMuypMacv+kzbUC58jXb/sE/89CfXsm+e5xDmqQePtV5Mv0MnhQFRJLEP6VKK9GnizkYFTDiikFxTDkJIsfdmOZ6XzTk5plKBHCiJ+Mr4sSPUca8sPKI0l4CzZARqAJ65hg8eAo8cgC1HdBWKloRmX9CQRHEAU57WZKQoSn54xB25J1h2GkO37bxwqBoznbl8JsTpg==~-1~-1~-1; MONITOR_WEB_ID=6929194335838537217; bm_sv=F5068F4C3DAA39E9328861E17411863C~Q5rvj2V5Q7Ps7IJzkFv0AIXWscdpIcvbmo3h0nYGWIWpS56kyIbTpAaslM27fUKArVv7fhFUBh0cCFHRvmN3iIfAjXs48V2Z6SOPoDjEbHFKQnfqvVromRY8TV4ishVV/V/h3nYOgIiKrTn2Ljis/N/Z+m1gmC7/i4U0Hm9GVuA=',
  73. 'Host': 'www.tiktok.com',
  74. 'Origin': 'https://www.tiktok.com',
  75. 'Referer': 'https://www.tiktok.com/?lang=en&is_copy_url=1&is_from_webapp=v2',
  76. 'sec-ch-ua': '"Chromium";v="88", "Google Chrome";v="88", ";Not\\A\"Brand";v="99"',
  77. 'sec-ch-ua-mobile': '?1',
  78. 'Sec-Fetch-Dest': 'empty',
  79. 'Sec-Fetch-Mode': 'cors',
  80. 'Sec-Fetch-Site': 'same-origin',
  81. 'tt-csrf-token': 'Cp8g9pHNxMeR7SGr7PW-U-kk',
  82. 'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Mobile Safari/537.36',
  83. 'x-secsdk-csrf-token': '000100000001376b854c0d4ec936f3b950a50415453bcad1562f444a9bddddee4252e5d8b0c716662e22c9ce9ea6',
  84. }
  85. while True:
  86.     r2 = r.post(url2, headers=head2).text
  87.     if '"Comment sent successfully"' in r2:
  88.         done +=1
  89.         print(Fore.GREEN+f"{done}: Done Send Comment")
  90.         time.sleep(slp)
  91.     else:
  92.         error +=1
  93.         print(Fore.RED+f"{error}: Error Send Comment")
  94.         time.sleep(slp)
  95.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×