Commit graph

3 commits

Author SHA1 Message Date
Erik
e52acbb172
Merge pull request #1 from mosajjal/aarch64-support
Add aarch64 payload and resolve su via PATH
2026-04-29 23:11:02 -04:00
Ali
58fc30304d
feat: add aarch64 payload and resolve su via PATH
- Adds an aarch64 ELF shellcode payload alongside the existing amd64 one,
  selected at runtime via runtime.GOARCH. The arm64 ELF is a hand-built
  172-byte binary performing the same setuid(0) / execve("/bin/sh") /
  exit(0) sequence (syscalls 146, 221, 93). Disassembly for both payloads
  is documented inline.
- Replaces the hardcoded /usr/bin/su path with resolveSu(): tries
  /usr/bin/su first, then falls back to exec.LookPath("su") so the PoC
  works on systems where su lives elsewhere (e.g. /bin/su on Debian
  derivatives, or anywhere a non-standard PATH points).
2026-04-30 14:04:08 +12:00
kernel-sanders
eaa1e40d1f feat: initial commit
Signed-off-by: kernel-sanders <1490292+kernel-sanders@users.noreply.github.com>
2026-04-29 18:53:12 -04:00