A tiny Linux assembly program that screams only when run as root.
Inspired by sudo boo.
$ boo
$ boo
$ sudo boo
[sudo] password for ghost:
AHHHH!!!
$-
Written entirely in assembly
-
Direct Linux syscalls (no libc)
-
Tiny statically linked binary
-
Supports:
- x86_64 (amd64)
- AArch64 (arm64)
cd x86_64
./assemble.shcd aarch64
./assemble.shboo calls geteuid() directly via a Linux syscall.
- If the effective UID is 0 (root), it writes:
AHHHH!!!
- Otherwise, it exits silently.
MIT