Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- logo = """
- _ _ _ _ _ _ _ _ __ _ _ _ _
- | __| _ \ / \ | \ | | |/ / || | |/ \ | _| \ | |
- | |_ | |_) | / _ \ | \| | ' /| || |_| | / _ \ | || \| |
- | | | _ < / _ \| |\ | . \|_ | |/ __ \ | || |\ |
- |_| |_| \_\/_/ \_\_| \_|_|\_\ |_| |_/_/ \_\___|_| \_|
- FRANK4TAIN CPANAL CREATOR TOOL => WHM[CPANALS] CREATOR TOOL !!
- Coded by HeCToR. => Khalil Hassan => FB@Khalil7assan
- https://www.facebook.com/khalil7assan
- """
- print(logo)
- print("\n[+] New WHM CPANALS CREATOR TOOL [+]")
- print("[+] Secret Methods Family. [+]")
- print("\n")
- auther = 'Mukesh_50'
- from random import *
- import random
- from selenium import webdriver
- import time, pip
- import warnings, string
- from selenium.webdriver.common.keys import Keys
- domains = input("Enter Domains List.txt >> ")
- email = input("Enter Email To Send Info >> ")
- file = open(domains,'r').readlines()
- ip = input("Enter Your WHM Login URL >> ")
- usr = input("Enter Your WHM USER >> ")
- pas = input("Enter Your WHM PASS >> ")
- pack = input("Enter CP Package >> ")
- done = 0
- # Open URL !!
- driver = webdriver.Chrome("C:\\Users\Administrator\AppData\Local\Programs\Python\Python37\Lib\site-packages\selenium\webdriver\chrome\chromedriver.exe")
- driver.get("https://"+ip+":2087"+"/login/?user="+usr+"&pass="+pas)
- if 'post_login=' in str(driver.current_url):
- print("\n[X-L0GGEDIN] ++> By HeCToR.")
- try:
- driver.find_element_by_id("account_functions_create_a_new_account").click()
- except:
- driver.find_element_by_xpath("//span[@class='mobile-menu-icon']").click()
- driver.find_element_by_id("account_functions_create_a_new_account").click()
- else:
- print("\n[X-FAILED] ++> Please Check Your Login Info.")
- driver.find_element_by_id("account_functions_create_a_new_account").click()
- if 'wwwacctform' in str(driver.current_url) or 'Create a New Account' in str(driver.current_url.read()):
- print("\n[X-CREATEPAGE] ++> Is Here.")
- create_link = driver.current_url
- for dom in file:
- domain = dom.strip()
- uesr_name = ''.join(random.choice(string.digits + string.ascii_lowercase) for _ in range(10))
- password = password = "".join(choice(string.ascii_letters+string.punctuation+string.digits) for _ in range(randint(8,16)))
- time.sleep(3)
- driver.find_element_by_id("username").send_keys("z" + uesr_name)
- driver.find_element_by_id("domain").send_keys(domain)
- driver.find_element_by_id("password").send_keys(password)
- driver.find_element_by_id("password2").send_keys(password)
- driver.find_element_by_id("contactemail").send_keys(email)
- driver.find_element_by_id("pkgselect").send_keys(pack)
- driver.find_element_by_id("forcedns").click();time.sleep(1)
- driver.find_element_by_id("submit").click()
- done = done + 1
- if 'Account Creation Status: ok' in str(driver.page_source):
- print("Created Successful ++> " + str(done) + " CPanal ++> " + domain + " | e" + uesr_name + " | " + password + " | " + email + "\n")
- cpanals = open("cpanals.txt","a+")
- cpanals.write("https://" + domain + ":2083|z" + uesr_name + "|" + password + "\n")
- cpanals.close()
- driver.get(create_link)
- else:
- print("UNEXPECTED ERROR [Check Your WHM Please].!!")
- else:
- print("\n[X-FAILED] ++> Please Check Your Login Info.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement