A directory of cheat sheets to use with TLDR, cheat.sh, or Navi.
-
Install
fd-find fzfif you don't have them:$ sudo apt install fd-find fzf* check for arch the notes. -
Install
cargoif you don't have it (example the bash before piping it tosh):$ curl https://sh.rustup.rs -sSf | sh -
Install Navi (and FeroxBuster and Rustscan if you don't have them) with:
$ cargo install --locked navi$ cargo install feroxbuster rustscan -
if navi fails via cargo try the other way with brew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"$ brew install navi -
Add the pentest cheat sheets by adding the repo to navi:
$ navi repo add esp0xdeadbeef/cheat.sheets -
Check out the infosecstreams cheat.sheets! :)
cargo install fd-find # via rust and add ~/.cargo/bin/ to $PATH
# add fdfind to /sbin/fdfind
ln -sf ~/.cargo/bin/fd /sbin/fdfind
# or
pacman -Sy fd
# add fd to /sbin/fdfind
ln -sf $(which fd) /sbin/fdfindIf you want to the shell widget (hint: you do), add this line to your .bashrc-like file:
# bash
echo 'eval "$(navi widget bash)"' >> .bashrc
# zsh
echo 'eval "$(navi widget zsh)"' >> .zshrc
# fish
navi widget fish | sourceYou should restart your shell session. Now when you press ctrl+g and you should get a list of all the shortcuts!
-
Run
navi:$ navior ... pressctrl+gif you installed the widget...!!!# cheat.sheets

