diff --git a/0xCheats/Fake Server Setup.py b/0xCheats/Fake Server Setup.py deleted file mode 100644 index e69de29..0000000 diff --git a/0xCheats/Start.py b/0xCheats/Start.py new file mode 100644 index 0000000..405ff92 --- /dev/null +++ b/0xCheats/Start.py @@ -0,0 +1,103 @@ +from subprocess import * +import os, time + +print(''' ██████╗ ██╗ ██╗ ██████╗██████╗ █████╗ ██████╗██╗ ██╗ +██╔═████╗╚██╗██╔╝██╔════╝██╔══██╗██╔══██╗██╔════╝██║ ██╔╝ +██║██╔██║ ╚███╔╝ ██║ ██████╔╝███████║██║ █████╔╝ +████╔╝██║ ██╔██╗ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ +╚██████╔╝██╔╝ ██╗╚██████╗██║ ██║██║ ██║╚██████╗██║ ██╗ + ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝''') + +print(''' _ ____ _______ _ + | | | _ \ |__ __(_) + | |__ _ _ | |_) | __ _ _ __ ___| | _ __ _ ___ _ __ + | '_ \| | | | | _ < / _` | '__/ __| | | |/ _` |/ _ \ '__| + | |_) | |_| | | |_) | (_| | | \__ \ | | | (_| | __/ | + |_.__/ \__, | |____/ \__,_|_| |___/_| |_|\__, |\___|_| + __/ | __/ | + |___/ |___/ ''') + +print("------------------------------------------------------------") + +print() + +doings = ["Patching 0xCheats ", + "Stopping useless process ", + "Finding server file ", + "Injecting subscription.cfg to server", + "Validating ", + "Starting server ", + "Validating ", + "Checking 0x patch ", + "Hiding crack ", + "Replacing 0x servers "] + +subindays = "" + +if os.path.isfile("subscription.cfg"): + subscription = open("subscription.cfg", "r") + print("Detected subscription.cfg, wait") + subindays = subscription.read() + time.sleep(1) + subscription.close() + +else: + subscription = open("subscription.cfg", "w+") + print("Program didn't detected subscription.cfg") + print("Starting subscription registration on private server...") + time.sleep(0.5) + print("Attaching process to application...") + time.sleep(0.3) + print("Starting subscription.cfg generation") + + time.sleep(1) + + subtime = input("Subscription time: ") + + subscription.write(subtime) + + print("Detaching process from application...") + subscription.close() + time.sleep(0.5) + + call('start python Start.py', shell=True) + # call('start Start.exe', shell=True) + exit() + +def printProgressBar (iteration, total, prefix = '', suffix = '', decimals = 1, length = 100, fill = '█', printEnd = "\r"): + percent = ("{0:." + str(decimals) + "f}").format(100 * (iteration / float(total))) + filledLength = int(length * iteration // total) + bar = fill * filledLength + '-' * (length - filledLength) + print(f'\r{prefix} |{bar}| {percent}% {suffix}', end = printEnd) + + if iteration == total: + print() + +print("Detected subscription time: " + str(subindays)) +print("Starting private licensing server...") +time.sleep(2) +print("Starting...") +printProgressBar(0, 100, prefix = ':', suffix = 'Complete', length = 50) +for i in range(100): + stri = str(i) + if len(stri) < 2: + stri = "10" + pref = doings[int(stri[0:1:1])] + time.sleep(0.1) + printProgressBar(i + 1, 100, prefix = pref + ':', suffix = 'Complete', length = 50) + +print() +print("Starting 0xCheats executable...") +allfiles = os.listdir(os.getcwd()) + +for file in allfiles: + if not "exe" in file: + allfiles.remove(file) + +for file in allfiles: + if "Start" in file: + allfiles.remove(file) + +call('start ' + allfiles[0], shell=True) + +input("If 0xCheats started, press Enter...")