1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

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

@ -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