# heretek
[](https://github.com/wcampbell0x2a/heretek)
[](https://crates.io/crates/heretek)
[](https://github.com/wcampbell0x2a/heretek/actions?query=branch%3Amaster)
Yet Another gdb TUI. Connect remotely with gdb when you don't have a working `gdbserver`, and show a tui inspired by `gef`.
* **No gdbserver requirements**: Many vendors ship invalid `gdbserver` binaries, this works on remote targets with just `gdb`, `nc`, `cat`, and `mkfifo`.
* **No python requirements**: Many vendors ship `gdb` without python support.
* **Architecture agnostic**: `heretek` only uses information given by `gdb`, no extra code required!
![screenshot](images/screenshot.png)
## Build
Either build from published source in crates.io.
```
$ cargo install heretek --locked
```
Or download from [github releases](https://github.com/wcampbell0x2a/heretek/releases).
## Usage
```console
Yet Another GDB TUI
Usage: heretek [OPTIONS]
Options:
-r, --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, --cmd
Execute GDB commands
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
```
## Info
See [commands](./docs/commands.md) for internal `heretek` commands.
> "To every problem, a solution lies in the application of tech-lore" - Ferrarch Asklepian, Warhammer 40,000: Mechanicus