Advertisement
xxei

Delet

Apr 18th, 2021
1,649
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 17.05 KB | None | 0 0
  1. import requests , time
  2. from json import dumps
  3. r = requests.session()
  4.  
  5. vv1ck ="""
  6.    _        By JOKER @t.uo       _
  7.   / \  ___ ___ ___  _   _ _ __ | |_ ___
  8.  / _ \ / __/ __/ _ \| | | | '_ \| __/ __|
  9. / ___ \ (_| (_| (_) | |_| | | | | |_\__ \
  10. /_/   \_\___\___\___/ \__,_|_| |_|\__|___/
  11.  
  12. [1] delet following | [2] delet chat
  13. [3] delet your post | [4] delet Saved Post
  14. """
  15. print(vv1ck)
  16. joker = input('Enter the number : ')
  17. print('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━')
  18. time.sleep(1)
  19. user = input("\nEnter username : ")
  20. pess = input("Enter password : ")
  21. def deletSEVE():
  22.     def poSF():
  23.         global iid , sis
  24.         sis = go.cookies['sessionid']
  25.         urPF = 'https://www.instagram.com/web/save/{}/unsave/'.format(iid)
  26.        
  27.         hedPF = {
  28.             'accept': '*/*',
  29.             'accept-encoding': 'gzip, deflate, br',
  30.             'accept-language': 'ar,en-US;q=0.9,en;q=0.8',
  31.             'content-length': '0',
  32.             'content-type': 'application/x-www-form-urlencoded',
  33.             'cookie': 'mid=YF55GAALAAF55lDR3NkHNG4S-vjw; ig_did=F3A1F3B5-01DB-457B-A6FA-6F83AD1717DE; ig_nrcb=1; ds_user_id=46165248972; shbid=13126; shbts=1616804137.1316793; rur=PRN; csrftoken=mnnbqhStTDAfu10DkI2VrW5VoCg9InFk; sessionid='+sis,
  34.             'origin': 'https://www.instagram.com',
  35.             'referer': 'https://www.instagram.com/p/CMsEWimjxqE/',
  36.             'sec-ch-ua': '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"',
  37.             'sec-ch-ua-mobile': '?0',
  38.             'sec-fetch-dest': 'empty',
  39.             'sec-fetch-mode': 'cors',
  40.             'sec-fetch-site': 'same-origin',
  41.             'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36',
  42.             'x-csrftoken': 'mnnbqhStTDAfu10DkI2VrW5VoCg9InFk',
  43.             'x-ig-app-id': '936619743392459',
  44.             'x-ig-www-claim': 'hmac.AR0EWvjix_XsqAIjAt7fjL3qLwQKCRTB8UMXTGL5j7pkgbG4',
  45.             'x-instagram-ajax': '753ce878cd6d',
  46.             'x-requested-with': 'XMLHttpRequest'}
  47.        
  48.         jok = r.post(urPF,headers=hedPF)
  49.         if '"status":"ok"' in jok.text:
  50.             print('[+] The saved video has been deleted')
  51.         else:
  52.             print('[-] You have been banned !')
  53.    
  54.     def infoSEV():
  55.         global go , iid , slp
  56.         while True:
  57.             sis = go.cookies['sessionid']
  58.             ur = 'https://www.instagram.com/{}/?__a=1'.format(user)
  59.            
  60.             hedID = {
  61.             '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',
  62.             'accept-encoding': 'gzip, deflate, br',
  63.             'accept-language': 'en-US,en;q=0.9,ar;q=0.8',
  64.             'cache-control': 'no-cache',
  65.             'cookie': 'ig_did=D5BC7E80-9785-4758-B94C-E128617D353B; mid=XsL1CAAAAAG9iRyIP2cLrfuZ7CUm; fbm_124024574287414=base_domain=.instagram.com; ig_nrcb=1; datr=9D0-YLR0rApS9iOG6npp3drV; shbid=489; shbts=1616344547.8202462; rur=ASH; csrftoken=origpnsxJ21mHIJCxkuOltceXsKKhTA2; ds_user_id=45572593982; sessionid='+sis,
  66.             'pragma': 'no-cache',
  67.             'sec-ch-ua': '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"',
  68.             'sec-ch-ua-mobile': '?0',
  69.             'sec-fetch-dest': 'document',
  70.             'sec-fetch-mode': 'navigate',
  71.             'sec-fetch-site': 'cross-site',
  72.             'sec-fetch-user': '?1',
  73.             'upgrade-insecure-requests': '1',
  74.             'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36'}
  75.             time.sleep(slp)
  76.             id = requests.get(ur,headers=hedID)
  77.             try:
  78.                 iid = id.json()['graphql']['user']['edge_saved_media']['edges'][0]['node']['id']
  79.                 poSF()
  80.             except IndexError:
  81.                 print('There are no saved videos !')
  82.                 print('Follow me | insta: t.uo | tele: vv1ck')
  83.                 exit()
  84.     infoSEV()
  85. def chatMS():
  86.     def aco():
  87.         global go , foCH , foCU
  88.         sis = go.cookies['sessionid']
  89.         urA = 'https://i.instagram.com/api/v1/direct_v2/threads/{}/hide/'.format(foCH)
  90.        
  91.         hedA = {
  92.             'accept': '*/*',
  93.             'accept-encoding': 'gzip, deflate, br',
  94.             'accept-language': 'ar,en-US;q=0.9,en;q=0.8',
  95.             'content-length': '0',
  96.             'content-type': 'application/x-www-form-urlencoded',
  97.             'cookie': 'mid=YF55GAALAAF55lDR3NkHNG4S-vjw; ig_did=F3A1F3B5-01DB-457B-A6FA-6F83AD1717DE; ig_nrcb=1; ds_user_id=46165248972; shbid=13126; shbts=1616804137.1316793; rur=PRN; csrftoken=mnnbqhStTDAfu10DkI2VrW5VoCg9InFk; sessionid='+sis,
  98.             'origin': 'https://www.instagram.com',
  99.             'referer': 'https://www.instagram.com/',
  100.             'sec-ch-ua': '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"',
  101.             'sec-ch-ua-mobile': '?0',
  102.             'sec-fetch-dest': 'empty',
  103.             'sec-fetch-mode': 'cors',
  104.             'sec-fetch-site': 'same-site',
  105.             'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36',
  106.             'x-csrftoken': 'mnnbqhStTDAfu10DkI2VrW5VoCg9InFk',
  107.             'x-ig-app-id': '1217981644879628',
  108.             'x-ig-www-claim': 'hmac.AR24Fkd2DvunQ5ELQD_I_6FoVMTbIdkiDD08ZF2jyPhpEmIg',
  109.             'x-instagram-ajax': '753ce878cd6d'}
  110.        
  111.         g = r.post(urA,headers=hedA)
  112.        
  113.         if '"status":"ok"' in g.text:
  114.             print(f'[+] The chat has been deleted -> {foCU}')
  115.        
  116.         else:
  117.             print('[-] You have been banned ! ')
  118.    
  119.     def idCHT():
  120.         global go , foCH , foCU , slp
  121.         sis = go.cookies['sessionid']
  122.         while True:
  123.             urCH = 'https://i.instagram.com/api/v1/direct_v2/inbox/?persistentBadging=true&cursor='
  124.            
  125.             hedCH = {
  126.                 'accept': '*/*',
  127.                 'accept-encoding': 'gzip, deflate, br',
  128.                 'accept-language': 'ar,en-US;q=0.9,en;q=0.8',
  129.                 'cookie': 'mid=YF55GAALAAF55lDR3NkHNG4S-vjw; ig_did=F3A1F3B5-01DB-457B-A6FA-6F83AD1717DE; ig_nrcb=1; ds_user_id=46165248972; shbid=13126; shbts=1616804137.1316793; rur=PRN; csrftoken=mnnbqhStTDAfu10DkI2VrW5VoCg9InFk; sessionid='+sis,
  130.                 'origin': 'https://www.instagram.com',
  131.                 'referer': 'https://www.instagram.com/',
  132.                 'sec-ch-ua': '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"',
  133.                 'sec-ch-ua-mobile': '?0',
  134.                 'sec-fetch-dest': 'empty',
  135.                 'sec-fetch-mode': 'cors',
  136.                 'sec-fetch-site': 'same-site',
  137.                 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36',
  138.                 'x-ig-app-id': '936619743392459',
  139.                 'x-ig-www-claim': 'hmac.AR0EWvjix_XsqAIjAt7fjL3qLwQKCRTB8UMXTGL5j7pkgbG4'}
  140.             time.sleep(slp)
  141.             j=r.get(urCH,headers=hedCH)
  142.            
  143.             try:
  144.                 foCH = str(j.json()['inbox']['threads'][0]['thread_id'])
  145.                
  146.                 foCU = str(j.json()['inbox']['threads'][0]['users'][0]['username'])
  147.                 aco()
  148.             except IndexError:
  149.                 print('\nThere are no messages to delete !')
  150.                 print('Follow me | insta: t.uo | tele: vv1ck')
  151.                 exit()
  152.     idCHT()
  153. def post():
  154.     def pos():
  155.         global iid , go , iid
  156.         sis = go.cookies['sessionid']
  157.         urDP = 'https://www.instagram.com/create/{}/delete/'.format(iid)
  158.        
  159.         hedDP = {
  160.             'accept': '*/*',
  161.             'accept-encoding': 'gzip, deflate, br',
  162.             'accept-language': 'ar,en-US;q=0.9,en;q=0.8',
  163.             'content-length': '0',
  164.             'content-type': 'application/x-www-form-urlencoded',
  165.             'cookie': 'mid=YF55GAALAAF55lDR3NkHNG4S-vjw; ig_did=F3A1F3B5-01DB-457B-A6FA-6F83AD1717DE; ig_nrcb=1; ds_user_id=46165248972; shbid=13126; shbts=1616804137.1316793; rur=PRN; csrftoken=mnnbqhStTDAfu10DkI2VrW5VoCg9InFk; sessionid='+sis,
  166.             'origin': 'https://www.instagram.com',
  167.             'referer': 'https://www.instagram.com/p/CM5_0EfBliscG9z8SJBY1iasqct_jP0jEJsNCU0/',
  168.             'sec-ch-ua': '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"',
  169.             'sec-ch-ua-mobile': '?0',
  170.             'sec-fetch-dest': 'empty',
  171.             'sec-fetch-mode': 'cors',
  172.             'sec-fetch-site': 'same-origin',
  173.             'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36',
  174.             'x-csrftoken': 'mnnbqhStTDAfu10DkI2VrW5VoCg9InFk',
  175.             'x-ig-app-id': '1217981644879628',
  176.             'x-ig-www-claim': 'hmac.AR24Fkd2DvunQ5ELQD_I_6FoVMTbIdkiDD08ZF2jyPhpEvg3',
  177.             'x-instagram-ajax': '753ce878cd6d',
  178.             'x-requested-with': 'XMLHttpRequest'}
  179.        
  180.         dl = r.post(urDP,headers=hedDP)
  181.         if '"status":"ok"' in dl.text:
  182.             print(f'[+] Deleted [ id post > {iid}]')
  183.         else:
  184.             print('[-] You have been banned !')
  185.     def usID():
  186.         global go , iid , slp
  187.         while True:
  188.             sis = go.cookies['sessionid']
  189.             ur = 'https://www.instagram.com/{}/?__a=1'.format(user)
  190.            
  191.             hedID = {
  192.             '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',
  193.             'accept-encoding': 'gzip, deflate, br',
  194.             'accept-language': 'en-US,en;q=0.9,ar;q=0.8',
  195.             'cache-control': 'no-cache',
  196.             'cookie': 'ig_did=D5BC7E80-9785-4758-B94C-E128617D353B; mid=XsL1CAAAAAG9iRyIP2cLrfuZ7CUm; fbm_124024574287414=base_domain=.instagram.com; ig_nrcb=1; datr=9D0-YLR0rApS9iOG6npp3drV; shbid=489; shbts=1616344547.8202462; rur=ASH; csrftoken=origpnsxJ21mHIJCxkuOltceXsKKhTA2; ds_user_id=45572593982; sessionid='+sis,
  197.             'pragma': 'no-cache',
  198.             'sec-ch-ua': '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"',
  199.             'sec-ch-ua-mobile': '?0',
  200.             'sec-fetch-dest': 'document',
  201.             'sec-fetch-mode': 'navigate',
  202.             'sec-fetch-site': 'cross-site',
  203.             'sec-fetch-user': '?1',
  204.             'upgrade-insecure-requests': '1',
  205.             'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36'}
  206.             time.sleep(slp)
  207.             id = requests.get(ur,headers=hedID)
  208.             try:
  209.                 iid = id.json()['graphql']['user']['edge_owner_to_timeline_media']['edges'][0]['node']['id']
  210.                 pos()
  211.             except IndexError:
  212.                 print('There are no videos to delete !')
  213.                 print('Follow me | insta: t.uo | tele: vv1ck')
  214.                 exit()
  215.     usID()
  216. def folloing():
  217.     def dltFLG():
  218.         global foID , foNM , go , iid
  219.         cook = go.cookies['sessionid']
  220.         url = 'https://www.instagram.com/web/friendships/{}/unfollow/'.format(foID)
  221.        
  222.         hedDLT = {
  223.             'accept': '*/*',
  224.             'accept-encoding': 'gzip, deflate, br',
  225.             'accept-language': 'en-US,en;q=0.9',
  226.             'content-length': '0',
  227.             'content-type': 'application/x-www-form-urlencoded',
  228.             'cookie': 'mid=YF55GAALAAF55lDR3NkHNG4S-vjw; ig_did=F3A1F3B5-01DB-457B-A6FA-6F83AD1717DE; ig_nrcb=1; csrftoken=wYPaFI4U1osqOiXc2Tv5vOsNgTdBwrxi; ds_user_id=46165248972; sessionid='+cook,
  229.             'origin': 'https://www.instagram.com',
  230.             'referer': f'https://www.instagram.com/{user}/following/',
  231.             'sec-ch-ua': '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"',
  232.             'sec-ch-ua-mobile': '?0',
  233.             'sec-fetch-dest': 'empty',
  234.             'sec-fetch-mode': 'cors',
  235.             'sec-fetch-site': 'same-origin',
  236.             'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36',
  237.             'x-csrftoken': 'wYPaFI4U1osqOiXc2Tv5vOsNgTdBwrxi',
  238.             'x-ig-app-id': '936619743392459',
  239.             'x-ig-www-claim': 'hmac.AR0EWvjix_XsqAIjAt7fjL3qLwQKCRTB8UMXTGL5j7pkgYkq',
  240.             'x-instagram-ajax': '753ce878cd6d',
  241.             'x-requested-with': 'XMLHttpRequest'}
  242.        
  243.         don = r.post(url,headers=hedDLT)
  244.        
  245.         if '"status":"ok"' in don.text:
  246.             print(f'[+] Deleted username >> {foNM}')
  247.         elif 'Please' in don.text:
  248.             print('[-] Banned, try again another time !')
  249.         else:
  250.             print('error !')
  251.     def userID():
  252.         global go , foID , foNM , iid , slp
  253.         while True:
  254.             cook = go.cookies['sessionid']
  255.             tok = 'd04b0a864b4b54837c0d870b0e77e076'
  256.            
  257.             cookies = {
  258.             "sessionid": cook,}
  259.            
  260.             variables = {
  261.                 "id": iid,
  262.                 "first": 50}
  263.            
  264.             params = {
  265.                 "query_hash": tok,
  266.                 "variables": dumps(variables)}
  267.             time.sleep(slp)
  268.             ok = r.get("https://www.instagram.com/graphql/query/", params = params, cookies = cookies)
  269.             try:
  270.                 foID = str(ok.json()['data']['user']['edge_follow']['edges'][0]['node']['id'])
  271.                 foNM = str(ok.json()['data']['user']['edge_follow']['edges'][0]['node']['username'])
  272.                 dltFLG()   
  273.             except IndexError:
  274.                 print('There is no account to delete')
  275.                 print('Follow me | insta: t.uo | tele: vv1ck')
  276.                 exit()
  277.     def usID():
  278.         global go , iid
  279.         sis = go.cookies['sessionid']
  280.         ur = 'https://www.instagram.com/{}/?__a=1'.format(user)
  281.        
  282.         hedID = {
  283.         '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',
  284.         'accept-encoding': 'gzip, deflate, br',
  285.         'accept-language': 'en-US,en;q=0.9,ar;q=0.8',
  286.         'cache-control': 'no-cache',
  287.         'cookie': 'ig_did=D5BC7E80-9785-4758-B94C-E128617D353B; mid=XsL1CAAAAAG9iRyIP2cLrfuZ7CUm; fbm_124024574287414=base_domain=.instagram.com; ig_nrcb=1; datr=9D0-YLR0rApS9iOG6npp3drV; shbid=489; shbts=1616344547.8202462; rur=ASH; csrftoken=origpnsxJ21mHIJCxkuOltceXsKKhTA2; ds_user_id=45572593982; sessionid='+sis,
  288.         'pragma': 'no-cache',
  289.         'sec-ch-ua': '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"',
  290.         'sec-ch-ua-mobile': '?0',
  291.         'sec-fetch-dest': 'document',
  292.         'sec-fetch-mode': 'navigate',
  293.         'sec-fetch-site': 'cross-site',
  294.         'sec-fetch-user': '?1',
  295.         'upgrade-insecure-requests': '1',
  296.         'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36'}
  297.        
  298.         id = requests.get(ur,headers=hedID)
  299.         iid = id.json()['graphql']['user']['id']
  300.         userID()
  301.     usID()
  302. def sc():
  303.     global headLG , go , datLG , slp
  304.     st = go.json()['checkpoint_url']
  305.     coke = go.cookies
  306.     urSC= 'https://www.instagram.com' + st
  307.     g=r.post(urSC,data=datLG,headers=headLG,cookies=coke)
  308.     if ("phone_number") in g.text:
  309.         print("\n 0 >> Phone \n")
  310.     if ("email") in g.text:
  311.         print("\n 1 >> Email \n")
  312.     snd = input('Enter the type of send : ')
  313.     datSC = {
  314.         "choice": snd}
  315.     go1 = r.post(urSC,data=datSC,headers=headLG,cookies=coke)
  316.     if ("security_code") in go1.text:
  317.         code = input('\n Enter the security code : ')
  318.         datCO = {
  319.             "security_code": code}
  320.         go = requests.post(urSC,data=datCO,headers=headLG,cookies=coke)
  321.         if ("ok") in go.text:
  322.             print(f'\n\tHello {user} | Done login\n')
  323.             if joker == '1':
  324.                 slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  325.                 print('')
  326.                 folloing()
  327.         elif joker == '2':
  328.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  329.             print('')
  330.             chatMS()
  331.         elif joker == '3':
  332.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  333.             print('')
  334.             post()
  335.         elif joker == '4':
  336.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  337.             print('')
  338.             deletSEVE()
  339.         else:
  340.             print('\n The security code is invalid !')
  341. def ta():
  342.     global headLG , go ,slp
  343.     print('  \ntwo factor ')
  344.     st = go.json()['two_factor_info']['two_factor_identifier']
  345.     coke = go.cookies
  346.     cod = input('\n Enter the security code : ')
  347.    
  348.     datTA = {
  349.         'username': user,
  350.         'verificationCode': cod,
  351.         'identifier': st,
  352.         'queryParams': '{"next":"/"}'}
  353.    
  354.     go = r.post('https://www.instagram.com/accounts/login/ajax/two_factor/', headers=headLG,data=datTA,cookies=coke)
  355.    
  356.     if ("userId") in go.text:
  357.         print(f'\n\tHello {user} | Done login\n')
  358.         if joker == '1':
  359.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  360.             print('')
  361.             folloing()
  362.         elif joker == '2':
  363.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  364.             print('')
  365.             chatMS()
  366.         elif joker == '3':
  367.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  368.             print('')
  369.             post()
  370.         elif joker == '4':
  371.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  372.             print('')
  373.             deletSEVE()
  374.     elif ("checkpoint_url")  in go.text:
  375.         sc()
  376.     else:
  377.         print('\n The security code is invalid !')
  378.  
  379. def login():
  380.     global headLG , go , datLG , slp
  381.     urLG = "https://www.instagram.com/accounts/login/ajax/"
  382.     headLG = {
  383.         'accept': '*/*',
  384.         'accept-encoding': 'gzip, deflate, br',
  385.         'accept-language': 'en-US,en;q=0.9',
  386.         'content-length': '272',
  387.         'content-type': 'application/x-www-form-urlencoded',
  388.         'cookie': 'ig_did=F839D900-5ECC-4392-BCAD-5CBD51FB9228; mid=YChlyQALAAHp2POOp2lK_-ciAGlM; ig_nrcb=1; csrftoken=W4fsZmCjUjFms6XmKl1OAjg8v81jZt3r; ds_user_id=45872034997; shbid=6144; shbts=1614374582.8963153',
  389.         'origin': 'https://www.instagram.com',
  390.         'referer': 'https://www.instagram.com/accounts/login/',
  391.         'sec-ch-ua': '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"',
  392.         'sec-ch-ua-mobile': '?0',
  393.         'sec-fetch-dest': 'empty',
  394.         'sec-fetch-mode': 'cors',
  395.         'sec-fetch-site': 'same-origin',
  396.         'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36',
  397.         'x-csrftoken': 'W4fsZmCjUjFms6XmKl1OAjg8v81jZt3r',
  398.         'x-ig-app-id': '936619743392459',
  399.         'x-ig-www-claim': '0',
  400.         'x-instagram-ajax': '790551e77c76',
  401.         'x-requested-with': 'XMLHttpRequest'}
  402.    
  403.     datLG = {
  404.         "username": user,
  405.         "enc_password": f"#PWD_INSTAGRAM_BROWSER:0:&:{pess}",
  406.         "queryParams": "{}",
  407.         "optIntoOneTap": "false"}
  408.    
  409.     go = r.post(urLG,headers=headLG,data=datLG)
  410.    
  411.     if ("userId") in go.text:
  412.         print(f'\n\tHello {user} | Done login\n')
  413.         if joker == '1':
  414.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  415.             print('')
  416.             folloing()
  417.         elif joker == '2':
  418.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  419.             print('')
  420.             chatMS()
  421.         elif joker == '3':
  422.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  423.             print('')
  424.             post()
  425.         elif joker == '4':
  426.             slp = int(input('[+] Enter sleep [ 3 / 7 ] : '))
  427.             print('')
  428.             deletSEVE()
  429.     elif ("two_factor") in go.text:
  430.         print('\n Binary verification \n')
  431.         ta()
  432.     elif ("checkpoint_url")  in go.text:
  433.         print('\n Account Secure \n')
  434.         sc()
  435.     else:
  436.         print('\nThe username or password is wrong ! \n')
  437. login()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement