From eda1cde6a1adffe3bffbc455a1b31c131422b5c6 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sat, 27 Feb 2021 17:09:41 +0100 Subject: [PATCH] Improve the alternative shell function --- _gtfobins/man.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_gtfobins/man.md b/_gtfobins/man.md index b8ef2bc..eb3b8d2 100644 --- a/_gtfobins/man.md +++ b/_gtfobins/man.md @@ -3,7 +3,11 @@ description: This invokes the default pager, which is likely to be [`less`](/gt functions: shell: - code: | - man --html='$(sh > /dev/tty)' sh + 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 file-read: - code: man file_to_read sudo: