Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions _gtfobins/rsyslogd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
description: ryslogd can be abused for remotely triggerable persistence combining filter conditions and the shell execute action.
functions:
reverse-shell:
- description: After placing an executable or shell script on disk, you can trigger its execution via a logging facility by adding one line to the rsyslog.conf file
code: |
:msg, contains, "randomstringtomatch" ^/path/to/script.sh
bind-shell:
- description: After placing an executable or shell script on disk, you can trigger its execution via a logging facility by adding one line to the rsyslog.conf file
code: |
:msg, contains, "randomstringtomatch" ^/path/to/script.sh
---