xxei

Reports tiktok

Apr 18th, 2021
772
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import requests
  2. import re
  3. import time
  4. from colorama import Fore
  5. done = 0
  6. green_color = "\033[1;93m"
  7. C = "\033[0m"
  8. W = "\033[96m"
  9. BRed="\033[1;31m"
  10. Green="\033[0;36m"
  11. Yellow="\033[0;33m"
  12. print(Green+'''
  13. ******************************************
  14. *      [ Report TikTok ]                 *
  15. *      Tool developer -> : M3GON         *    
  16. *      InstaGram developer -> : _m3gon   *    
  17. *      Channel TeleGram -> : @M3GONPY    *    
  18. ******************************************
  19. ''')
  20. username = input('[+] Enter Username Target ==> : ')
  21. sessionid1 = input('[+] Enter Sessionid ==> : ')
  22. url_get_id = f'https://www.tiktok.com/@{username}?is_copy_url=1&is_from_webapp=v1'
  23. headers_get_id = {
  24. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
  25. 'Accept-Encoding': 'gzip, deflate, br',
  26. 'Accept-Language': 'en-US,en;q=0.9',
  27. 'Cache-Control': 'max-age=0',
  28. 'Connection': 'keep-alive',
  29. 'Cookie': 'tt_webid_v2=6931890936634443265; tt_webid=6931890936634443265; s_v_web_id=verify_0cddbd837c6e0df451b5cf3cf6ff5182; tt_csrf_token=4uNJGBn_ZzXhHYhSj3HbIQN0; bm_sz=6EF8376E5CFB32C01ECE75A0FA3C368D~YAAQl14zVviROxx3AQAAV4r4ywq5vtEk3rtDacDlheJxT03p4N1pg85sGK77KNKXfMOdbbluR4LkSMxoO/Gid5RizfsKYTW95j1ohsm+hvv4WiTWuI3Y/AmkvbX4IwbAXIRt96ajgIBthfsVZbZO8Dv7ovFmusOiw/8V6/x+U9P8elBMk2E9kbSQ5lekNFfG; csrf_session_id=2ee5d5b530b24bb28efbd674f0c8c88d; ak_bmsc=708DF909DAA3A8B972B9DE1C6303581156335E973B4200006F373460CEEDD27D~plZGd4T0oSlOh6wPNBFPeKMGOE6ZjQIGvTs9w2/7bfAh5hTH99sQPFqP9B9Dq9PG6RHTcnpl4mk03X9laadSVAhVFnNgEnz3NJvipdEPm8Mzfx3D5udHaQDInSt03uKImS72kIcvJB3Z0qsXMvfRKK0LKBD+XJ09MJhErybjt+OjDsz8zSm3/uiDJouHEjSfr/XWzH7jO6WawOfHpaIVGiA9UQnLrKA0Mhd2plCEdAraUeBLqAgAprdaI6MNyuykLK; ttwid=1%7CWf1epqHAd8sW5357XF9Dyy5P1xfJTD0lq_ycAc6mBwg%7C1614034971%7C942ab2f27a5f118fbc2e0793c7b9651a0617459cf422c9e3a1e4811fdea20217; passport_csrf_token=858080cf8140c4c62acba7ba040b8b83; passport_csrf_token_default=858080cf8140c4c62acba7ba040b8b83; _abck=B32AAB6B88AFAD7EDD5F8F43238D6289~0~YAAQjV4zVm9uYrl3AQAAZ6L8ywURQO1JkWzgk84A4ZwfDMQ8UVfOS3/KItiQLgE0yzyHhYexPZZ5w8hShvI35Zho1pF+Fo7uG6ueoSFw2gvlZB/g+zBikJciGupLJ720MaL8wb1/9ztrekyo5ObZG3kB1B0Vh+V70DGbWn9p3RzyFs5XlmTKuHlML/qwo4azpscxLg6aoMxxbO8tFMF4CBPIAoqikm3F9gtHCXPKcJ6hb4aesROJICXwac8oxfYKjQ2uzb/2gSYC+d3/sOdiZQCx1UTtNC33TQSP1bD/S+uSRPTsBj4YDXt22BlMluAJbbNmrI9Xc4v9hvhYdlitBOKDuI8jrw==~-1~-1~-1; MONITOR_WEB_ID=6931890936634443265; bm_sv=431EBC22FBA0B9E6654828B1BF07D9C4~d+AgKbhhH6iHfBJPadKHtTbJbUCnr5tqw/IF6gVcieTr3Dmk/iuM4cVGK8XlKH9NX/CKW0DtQGXrLi9zACZXHwBVKmdQ1iJ8sncYZdiXsrq9ZlK8Re3drCZiA+spFOHLAOFhaln9UU1z9Wa0C+Se2HasaD67JQmegmFvO7ZU7fc=',
  30. 'Host': 'www.tiktok.com',
  31. 'Sec-Fetch-Dest': 'document',
  32. 'Sec-Fetch-Mode': 'navigate',
  33. 'Sec-Fetch-Site': 'same-origin',
  34. 'Sec-Fetch-User': '?1',
  35. 'Upgrade-Insecure-Requests': '1',
  36. 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36'
  37. }
  38. req_get_id = requests.get(url_get_id, headers=headers_get_id).text
  39. Get_id_Target = re.findall('"seoProps":{"pageId":"(.*?)"', req_get_id)
  40. Get_id_Target2 = "".join(Get_id_Target)
  41. url_report = f'https://www.tiktok.com/node/report/reasons_put?aid=1988&app_name=tiktok_web&device_platform=web&referer=&root_referer=https:%2F%2Fwww.tiktok.com%2F%40{username}%3Fis_copy_url%3D1%26is_from_webapp%3Dv1&user_agent=Mozilla%2F5.0+(X11%3B+Linux+x86_64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F88.0.4324.150+Safari%2F537.36&cookie_enabled=true&screen_width=1366&screen_height=768&browser_language=en-US&browser_platform=Linux+x86_64&browser_name=Mozilla&browser_version=5.0+(X11%3B+Linux+x86_64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F88.0.4324.150+Safari%2F537.36&browser_online=true&ac=4g&timezone_name=America%2FNew_York&page_referer=https:%2F%2Fwww.tiktok.com%2F%40ksgf%3Fis_copy_url%3D1%26is_from_webapp%3Dv1&priority_region=SA&verifyFp=verify_0cddbd837c6e0df451b5cf3cf6ff5182&appId=1233&region=SA&appType=m&isAndroid=false&isMobile=false&isIOS=false&OS=linux&did=6931890936634443265&tt-web-region=SA&uid=6930581757486040066'
  42. headers_report = {
  43. 'Connection': 'close',
  44. 'Content-Length': '102',
  45. 'Accept': 'application/json, text/plain, */*',
  46. 'x-secsdk-csrf-token': '0001000000012a8f40f370c5ae099b1a65c576cb480f5d1706c0dfdd8c7991aa1929ad3cbadc166634f9de3b1a91',
  47. 'tt-csrf-token': '4uNJGBn_ZzXhHYhSj3HbIQN0',
  48. 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36',
  49. 'Content-Type': 'application/json',
  50. 'Origin': 'https://www.tiktok.com',
  51. 'Sec-Fetch-Site': 'same-origin',
  52. 'Sec-Fetch-Mode': 'cors',
  53. 'Sec-Fetch-Dest': 'empty',
  54. 'Referer': f'https://www.tiktok.com/@{username}?is_copy_url=1&is_from_webapp=v1',
  55. 'Accept-Encoding': 'gzip, deflate',
  56. 'Accept-Language': 'en-US,en;q=0.9',
  57. 'Cookie': f'tt_webid_v2=6931890936634443265; tt_webid=6931890936634443265; s_v_web_id=verify_0cddbd837c6e0df451b5cf3cf6ff5182; tt_csrf_token=4uNJGBn_ZzXhHYhSj3HbIQN0; bm_sz=6EF8376E5CFB32C01ECE75A0FA3C368D~YAAQl14zVviROxx3AQAAV4r4ywq5vtEk3rtDacDlheJxT03p4N1pg85sGK77KNKXfMOdbbluR4LkSMxoO/Gid5RizfsKYTW95j1ohsm+hvv4WiTWuI3Y/AmkvbX4IwbAXIRt96ajgIBthfsVZbZO8Dv7ovFmusOiw/8V6/x+U9P8elBMk2E9kbSQ5lekNFfG; csrf_session_id=2ee5d5b530b24bb28efbd674f0c8c88d; ak_bmsc=708DF909DAA3A8B972B9DE1C6303581156335E973B4200006F373460CEEDD27D~plZGd4T0oSlOh6wPNBFPeKMGOE6ZjQIGvTs9w2/7bfAh5hTH99sQPFqP9B9Dq9PG6RHTcnpl4mk03X9laadSVAhVFnNgEnz3NJvipdEPm8Mzfx3D5udHaQDInSt03uKImS72kIcvJB3Z0qsXMvfRKK0LKBD+XJ09MJhErybjt+OjDsz8zSm3/uiDJouHEjSfr/XWzH7jO6WawOfHpaIVGiA9UQnLrKA0Mhd2plCEdAraUeBLqAgAprdaI6MNyuykLK; ttwid=1%7CWf1epqHAd8sW5357XF9Dyy5P1xfJTD0lq_ycAc6mBwg%7C1614034971%7C942ab2f27a5f118fbc2e0793c7b9651a0617459cf422c9e3a1e4811fdea20217; passport_csrf_token=858080cf8140c4c62acba7ba040b8b83; passport_csrf_token_default=858080cf8140c4c62acba7ba040b8b83; odin_tt=13ca4edd431b0cf63c4cf86df8117cc220963d5fe1adedc5b500e7bdedf3281b8880fe15f8487e809a4d2fbb459d4414b01735214e3ff40088000c4c3e772c38; cmpl_token=AgQQAPO_F-RO0rAQscT18N07-lKfJyxHv4M0YPnghw; sid_guard=0b7a2b62465ddd997a9408dfcef155bd%7C1614035758%7C5184000%7CFri%2C+23-Apr-2021+23%3A15%3A58+GMT; uid_tt=d4a0bb253cee8e0f0f887060869e55d04e225dca4da90fb5ce3380b50913c4cb; uid_tt_ss=d4a0bb253cee8e0f0f887060869e55d04e225dca4da90fb5ce3380b50913c4cb; sid_tt={sessionid1}; sessionid={sessionid1}; sessionid_ss={sessionid1}; store-idc=alisg; store-country-code=sa; MONITOR_WEB_ID=6931890936634443265; _abck=B32AAB6B88AFAD7EDD5F8F43238D6289~0~YAAQdl4zVqcjlxp3AQAAYlAHzAUjprjMKVgW9hYArMReESRNrOWghue/S82JLQDy6Yt4SMqEzaK/+OkeEB6LBi/FpP9iPwkr2dk1dl64fJ0Qjye/oyJmvT1Drx8gLEd4bJWKtJbyIpfqt16nj1uHjVrX/gDeHJhUF1FBJQBwr7HXF/lOcOsIhCcUV27jYgFRHxW875U26ln50PfEXXNmJLaSFwo1GtVBjmXYAn6jbCmXVLcxaU1PfTvO1d8KghoBLmDA85BeHCmaA3wNqKB+ieHpldwgE6hqbJzmFjTu2vvTtFdKQ4OYsUhxYfphxfJVLfC2Bp17sC/A5QRQuOFivRs4rgMiPg==~-1~||-1||~-1; bm_sv=431EBC22FBA0B9E6654828B1BF07D9C4~d+AgKbhhH6iHfBJPadKHtTbJbUCnr5tqw/IF6gVcieTr3Dmk/iuM4cVGK8XlKH9NX/CKW0DtQGXrLi9zACZXHwBVKmdQ1iJ8sncYZdiXsrqG9F5wNfjI+qwlzFKlwN77Zz6bOsK6uMIY8knC4Fc4HQ7JrCffU/7v2IZlbIh59yM='
  58. }
  59. data_report = {
  60. "reason":'310',
  61. "object_id":Get_id_Target2,
  62. "owner_id":Get_id_Target2,
  63. "report_type":"user"
  64. }
  65. url_self = f'https://www.tiktok.com/node/report/reasons_put?aid=1988&app_name=tiktok_web&device_platform=web&referer=&root_referer=https:%2F%2Fwww.tiktok.com%2F%40{username}%3Fis_copy_url%3D1%26is_from_webapp%3Dv1&user_agent=Mozilla%2F5.0+(X11%3B+Linux+x86_64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F88.0.4324.150+Safari%2F537.36&cookie_enabled=true&screen_width=1366&screen_height=768&browser_language=en-US&browser_platform=Linux+x86_64&browser_name=Mozilla&browser_version=5.0+(X11%3B+Linux+x86_64)+AppleWebKit%2F537.36+(KHTML,+like+Gecko)+Chrome%2F88.0.4324.150+Safari%2F537.36&browser_online=true&ac=4g&timezone_name=America%2FNew_York&page_referer=https:%2F%2Fwww.tiktok.com%2F%40ksgf%3Fis_copy_url%3D1%26is_from_webapp%3Dv1&priority_region=SA&verifyFp=verify_0cddbd837c6e0df451b5cf3cf6ff5182&appId=1233&region=SA&appType=m&isAndroid=false&isMobile=false&isIOS=false&OS=linux&did=6931890936634443265&tt-web-region=SA&uid=6930581757486040066'
  66. headers_self = {
  67. 'Connection': 'close',
  68. 'Content-Length': '102',
  69. 'Accept': 'application/json, text/plain, */*',
  70. 'x-secsdk-csrf-token': '0001000000012a8f40f370c5ae099b1a65c576cb480f5d1706c0dfdd8c7991aa1929ad3cbadc166634f9de3b1a91',
  71. 'tt-csrf-token': '4uNJGBn_ZzXhHYhSj3HbIQN0',
  72. 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36',
  73. 'Content-Type': 'application/json',
  74. 'Origin': 'https://www.tiktok.com',
  75. 'Sec-Fetch-Site': 'same-origin',
  76. 'Sec-Fetch-Mode': 'cors',
  77. 'Sec-Fetch-Dest': 'empty',
  78. 'Referer': f'https://www.tiktok.com/@{username}?is_copy_url=1&is_from_webapp=v1',
  79. 'Accept-Encoding': 'gzip, deflate',
  80. 'Accept-Language': 'en-US,en;q=0.9',
  81. 'Cookie': f'tt_webid_v2=6931890936634443265; tt_webid=6931890936634443265; s_v_web_id=verify_0cddbd837c6e0df451b5cf3cf6ff5182; tt_csrf_token=4uNJGBn_ZzXhHYhSj3HbIQN0; bm_sz=6EF8376E5CFB32C01ECE75A0FA3C368D~YAAQl14zVviROxx3AQAAV4r4ywq5vtEk3rtDacDlheJxT03p4N1pg85sGK77KNKXfMOdbbluR4LkSMxoO/Gid5RizfsKYTW95j1ohsm+hvv4WiTWuI3Y/AmkvbX4IwbAXIRt96ajgIBthfsVZbZO8Dv7ovFmusOiw/8V6/x+U9P8elBMk2E9kbSQ5lekNFfG; csrf_session_id=2ee5d5b530b24bb28efbd674f0c8c88d; ak_bmsc=708DF909DAA3A8B972B9DE1C6303581156335E973B4200006F373460CEEDD27D~plZGd4T0oSlOh6wPNBFPeKMGOE6ZjQIGvTs9w2/7bfAh5hTH99sQPFqP9B9Dq9PG6RHTcnpl4mk03X9laadSVAhVFnNgEnz3NJvipdEPm8Mzfx3D5udHaQDInSt03uKImS72kIcvJB3Z0qsXMvfRKK0LKBD+XJ09MJhErybjt+OjDsz8zSm3/uiDJouHEjSfr/XWzH7jO6WawOfHpaIVGiA9UQnLrKA0Mhd2plCEdAraUeBLqAgAprdaI6MNyuykLK; ttwid=1%7CWf1epqHAd8sW5357XF9Dyy5P1xfJTD0lq_ycAc6mBwg%7C1614034971%7C942ab2f27a5f118fbc2e0793c7b9651a0617459cf422c9e3a1e4811fdea20217; passport_csrf_token=858080cf8140c4c62acba7ba040b8b83; passport_csrf_token_default=858080cf8140c4c62acba7ba040b8b83; odin_tt=13ca4edd431b0cf63c4cf86df8117cc220963d5fe1adedc5b500e7bdedf3281b8880fe15f8487e809a4d2fbb459d4414b01735214e3ff40088000c4c3e772c38; cmpl_token=AgQQAPO_F-RO0rAQscT18N07-lKfJyxHv4M0YPnghw; sid_guard=0b7a2b62465ddd997a9408dfcef155bd%7C1614035758%7C5184000%7CFri%2C+23-Apr-2021+23%3A15%3A58+GMT; uid_tt=d4a0bb253cee8e0f0f887060869e55d04e225dca4da90fb5ce3380b50913c4cb; uid_tt_ss=d4a0bb253cee8e0f0f887060869e55d04e225dca4da90fb5ce3380b50913c4cb; sid_tt={sessionid1}; sessionid={sessionid1}; sessionid_ss={sessionid1}; store-idc=alisg; store-country-code=sa; MONITOR_WEB_ID=6931890936634443265; _abck=B32AAB6B88AFAD7EDD5F8F43238D6289~0~YAAQdl4zVqcjlxp3AQAAYlAHzAUjprjMKVgW9hYArMReESRNrOWghue/S82JLQDy6Yt4SMqEzaK/+OkeEB6LBi/FpP9iPwkr2dk1dl64fJ0Qjye/oyJmvT1Drx8gLEd4bJWKtJbyIpfqt16nj1uHjVrX/gDeHJhUF1FBJQBwr7HXF/lOcOsIhCcUV27jYgFRHxW875U26ln50PfEXXNmJLaSFwo1GtVBjmXYAn6jbCmXVLcxaU1PfTvO1d8KghoBLmDA85BeHCmaA3wNqKB+ieHpldwgE6hqbJzmFjTu2vvTtFdKQ4OYsUhxYfphxfJVLfC2Bp17sC/A5QRQuOFivRs4rgMiPg==~-1~||-1||~-1; bm_sv=431EBC22FBA0B9E6654828B1BF07D9C4~d+AgKbhhH6iHfBJPadKHtTbJbUCnr5tqw/IF6gVcieTr3Dmk/iuM4cVGK8XlKH9NX/CKW0DtQGXrLi9zACZXHwBVKmdQ1iJ8sncYZdiXsrqG9F5wNfjI+qwlzFKlwN77Zz6bOsK6uMIY8knC4Fc4HQ7JrCffU/7v2IZlbIh59yM='
  82. }
  83. data_self = {
  84. "reason":'3052',
  85. "object_id":Get_id_Target2,
  86. "owner_id":Get_id_Target2,
  87. "report_type":"user"
  88. }
  89. while True:
  90.     req_report = requests.post(url_report, json=data_report, headers=headers_report).text
  91.     if '"errMsg":"Thanks for your feedback"' in req_report:
  92.         done +=1
  93.         print(Fore.GREEN+f'[{done}] Done Spam With Target ==> : {username}')
  94.         time.sleep(2)
  95.     else:
  96.         done +=1
  97.         print(Fore.RED+f'[{done}] Error Spam ..')
  98.     req_self = requests.post(url_self, json=data_self, headers=headers_self).text
  99.     if '"errMsg":"Thanks for your feedback"' in req_self:
  100.         done +=1
  101.         print(Fore.GREEN+f'[{done}] Done Self With Target ==> : {username}')
  102.         time.sleep(2)
  103.     else:
  104.         done +=1
  105.         print(Fore.RED+f'[{done}] Error Self ..')
  106.  
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.

×