Untitled
unknown
plain_text
a year ago
1.4 kB
39
Indexable
from fake_useragent import UserAgent from googlesearch import search from colorama import Fore from time import sleep from sys import exit import requests import platform import os bulunan = 0 banner = Fore.MAGENTA + """ __ ___ ___ ___ __ ___ __ /__` | | |__ |__ | |\ | | \ |__ |__) .__/ | | |___ | | | \| |__/ |___ | \ Coded By CommandBEY\n""" + Fore.RESET def starts(): osname = platform.system() if osname == "Windows": os.system("cls") elif osname == "Linux": os.system("clear") print(banner) starts() useragent = UserAgent() try: dork = str(input(Fore. GREEN + "Dork Girin: " + Fore.RESET)) maxsite = int(input(Fore.GREEN + "Max Bulunacak Site Girin: " + Fore.RESET)) except ValueError as e: print(f"Hata: {e}") try: for urls in search(dork, num_results=maxsite): print(Fore.CYAN + "\n" + urls + Fore.RESET) with open("sites.txt", "a") as dosya: dosya.write(urls + "\n") bulunan += 1 except requests.exceptions.ReadTimeout: print(Fore.RED + "Time Out Yedin!!!") sleep(2) exit() except NameError: print(Fore.RED + "Doğru Yazdığınızdan Emin Olun..." + Fore.RESET) if bulunan > 0: print(Fore.BLUE + f"\n{bulunan} Tane Site Bulundu!" + Fore.RESET) else: print(Fore.RED + "\nHiç Site Bulunamadı!" + Fore.RESET)
Editor is loading...
Leave a Comment