Add notice about Git sudo capabilities

This commit is contained in:
Andrea Cardaci 2019-06-23 17:24:38 +02:00
parent b8493f916d
commit f4a3fc9af3

View File

@ -8,7 +8,7 @@ functions:
!/bin/sh !/bin/sh
sudo: sudo:
- code: PAGER='sh -c "exec sh 0<&1"' sudo -E git -p help - 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: | code: |
sudo git help config sudo git help config
!/bin/sh !/bin/sh