Skip to content

io5533/boo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boo

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!!!
$

Features

  • Written entirely in assembly

  • Direct Linux syscalls (no libc)

  • Tiny statically linked binary

  • Supports:

    • x86_64 (amd64)
    • AArch64 (arm64)

Build

x86_64

cd x86_64
./assemble.sh

AArch64

cd aarch64
./assemble.sh

How it works

boo calls geteuid() directly via a Linux syscall.

  • If the effective UID is 0 (root), it writes:
AHHHH!!!
  • Otherwise, it exits silently.

License

MIT