import winreg
from time import sleep
from os import system
import logging
import time
import os
import pickle
from pystyle import Colorate, Colors, Center
banner = '░█▀▀░█▀█░█▀▄░█░░░█▀█░█▀▄░█▀█\n░█▀▀░█░█░█▀▄░█░░░█░█░█▀▄░█░█\n░▀░░░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀░▀░▀░▀'
def Change_HWID():
system('cls')
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\t\t|Use generator command before using this!|\n')))
input(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('Enter to continue...\n')))
try:
choixProfile = input(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}> ')))
system('cls')
show_HWID()
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\n\t\tChanging HWID...\n')))
sleep(5)
system('cls')
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, 'SYSTEM\\CurrentControlSet\\Control\\IDConfigDB\\Hardware Profiles\\0001', 0, winreg.KEY_SET_VALUE)
winreg.SetValueEx(key, 'HwProfileGuid', 0, winreg.REG_SZ, choixProfile)
winreg.CloseKey(key)
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\n\tHWID changed successfully!\n')))
show_HWID()
input(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\nEnter to continue...')))
except PermissionError:
system('cls')
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\n\t|The program must be started as administrator!|\n')))
input(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('Enter to continue...')))
exit(0)
def Change_GUID():
system('cls')
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\t\t|Use generator command before using this!|\n')))
input(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('Enter to continue...\n')))
try:
choixMachine = input(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx > ')))
show_GUID()
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\n\t\tChanging GUID...\n')))
sleep(5)
system('cls')
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, 'SOFTWARE\\Microsoft\\Cryptography', 0, winreg.KEY_SET_VALUE)
winreg.SetValueEx(key, 'MachineGuid', 0, winreg.REG_SZ, choixMachine)
winreg.CloseKey(key)
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\n\tGUID changed successfully!\n')))
show_GUID()
input(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\nEnter to continue...')))
except PermissionError:
system('cls')
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\n\t|The program must be started as administrator!|\n')))
input(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('Enter to continue...')))
def show_HWID():
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, 'SYSTEM\\CurrentControlSet\\Control\\IDConfigDB\\Hardware Profiles\\0001', 0, winreg.KEY_READ)
valeur, typevaleur = winreg.QueryValueEx(key, 'HwProfileGuid')
winreg.CloseKey(key)
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('--------------------')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('|Current HWID|')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter(valeur)))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter(str(typevaleur))))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('--------------------')))
def show_GUID():
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, 'SOFTWARE\\Microsoft\\Cryptography', 0, winreg.KEY_READ)
valeur, typevaleur = winreg.QueryValueEx(key, 'MachineGuid')
winreg.CloseKey(key)
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('--------------------')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('|Current GUID|')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter(valeur)))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter(str(typevaleur))))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('--------------------')))
def fakeMail():
system('start https://temp-mail.org/en/')
def GuidGenerator():
system('start https://www.guidgenerator.com/online-guid-generator.aspx')
def help():
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('--------------------------------------------------')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\n\tsetHWID -> Change your HWID\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\tsetGUID -> Change your GUID\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\tdisHWID -> Show Current HWID\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\tdisGUID -> Show Current GUID\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\tquit -> Exit Application\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\tcls -> Clear Terminal\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\tfakemail -> Free email generator\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\tgenerator -> Free GUID|HWID generator\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\tRestart your computer to apply the changes\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('--------------------------------------------------')))
system('color C')
system('cls')
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('++++++++++++++++++++++++++++++')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\t|DoubaCorp|\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('\t\\HWID|GUID/ ||Spoofer||\n')))
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('++++++++++++++++++++++++++++++')))
rootlog = logging.getLogger()
handler = logging.FileHandler('process.logs')
rootlog.setLevel(logging.INFO)
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
handler.setFormatter(formatter)
rootlog.addHandler(handler)
logging.info('<Process Start>')
logging.info('<Connected!>')
system('cls')
try:
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter(banner)))
while True:
Command = input(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter(f"[{time.strftime('%H:%M:%S')}]: help for commands list> ")))
if Command == 'disHWID':
show_HWID()
logging.info('|disHWID command called!|')
elif Command == 'disGUID':
show_GUID()
logging.info('|disGUID command called!|')
elif Command == 'cls':
system('cls')
logging.info('|cls command called!|')
elif Command == 'quit':
system('cls')
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('Bye!')))
logging.info('|Shutdown Process!|')
exit(0)
elif Command == 'help':
help()
logging.info('|help command called!|')
elif Command == 'generator':
GuidGenerator()
logging.info('|generator command called!|')
elif Command == 'fakemail':
fakeMail()
logging.info('|fakemail command called!|')
elif Command == 'setHWID':
Change_HWID()
logging.info('|setHWID command called!|')
elif Command == 'setGUID':
Change_GUID()
logging.info('|setGUID command called!|')
except KeyboardInterrupt:
system('cls')
print(Colorate.Horizontal(Colors.green_to_yellow, Center.XCenter('Bye!')))
logging.info('Shutdown Process!')
exit(0)