Skip to content

Commit

Permalink
Add post.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Rogers committed Oct 3, 2023
1 parent 4be5acb commit 5e80dbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _gtfoargs/logrotate.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
description: Logrotate is used to rotate stale logs and perform various actions like compress the old ones, send mails, and so on. More information about exploiting logrotate may be found [here](https://joshua.hu/gaining-root-with-logrotate-sudo-ubuntu).
functions:
command:
- description: Requires a logrotate policy which uses the `mail` directive. A hash should be used as the final character in the command, as it is run with a few arguments.
Expand Down

0 comments on commit 5e80dbb

Please sign in to comment.