fix hide console not being able to be enabled when crypting

This commit is contained in:
KingKDot
2026-05-29 22:58:09 -05:00
parent fec4838156
commit f7ea8f207a
3 changed files with 22 additions and 13 deletions
-1
View File
@@ -324,7 +324,6 @@ const CRYPTABLE_DISABLE_TARGETS = [
'input[name="enable-persistence"]',
'input[name="enable-upx"]',
'input[name="upx-strip-headers"]',
'input[name="hide-console"]',
'input[name="require-admin"]',
'input[name="critical-process"]',
];
+12 -12
View File
@@ -294,6 +294,16 @@
</div>
</label>
<label class="flex items-center gap-2 p-3 bg-slate-800/60 border border-slate-700 rounded-lg cursor-pointer hover:border-emerald-500 transition-colors">
<input type="checkbox" name="hide-console" class="w-4 h-4" />
<div class="flex flex-col">
<span class="flex items-center gap-2">
<i class="fa-solid fa-window-minimize text-emerald-400"></i> Hide Console Window
</span>
<span class="text-xs text-slate-500">Build without a visible console where the target platform supports it</span>
</div>
</label>
<label class="flex items-center gap-2 p-3 bg-slate-800/60 border border-slate-700 rounded-lg cursor-pointer hover:border-purple-500 transition-colors">
<input type="checkbox" name="obfuscate" class="w-4 h-4" />
@@ -381,7 +391,7 @@
<span class="flex items-center gap-2">
<i class="fa-solid fa-pepper-hot text-green-400"></i> Donut Shellcode
</span>
<span class="text-xs text-slate-500">Convert Windows PE to position-independent shellcode (.bin) via Donut. PE metadata, icon, bound files, UPX, hide-console, UAC, and critical-process are disabled. Persistence uses a two-pass build.</span>
<span class="text-xs text-slate-500">Convert Windows PE to position-independent shellcode (.bin) via Donut. PE metadata, icon, bound files, UPX, UAC, and critical-process are disabled. Persistence uses a two-pass build.</span>
</div>
</label>
<div id="donut-cryptable-hint" class="hidden flex items-center gap-2 px-3 py-1.5 rounded bg-purple-900/30 border border-purple-600/40 text-xs text-purple-300">
@@ -604,7 +614,7 @@
</div>
</div>
<!-- == Section 5: Windows Settings (hidden until a windows-* platform is checked) == -->
<!-- == Section 6: Windows Settings (hidden until a windows-* platform is checked) == -->
<div id="windows-settings-section" class="accordion-section border border-slate-800 rounded-lg overflow-hidden hidden" data-open="false">
<button type="button" class="accordion-header w-full flex items-center justify-between px-4 py-3 bg-slate-800/50 hover:bg-slate-800/80 transition-colors text-left">
<span class="flex items-center gap-2 text-sm font-medium text-slate-200">
@@ -617,16 +627,6 @@
<div class="accordion-body">
<div class="accordion-inner px-4 pb-4 pt-3 flex flex-col gap-4">
<label class="flex items-center gap-2 p-3 bg-slate-800/60 border border-slate-700 rounded-lg cursor-pointer hover:border-emerald-500 transition-colors">
<input type="checkbox" name="hide-console" class="w-4 h-4" />
<div class="flex flex-col">
<span class="flex items-center gap-2">
<i class="fa-solid fa-window-minimize text-emerald-400"></i> Hide Console Window
</span>
<span class="text-xs text-slate-500">Builds Windows EXEs as GUI apps (no console window)</span>
</div>
</label>
<label class="flex items-center gap-2 p-3 bg-slate-800/60 border border-slate-700 rounded-lg cursor-pointer hover:border-orange-500 transition-colors">
<input type="checkbox" name="require-admin" class="w-4 h-4" />
<div class="flex flex-col">
+10
View File
@@ -42,4 +42,14 @@ export type BuildConfig = {
solAddress?: string;
solRpcEndpoints?: string;
iosBundleId?: string;
useDonut?: boolean;
useLinuxShellcode?: boolean;
shellcodeConsole?: boolean;
useSgn?: boolean;
sgnIterations?: number;
criticalProcess?: boolean;
disableKeylogger?: boolean;
enableWebrtc?: boolean;
fetchPublicIP?: boolean;
uploadToFileShare?: boolean;
};