ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!

Jump to content



Photo

--


  • Please log in to reply
--

#1

Rover
Rover
    Offline
    236
    Rep
    2043
    Likes

    LUX Web Development - LUXDEV.io

Posts: 1145
Threads: 346
Joined: Dec 16, 2020
Credits: 0

Three years registered
#1

Hello here is a python script that you can use to auth your program. It isn't tested on a tool yet simply cuz v4 isn't out yet. (for this reason, it might needs to be slightly ajusted)

import shutil
from hashlib import sha256
import winreg
from wmi import WMI
from sys import platform

def get_guid():
    Registry = winreg.ConnectRegistry(None, winreg.HKEY_LOCAL_MACHINE)
    RawKey = winreg.OpenKey(Registry, "SOFTWARE\Microsoft\Cryptography")
    return winreg.QueryValueEx(RawKey, "MachineGuid")[0].upper()

def get_device_uuid():
    if platform == "linux" or platform == "linux2":
        return ""
        # linux
    elif platform == "darwin":
        return ""
        # OS X
    elif platform == "win32":
        return WMI().Win32_ComputerSystemProduct()[0].UUID

def calculateHWID():
    c_name = os.environ.get("COMPUTERNAME")
    u_name = os.getlogin()
    p_rev = os.environ.get("PROCESSOR_REVISION")
    disk = shutil.disk_usage("/").total
    uuid = get_device_uuid()
    guid = get_guid()

    str = f"{c_name}{u_name}{p_rev}{disk}{uuid}{guid}"
    return sha256(str.encode('utf-8')).hexdigest().upper()

def auth(authkey):
    data = {
        'validate' :'1',
        'key':authkey,
        'hwid':calculateHWID(),
        'program_id': 'YourprogramID',
    }
    
    auth_req = requests.post('https://www.nulled.to/authkeys.php', data=data)
    
    js = json.loads(auth_req.text)
    if js['status'] == True:
        if '1338' or '1337' == js['data']['extra']:
            username = js['data']['name']
            print('Successfully authenticated, Welcome {}'.format(username))
        else:
            print('You are not Aqua or Nova, please upgrade your account to use this program')
            time.sleep(3)
            sys.exit()
    else:
        print('Invalid AuthKey')
        time.sleep(3)
        sys.exit()


  • 2

CHEAPEST PANEL ON NULLED!

BETTER-SMM-PANEL.COM

Instagram followers for 0,18$/1000 followers

banner.png



 Users browsing this thread: