Skip to content

Commit 3211edd

Browse files
committed
docs: review changes
1 parent 2762132 commit 3211edd

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

documentation/modules/exploit/linux/local/motd_persistence.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
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).
2-
To trigger the persistence execution, an external event such as an user logging in the system with `SSH` is required.
1+
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).
2+
To trigger the persistence execution, an external event such as a user logging in to the system with SSH is required.
33

44
## Verification Steps
55

@@ -12,19 +12,7 @@ To trigger the persistence execution, an external event such as an user logging
1212
## Module usage
1313

1414
```
15-
msf6 payload(cmd/linux/http/x64/meterpreter/reverse_tcp) > use motd
16-
17-
Matching Modules
18-
================
19-
20-
# Name Disclosure Date Rank Check Description
21-
- ---- --------------- ---- ----- -----------
22-
0 exploit/linux/local/motd_persistence 1999-01-01 normal No update-motd.d Persistence
23-
24-
25-
Interact with a module by name or index. For example info 0, use 0 or use exploit/linux/local/motd_persistence
26-
27-
[*] Using exploit/linux/local/motd_persistence
15+
msf6 payload(cmd/linux/http/x64/meterpreter/reverse_tcp) > use exploit/linux/local/motd_persistence
2816
[*] Using configured payload cmd/linux/http/x64/meterpreter/reverse_tcp
2917
msf6 exploit(linux/local/motd_persistence) > set session -1
3018
session => -1

0 commit comments

Comments
 (0)