Categories
Uncategorized

Metasploit set rhosts file

Just a quick tip I don’t see documented a bunch of places, when you want to feed metasploit a list of targets in a file you need to use the following syntax.

set rhosts file:/path/to/file

Below is a screenshot for context.

metasploit set rhosts file

3 replies on “Metasploit set rhosts file”

Leave a Reply

Your email address will not be published. Required fields are marked *