From a3b63dae9e1930a2863e11cd03c84e65e5eddbd5 Mon Sep 17 00:00:00 2001 From: nightshiba <49189362+nightshiba@users.noreply.github.com> Date: Sat, 27 Feb 2021 12:39:48 +0100 Subject: [PATCH] Improved man.md shell function Replaced a command requiring interactive actions with a one-liner --- _gtfobins/man.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_gtfobins/man.md b/_gtfobins/man.md index dafd551..b8ef2bc 100644 --- a/_gtfobins/man.md +++ b/_gtfobins/man.md @@ -3,8 +3,7 @@ description: This invokes the default pager, which is likely to be [`less`](/gt functions: shell: - code: | - man man - !/bin/sh + man --html='$(sh > /dev/tty)' sh file-read: - code: man file_to_read sudo: