├── README.md └── patcher.py /README.md: -------------------------------------------------------------------------------- 1 | enigma protector only protects the installer, not the payload. the vst itself has zero license checks. 2 | 3 | ## writeup 4 | 5 | full technical writeup available at: https://ud2.rip/blog/enigma-protector 6 | -------------------------------------------------------------------------------- /patcher.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | import os 3 | import sys 4 | import shutil 5 | import argparse 6 | from pathlib import Path 7 | 8 | SCRIPT_DIR = Path(__file__).parent 9 | CRACK_PACKAGE = SCRIPT_DIR / "crack_package" 10 | 11 | VST_INSTALLED = Path(r"C:\Program Files\Common Files\VST3\Bass Bully VST\Bass Bully Premium.vst3") 12 | ROM_INSTALLED = Path(r"C:\ProgramData\Bass Bully VST\Bass Bully Premium\Bass Bully Premium.rom") 13 | 14 | VST3_DEST = Path(r"C:\Program Files\Common Files\VST3\Bass Bully VST") 15 | ROM_DEST = Path(r"C:\ProgramData\Bass Bully VST\Bass Bully Premium") 16 | 17 | def is_admin(): 18 | try: 19 | import ctypes 20 | return ctypes.windll.shell32.IsUserAnAdmin() 21 | except: 22 | return False 23 | 24 | def extract_files(): 25 | print("[*] extracting files from installed location...") 26 | 27 | if not VST_INSTALLED.exists(): 28 | print(f"[!] vst not found at: {VST_INSTALLED}") 29 | print("[*] run the installer first, then run this script again") 30 | return False 31 | 32 | if not ROM_INSTALLED.exists(): 33 | print(f"[!] rom not found at: {ROM_INSTALLED}") 34 | return False 35 | 36 | CRACK_PACKAGE.mkdir(exist_ok=True) 37 | 38 | vst_dest = CRACK_PACKAGE / "Bass Bully Premium.vst3" 39 | if vst_dest.exists(): 40 | shutil.rmtree(vst_dest) 41 | shutil.copytree(VST_INSTALLED, vst_dest) 42 | print(f"[+] copied vst3 -> {vst_dest}") 43 | 44 | rom_dest = CRACK_PACKAGE / "Bass Bully Premium.rom" 45 | shutil.copy2(ROM_INSTALLED, rom_dest) 46 | print(f"[+] copied rom -> {rom_dest}") 47 | 48 | dll = vst_dest / "Contents" / "x86_64-win" / "Bass Bully Premium.vst3" 49 | if dll.exists(): 50 | print(f"\n[+] extraction successful!") 51 | print(f"[*] vst dll: {dll.stat().st_size:,} bytes") 52 | print(f"[*] rom: {rom_dest.stat().st_size:,} bytes") 53 | return True 54 | else: 55 | print("[!] extraction failed - dll not found in bundle") 56 | return False 57 | 58 | def deploy_files(): 59 | print("[*] deploying cracked files...") 60 | 61 | vst_src = CRACK_PACKAGE / "Bass Bully Premium.vst3" 62 | rom_src = CRACK_PACKAGE / "Bass Bully Premium.rom" 63 | 64 | if not vst_src.exists(): 65 | print(f"[!] crack_package not found") 66 | print("[*] run --extract first to grab files from an installation") 67 | return False 68 | 69 | if not rom_src.exists(): 70 | print(f"[!] rom not in crack_package") 71 | return False 72 | 73 | VST3_DEST.mkdir(parents=True, exist_ok=True) 74 | ROM_DEST.mkdir(parents=True, exist_ok=True) 75 | 76 | vst_target = VST3_DEST / "Bass Bully Premium.vst3" 77 | if vst_target.exists(): 78 | shutil.rmtree(vst_target) 79 | shutil.copytree(vst_src, vst_target) 80 | print(f"[+] vst3 -> {vst_target}") 81 | 82 | rom_target = ROM_DEST / "Bass Bully Premium.rom" 83 | shutil.copy2(rom_src, rom_target) 84 | print(f"[+] rom -> {rom_target}") 85 | 86 | return True 87 | 88 | def verify(): 89 | dll = VST3_DEST / "Bass Bully Premium.vst3" / "Contents" / "x86_64-win" / "Bass Bully Premium.vst3" 90 | rom = ROM_DEST / "Bass Bully Premium.rom" 91 | 92 | if dll.exists() and rom.exists(): 93 | print("\n[+] installation verified") 94 | return True 95 | else: 96 | print("\n[!] verification failed") 97 | return False 98 | 99 | def main(): 100 | parser = argparse.ArgumentParser(description="Bass Bully Premium Crack") 101 | parser.add_argument('--extract', action='store_true', help='extract files from installed location') 102 | parser.add_argument('--deploy', action='store_true', help='deploy crack_package to vst directories') 103 | args = parser.parse_args() 104 | 105 | if not args.extract and not args.deploy: 106 | parser.print_help() 107 | return 0 108 | 109 | print("=" * 50) 110 | print("bass bully premium - crack") 111 | print("=" * 50) 112 | print() 113 | 114 | if args.extract: 115 | if not extract_files(): 116 | return 1 117 | 118 | if args.deploy: 119 | if not is_admin(): 120 | print("\n[!] --deploy requires administrator privileges") 121 | print("[*] right-click -> run as administrator") 122 | return 1 123 | 124 | if not deploy_files(): 125 | return 1 126 | 127 | if not verify(): 128 | return 1 129 | 130 | print() 131 | print("=" * 50) 132 | print("[+] COMPLETE") 133 | print("=" * 50) 134 | print() 135 | if args.extract and not args.deploy: 136 | print("files extracted to crack_package/") 137 | print("run with --deploy (as admin) to install") 138 | else: 139 | print("load bass bully premium in your daw.") 140 | print("no registration required.") 141 | 142 | return 0 143 | 144 | if __name__ == "__main__": 145 | sys.exit(main()) 146 | --------------------------------------------------------------------------------