1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/date.md
2018-10-05 18:55:38 +01:00

429 B

description functions
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`.
file-read suid sudo
code
LFILE=file_to_read date -f $LFILE
code
LFILE=file_to_read ./date -f $LFILE
code
LFILE=file_to_read sudo date -f $LFILE