Skip to content

Commit

Permalink
added default options and updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die-gr3y authored and bwatters-r7 committed Feb 12, 2025
1 parent d3e41f5 commit d47559e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,5 @@ meterpreter >
## Limitations
You have to wait maximum five minutes for a session to allow `cron` to run the malicious watchdog script
containing the payload. Just be patient and wait for the magic to happen ;-)
Another limitation is that the root filesystem on RaspberyMatic image is mounted read-only, so you need to set the
option `FETCH_WRITABLE_DIR` to `/tmp` (this is mounted RW) otherwise the exploit will fail.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ def initialize(info = {})
{
'Platform' => ['unix', 'linux'],
'Arch' => [ARCH_CMD],
'Type' => :unix_cmd
'Type' => :unix_cmd,
'DefaultOptions' => {
'PAYLOAD' => 'cmd/linux/http/aarch64/meterpreter_reverse_tcp',
'FETCH_WRITABLE_DIR' => '/tmp'
}
}
]
],
Expand Down

0 comments on commit d47559e

Please sign in to comment.