Skip to content

Commit

Permalink
docs: review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dledda-r7 committed Oct 9, 2024
1 parent 2762132 commit 3211edd
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions documentation/modules/exploit/linux/local/motd_persistence.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down

0 comments on commit 3211edd

Please sign in to comment.