Aayco

Telegram Support

May 17th, 2025 (edited)
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.37 KB | None | 0 0
  1. #Check If Requests Module Installed
  2. import os
  3. try:
  4.     from requests import post as p
  5.     from faker import Faker
  6.     import random
  7. #If Not Installed
  8. except ModuleNotFoundError as e:
  9.     module_name = str(e).split("'")[1]
  10.     print(f'Module {module_name} Not Found Installing It Now...')
  11.     os.system(f'pip install {module_name}')
  12. #Telegram Support Website
  13. url = "https://telegram.org/support"
  14. #The Headers That We Will Use
  15. headers = {
  16.     'authority': 'telegram.org',
  17.     '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.7',
  18.     'accept-language': 'en-US,en;q=0.9',
  19.     'cache-control': 'max-age=0',
  20.     'content-type': 'application/x-www-form-urlencoded',
  21.     'origin': 'https://telegram.org',
  22.     'referer': 'https://telegram.org/support',
  23.     'sec-ch-ua': '"Chromium";v="137", "Not/A)Brand";v="24"',
  24.     'sec-ch-ua-mobile': '?1',
  25.     'sec-ch-ua-platform': '"Android"',
  26.     'sec-fetch-dest': 'document',
  27.     'sec-fetch-mode': 'navigate',
  28.     'sec-fetch-site': 'same-origin',
  29.     'sec-fetch-user': '?1',
  30.     'upgrade-insecure-requests': '1',
  31.     'user-agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36',
  32. }
  33.  
  34. #The Cute User Inputs
  35. #Input Your Account Number
  36. phone_number = '+20××××××××××'
  37. #Input Your Account Username
  38. username = '@iAiyko'
  39. #Input Issue Message
  40. issue_message = f'''
  41. Hello Telegram Support Team,
  42. My name is [Amiru My Username Is {username}], and my account/phone number has been banned without any prior warning. I am not aware of any specific reason for this ban.
  43. I would like to clarify that I have not engaged in any activity that violates Telegram's terms of service or causes inconvenience to other users.
  44. I kindly request you to review my case and lift the ban on my account as soon as possible, as I rely on Telegram for both personal and professional communication.
  45. Thank you for your support.
  46. Best regards,
  47. [Phone Number Linked to the Account: {phone_number}]
  48. '''
  49. # For Full Legal Name Field
  50. name = (Faker()).name()
  51. # To Generate Random Number For Email
  52. num = str(random.randint(1000, 9999))
  53. # Contact Email
  54. email = (name+num+'@gmail.com').replace(' ', '')
  55. #Input The Page Response Language
  56. language = 'en'
  57.  
  58. #The Data That Contain Your Info
  59. data = {
  60.     #Your Issue Message
  61.     "message": issue_message.replace('\n', ' '),
  62.     #Your Full Legal Name
  63.     "legal_name": name,
  64.     #Your Email For Contact
  65.     "email": email,
  66.     #Your Account Number
  67.     "phone": phone_number,
  68.     #The Page Language
  69.     "setln": language
  70. }
  71. #Send The Info To The Telegram Support Web
  72. while True:
  73.  try:
  74.     response = p(url, headers=headers, data=data)
  75.     #Print Response Status Code (200 = Success)
  76.     print("Status Code:", response.status_code)
  77.     #Check If Issue Sent To Telegram Successfully
  78.     if response.status_code == 200 and '<div class="alert alert-success">' in (response.text):
  79.         #Print Success Message
  80.         print(f'Issue Message: {issue_message}\nFull Legal Name {name}\nFor Number: {phone_number}\nHas Been Succesfully Sent To {url}\nCheck Your Email {email} For Any Reply From Telegram Support')
  81.     else:
  82.         #Prrint Failure Message
  83.         print('There Is Something Wrong Happend')
  84.  #Error Handling
  85.  except Exception as e:
  86.     print(f'Error: {e}')    
  87.  
Advertisement
Add Comment
Please, Sign In to add comment