mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +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: |
|
||||
LFILE=file_to_write
|
||||
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:
|
||||
- code: |
|
||||
COMMAND='/bin/sh -p'
|
||||
|
Loading…
Reference in New Issue
Block a user