Advertisement
sajadotf

Untitled

Jun 23rd, 2022
1,373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PyCon 2.80 KB | None | 0 0
  1. import requests,secrets,json,time
  2. Coke = secrets.token_hex(8)*2
  3. from user_agent import generate_user_agent
  4. import os
  5.  
  6. toko='5458957317:AAHjQB0ujTnrqgbuSSvtnvMiSz9in0X2M7E'
  7. id='1375373577'
  8.  
  9. os.system("clear")
  10.  
  11.  
  12. r = requests.session()
  13. def CODE():
  14.   global sisn , tim
  15.   while True:
  16.     ERR = 0
  17.     urlCOD = 'https://10minutemail.net/address.api.php?sessionid='+sisn+'&_='+tim
  18.     try:
  19.       time.sleep(4)
  20.       send2 = r.get(urlCOD)
  21.       msg = send2.json()['mail_list'][ERR]['subject']
  22.       if msg.find('Hi, Welcome to 10 Minute Mail')>=0:
  23.         print(f'[!] No Messages ')
  24.         print(' ━━━━━━━━━━━━━━━━━━━━━')
  25.       elif '"from"'in send2.text:
  26.         eml = send2.json()['mail_list'][ERR]['from']
  27.         TM = send2.json()['mail_list'][ERR]['datetime']
  28.         print('From email: '+eml)
  29.         print('data time: '+TM)
  30.         print('New messages : '+msg)
  31.         req = requests.post(f'https://api.telegram.org/bot{toko}/sendMessage?chat_id={id}&text=Fake Mail Message ✅\n\n - N𝘦𝘸 𝘮𝘦𝘴𝘴𝘢𝘨𝘦𝘴 : {msg}\n\n- D𝘦𝘷 : @mXeee')
  32.  
  33.         print(' ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━')
  34.         exit()
  35.       elif '"datetime"'in send2:
  36.         TM = send2.json()['mail_list'][ERR]['datetime']
  37.         print('data time: '+TM)
  38.         print('New messages : '+msg)
  39.         print(' ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━')
  40.       else:
  41.         print('[*] Email expired ..')
  42.         input(' ')
  43.         exit()
  44.     except TypeError:
  45.       print('[*] Email expired ..')
  46.       input(' ')
  47.       exit()
  48.     except AttributeError:
  49.       print('sorry')
  50.       exit()
  51. def EmAIl():
  52.   global sisn , tim
  53.   vv1ck = 'https://10minutemail.net/address.api.php?'
  54.   headers = {
  55.   'Host':'10minutemail.net',
  56.   'Cookie':Coke,
  57.   'User-Agent':generate_user_agent(),
  58.   'Accept':'application/json,',
  59.   'Accept-Language':'en-US,en;q=0.5',
  60.   'Accept-Encoding':'gzip,',
  61.   'X-Requested-With':'XMLHttpRequest',
  62.   'Referer':'https://10minutemail.net/m/?lang=ar',
  63.   'Te':'trailers',
  64.   'Connection':'close'}
  65.   send = r.get(vv1ck,headers=headers)
  66.   email = str(send.json()['mail_get_mail'])
  67.   sisn = str(send.json()['session_id'])
  68.   tim = str(send.json()['mail_get_time'])
  69.   print('  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━')
  70.   print('   [=] Email: '+email+'')
  71.   print('  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n')
  72.   req = requests.post(f'https://api.telegram.org/bot{toko}/sendMessage?chat_id={id}&text=F𝘢𝘬𝘦 N𝘦𝘸 E𝘮𝘢𝘪𝘭 ⚙️\n - N𝘦𝘸 ---> : {email}\n- D𝘦𝘷 : @mXeee')
  73.   time.sleep(1)
  74.   CODE()
  75. EmAIl()
  76.  
  77. os.system("clear")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement