Commit Graph
598 Commits
Author SHA1 Message Date
KingKDot d691c5b804 show running process in process viewer and add limiting to the notification system 2026-05-16 23:19:46 -05:00
KingKDot e2ef4a375f add deadmans key, fix downloading randomly stopping halfway through, add scripts to context menu. 2026-05-16 16:33:40 -05:00
KingKDot 089cf20bed test new fix 2026-05-16 00:35:50 -05:00
KingKDot 2697e289e2 2.2.4 2026-05-15 21:02:00 -05:00
KingKDot 0c9e156d95 add more info for when chrome gets killed 2026-05-15 21:01:42 -05:00
KingKDot 34b6273d8b fix launch stats 2026-05-15 20:19:17 -05:00
KingKDot b68aa4a4c7 clear notification by toggling them off and back on 2026-05-15 18:57:23 -05:00
KingKDot 5aa3a304a8 hvnc status and muting users. 2026-05-15 18:29:25 -05:00
KingKDot 12972d6e8b UI updates and remove CSP for plugins 2026-05-15 11:52:26 -05:00
KingKDot da3bec8de1 optional public IP fetching 2026-05-14 19:56:50 -05:00
KingKDot 9c78483744 add command palet and do final fixes for inputs with remote desktop and hvnc from the client. 2026-05-14 18:33:03 -05:00
KingKDot c15d03e90c update readme for trust proxy 2026-05-13 23:49:17 -05:00
KingKDot 390e0c0347 2.2.3 2026-05-13 23:26:41 -05:00
KingKDot 09576231c9 allow domains to get ips of users instead of docker 172 2026-05-13 23:25:49 -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 5b2d827607 2.2.2 2026-05-13 22:33:07 -05:00
KingKDot 6ae44625f8 improved rev console 2026-05-13 22:32:49 -05:00
KingKDot 27225566f4 auto fix 2026-05-13 21:37:16 -05:00
KingKDot bf093f5a7d web rtc for webcam, audio, etc. 2026-05-13 20:19:21 -05:00
KingKDot 05fe31f04e new 2026-05-13 18:30:18 -05:00
KingKDot 75adccfedd 2.2.1 2026-05-13 13:48:47 -05:00
KingKDot 8e97a32567 WebRTC 2026-05-13 13:44:33 -05:00
KingKDot 30b6c63cfc chat plugin (fully AI I'm not writing ts) 2026-05-13 10:11:22 -05:00
KingKDot 637f7b5a4f 2.1.3 2026-05-11 21:40:24 -05:00
KingKDot 4013a5816c fix tsx errors 2026-05-11 21:11:21 -05:00
KingKDot b485b5cc17 fix tele issue + fix issue with mac that double prompts. 2026-05-11 20:36:27 -05:00
KingKDot 9ee4d28044 bruh 2 2026-05-11 20:18:50 -05:00
KingKDot e023a55391 bruh 2026-05-11 20:17:25 -05:00
KingKDot d534566f02 1.0.2 2026-05-11 20:14:55 -05:00
KingKDot 1ce15b59fd use tauri for desktop 2026-05-11 20:04:13 -05:00
KingKDot 76cb47f8eb more stripping 2026-05-11 00:17:12 -05:00
KingKDot 2a1554b111 2.1.2 2026-05-10 17:07:16 -05:00
KingKDot 05eb7385c1 make keylogger optional 2026-05-10 17:06:39 -05:00
KingKDot f5f4c07f0d fix flags 2026-05-10 02:19:12 -05:00
KingKDot 7ebfe1a694 2.1.1 2026-05-10 00:15:02 -05:00
KingKDot 9b2f10ee34 allow all apps to be opened in HVNC and show their icons as well. (exe only for best support) 2026-05-10 00:03:49 -05:00
KingKDot 3a9cad6f8c small ui changes 2026-05-09 22:29:55 -05:00
KingKDot 1d46e79fbe 2.1.0 2026-05-09 22:00:45 -05:00
KingKDot 190b0f005e make UI half useable on mobile 2026-05-09 21:49:37 -05:00
KingKDot 37c5cdea45 improve navbar 2026-05-09 21:27:21 -05:00
KingKDot 4329e8b145 fix bottom of page 2026-05-09 20:50:17 -05:00
KingKDot 2353c40832 new dashboard UI 2026-05-09 20:47:44 -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 dc6c7cb825 I'm never making an animation again but I'm dying laughing 2026-05-08 22:55:41 -05:00
KingKDot 9c4969996e 2.0.7 2026-05-08 22:38:32 -05:00
KingKDot 0df68b2778 fix notifications + improve them, improve normal UI stuff further + fix readme. 2026-05-08 22:36:03 -05:00
KingKDot 9ad085c922 small changes to UI stuff 2026-05-08 15:36:24 -05:00
KingKDot 2ef91d348b fix compose user password not working 2026-05-08 14:30:39 -05:00
KingKDot 6a0d10843e better readme 2026-05-07 21:06:09 -05:00