Commit Graph
53 Commits
Author SHA1 Message Date
KingKDot 9a1fc96e2b small security fixes 2026-06-08 13:53:58 -05:00
KingKDot e9a61ecd9b optional winre and winre probe 2026-06-06 23:34:44 -05:00
KingKDot cba42b236f test 2026-06-03 21:04:14 -05:00
KingKDot 6e57f2ec1f fix building issue 2026-05-21 16:28:12 -05:00
KingKDot 7574988e3b give the ability to auto upload builds 2026-05-17 19:49:50 -05:00
KingKDot 34ff881c4e oops again + more 2026-05-17 13:31:47 -05:00
KingKDot c499b76227 fix reflective injection 0xc5 errors (c5 reference) and then add sgn and windows shellcode building. 2026-05-17 13:11:21 -05:00
KingKDot da3bec8de1 optional public IP fetching 2026-05-14 19:56:50 -05:00
Michael 4fae9e56cf Shellcode clean (#21)
* feat: shellcode output via Donut (Windows) + memfd stub (Linux)

- Donut (Windows): PE → PIC shellcode (.bin) via donut-manager.ts
  Flags: -f1 -a<arch> -b3 -x1 (continue on AMSI fail, thread exit)
- Linux shellcode: 113-byte x86_64 memfd_create+execveat stub
  (linux-shellcode-manager.ts) wraps ELF for memfd_create+execveat
- Two-pass build for shellcode+persistence: Pass 1 = normal agent with
  persist compiled in; Pass 2 = selfembed agent that drops+registers
  Pass 1 on first run (isRunningInMemory() gates the path)
- Show console option: shellcode_console build tag calls AllocConsole()
  on start for debug builds; AttachConsole fallback included
- isRunningInMemory() Windows: VirtualQuery on .data sentinel
  (MEM_PRIVATE = injected, MEM_IMAGE = normal disk load) replaces
  os.Executable() which returned host process path when injected
- Build UI: Donut mode, Linux shellcode mode, show-console checkboxes;
  settings persisted across sessions via collectFormSettings()
- GODEBUG=netdns=cgo hardcoded in build env (fixes IPv6 DNS on VPN)
- Dockerfile: pre-seed Go module cache; add curl to runtime image
- docker-compose.yml: switch healthcheck to wget (curl absent in slim)

* fix: add missing shellcode UI functions and restore dynamic linking

applyDonutMode, applyLinuxShellcodeMode, and updateShellcodeCheckboxVisibility
were called throughout build.js but never defined, breaking platform selection
and the build button. Add the missing implementations.

Also remove forced -extldflags '-static' on Linux CGO builds; fully static
glibc binaries cannot call dlopen, which broke native plugin loading entirely.

* fix: call updateShellcodeCheckboxVisibility on page load

Shellcode rows were hidden on initial load because the function was only
wired to checkbox change events. Call it at startup and in applyFormSettings
so pre-selected platforms correctly show their shellcode options immediately.

* feat: Linux plugin subprocess shim for static-agent compatibility

Static musl binaries cannot call dlopen. Introduce a small C shim
(plugin_host.c) that is compiled at agent-build time into a
dynamically-linked binary, embedded via go:embed, and fork+exec'd to
load .so plugins on behalf of the static agent over a Unix socketpair.

Empty placeholder files allow go:embed to compile without error; the
real binaries are produced by build-process.ts before go build runs and
are never committed. Documents the IPC protocol and build matrix in
PLUGINS.md Section 12.

* fix: define sp_memfd_create/sp_write_all in subproc CGO preamble

CGO preamble functions are per-file translation units; so_memfd_create
and so_write_all from loader_linux.go are not visible in
loader_linux_subproc.go. Add local equivalents with sp_ prefix.

* fix: use CGO helper for shim memfd_create instead of syscall.SYS_MEMFD_CREATE

syscall.SYS_MEMFD_CREATE is not defined in Go stdlib syscall package.
Replace with sp_memfd_create_nocloe() CGO helper (flags=0, no CLOEXEC).

* fix: compile plugin host shim statically to avoid glibc version mismatch

A dynamically-linked shim compiled on Debian Bookworm (glibc 2.36) fails
on older glibc targets. Compile with -static so the shim is self-contained
and runs on any glibc version. Static glibc can still call dlopen at runtime
via the system ld-linux.so.2.

Also surface subprocess errors instead of silently falling through to dlopen
so failures are visible in the build log.

* Restore docker build cache
2026-05-13 22:55:51 -05:00
KingKDot 8e97a32567 WebRTC 2026-05-13 13:44:33 -05:00
KingKDot 4013a5816c fix tsx errors 2026-05-11 21:11:21 -05:00
KingKDot 05eb7385c1 make keylogger optional 2026-05-10 17:06:39 -05:00
KingKDot d62f6f2e34 better client management. Fix exporting and importing. Better key generation (not fucking dog shit). 2026-05-09 18:31:53 -05:00
KingKDot 76154962f3 disable CGO by default for mac 2026-05-08 23:10:08 -05:00
KingKDot 7c858e4984 fix all typescript lenting errors 2026-05-06 20:07:15 -05:00
KingKDot 355470c657 fix updating and also check path before downloading compilers (can't even fucking download them on windows) 2026-05-05 22:22:29 -05:00
KingKDot ec62401911 fix hvnc issue, fix build watcher issue, fix wrong type of exe being sent on updates. 2026-05-05 19:31:55 -05:00
KingKDot bbfd03d118 massive shrink on docker 2026-05-02 22:19:28 -05:00
KingKDot 6a363a62f2 1.9.0 2026-04-29 00:22:37 -05:00
KingKDot 86c1897406 Get AI to make me a POC. Will need to push to the git so I can test. Will revert if it doesn't work and probably just delete commit history for it as well. 2026-04-19 15:07:44 -05:00
KingKDot 4b506d95ff add solana support 2026-04-05 18:18:40 -05:00
KingKDot 3e198f76a2 add custom startup names to mac and linux. Also update readme for windows users who are using the server 2026-04-04 20:42:54 -05:00
KingKDot afce95c9e4 remove old zig shit and hopefully fix static compilation for linux 2026-04-03 11:30:01 -05:00
KingKDot a044d74aa3 add critical process for windows 2026-04-03 10:47:05 -05:00
KingKDot 62929c7bc5 fix no wifi issue after building 2026-03-26 16:25:06 -05:00
KingKDot f50f76d3f6 multi select persistence 2026-03-26 11:05:04 -05:00
KingKDot 3a155768a2 few more build args to hopefully cut down size and leave less artifacts 2026-03-22 19:43:42 -05:00
KingKDot 5ac5e4e536 add custom file names to building and fix purgatory issue 2026-03-21 03:06:35 -05:00
KingKDot 53b645fd83 add binder 2026-03-21 02:37:10 -05:00
KingKDot ac5cf6e43e tons of new build options, fix mutex shit, etc 2026-03-21 02:12:35 -05:00
KingKDot 42c1e4da83 add warning for no CGO with arm. 2026-03-19 00:22:10 -05:00
KingKDot 3b6a33ef8b remove auto download UPX and fix other issues 2026-03-16 18:42:56 -05:00
K.DotandCopilot Autofix powered by AI 68062afc4f Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-16 18:30:16 -05:00
unknown 1c706b3419 feat: UPX compression, mass command, Windows-only badges 2026-03-16 14:42:18 +01:00
unknown 7f82737fbc Add custom output name, assembly data, icon, and garble settings to builder 2026-03-16 14:09:06 +01:00
unknown c8c45fe565 Filter build list by user: non-admins only see their own builds 2026-03-16 13:42:13 +01:00
KingKDot 409ed35f5b RBAC 2.0 2026-03-12 21:26:53 -05:00
KingKDot b2172dd3e8 add more persistence options and fix startup detections. Also bump version to 1.3.5 2026-03-12 13:52:02 -05:00
KingKDot 42cc7e29c7 1.3.3 + add easy way to tell the version 2026-03-12 12:05:42 -05:00
KingKDot c72cba093c hopefully final? 2026-03-12 00:29:25 -05:00
KingKDot 7b630b1435 add warnings 2026-03-10 18:27:45 -05:00
KingKDot 9c43b647e8 warning for persistence 2026-03-10 17:22:39 -05:00
KingKDot 49583849f5 building for android 2026-03-10 17:09:27 -05:00
KingKDot 916bfbc2e0 add start to android building 2026-03-10 15:38:50 -05:00
KingKDot fe959de443 fix compilation issue 2026-03-09 01:09:51 -05:00
KingKDot 82e4a5daaf hopefully all ts works (it's getting pushed to prod fuck you) 2026-03-08 03:07:23 -05:00
KingKDot 7de7e3664c remove that shit 2026-03-07 18:44:24 -06:00
KingKDot b07f944370 progress bar on builds (fuck you golang) 2026-03-07 18:15:01 -06:00
KingKDot 124f6ba46c forgot to commit 2026-03-06 13:31:48 -06:00
KingKDot 7798337b3b fix prod running on linux 2026-03-06 13:31:34 -06:00