Last active
September 27, 2021 09:40
-
-
Save JoyGhoshs/c20865579d347aef4180ab6a30d3d8e1 to your computer and use it in GitHub Desktop.
This file contains 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 | |
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('your_target_ip') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment