1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-01-08 16:31:34 +01:00
Thanks to #20.
This commit is contained in:
Andrea Cardaci 2018-09-06 17:04:47 +02:00
parent cb695abfa6
commit 9c96140f1d

19
_gtfobins/date.md Normal file

@ -0,0 +1,19 @@
---
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
---