Skip to content

GDB TUI Dashboard for the understanding of vast knowledge

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

wcampbell0x2a/heretek

Folders and files

NameName
Last commit message
Last commit date
Dec 31, 2024
Feb 9, 2025
Feb 10, 2025
Feb 10, 2025
Feb 10, 2025
Jan 15, 2025
Dec 11, 2024
Dec 4, 2024
Feb 10, 2025
Feb 10, 2025
Feb 10, 2025
Dec 10, 2024
Dec 10, 2024
Jan 22, 2025
Jan 29, 2025
Feb 10, 2025
Feb 9, 2025

Repository files navigation

heretek

github crates.io build status

GDB TUI Dashboard inspired by gef, designed to seamlessly connect to remote targets even without a functioning gdbserver.

  • No python requirements: Many vendors ship gdb without python support, we ship a single statically-linked musl binary.

  • Architecture agnostic: heretek only uses information given by gdb, no extra code required!

  • No gdbserver requirements: Many vendors ship invalid gdbserver binaries, this works on remote targets with just gdb, nc, cat, and mkfifo. No more wrestling with invalid or missing gdbserver binaries.

  • See features for heretek demos.

  • See commands for internal heretek commands.

screenshot

Build

Either build from published source in crates.io.

$ cargo install heretek --locked

Or download from github releases.

Usage

GDB TUI Dashboard for the understanding of vast knowledge

Usage: heretek [OPTIONS]

Options:
      --gdb-path <GDB_PATH>
          Override gdb executable path

  -r, --remote <REMOTE>
          Connect to nc session

          `mkfifo gdb_pipe; cat gdb_pipe | gdb --interpreter=mi | nc -l -p 12345 > gdb_pipe`

      --32
          Switch into 32-bit mode

  -c, --cmds <CMDS>
          Execute GDB commands

          lines starting with # are ignored

      --log-path <LOG_PATH>
          Path to write log

          Set env `RUST_LOG` to change log level

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

"To every problem, a solution lies in the application of tech-lore" - Ferrarch Asklepian, Warhammer 40,000: Mechanicus