Skip to content

Instantly share code, notes, and snippets.

@JoyGhoshs
Last active September 27, 2021 09:40
Show Gist options
  • Save JoyGhoshs/c20865579d347aef4180ab6a30d3d8e1 to your computer and use it in GitHub Desktop.
Save JoyGhoshs/c20865579d347aef4180ab6a30d3d8e1 to your computer and use it in GitHub Desktop.
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