Files
GTFOBins.github.io/_gtfobins/man.md
nightshiba a3b63dae9e Improved man.md shell function
Replaced a command requiring interactive actions with a one-liner
2021-02-27 12:39:48 +01:00

14 lines
307 B
Markdown

---
description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
functions:
shell:
- code: |
man --html='$(sh > /dev/tty)' sh
file-read:
- code: man file_to_read
sudo:
- code: |
sudo man man
!/bin/sh
---