Created
October 4, 2021 06:45
-
-
Save JoyGhoshs/330288689998a0c66ecc50bb8a4c519f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import sys | |
from bs4 import BeautifulSoup | |
from colorama import Fore, Style | |
def leakix_search(ip): | |
get = requests.get(f'https://leakix.net/host/{ip}') | |
comp = BeautifulSoup(get.content, 'lxml') | |
search = comp.find_all('pre',class_="rounded p-1 wrap") | |
for data in search: | |
print(f'{Fore.RED}[+]{Fore.WHITE} {ip} {Fore.RED}[LEAK]{Fore.WHITE}') | |
print() | |
print(Fore.CYAN+data.get_text()+Fore.WHITE) | |
leakix_search(sys.argv[1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment