2016-02-18 06:17:32 +00:00
|
|
|
This module is a scanner module, and is capable of testing against multiple hosts.
|
|
|
|
|
|
|
|
```
|
|
|
|
msf > use <%= mod.fullname %>
|
|
|
|
msf <%= mod.type %>(<%= mod.shortname %>) > show options
|
|
|
|
... show and set options ...
|
|
|
|
msf <%= mod.type %>(<%= mod.shortname %>) > set RHOSTS ip-range
|
|
|
|
msf <%= mod.type %>(<%= mod.shortname %>) > exploit
|
|
|
|
```
|
|
|
|
|
2017-06-05 18:49:59 +00:00
|
|
|
Other examples of setting the RHOSTS option:
|
2016-02-18 06:17:32 +00:00
|
|
|
|
|
|
|
Example 1:
|
|
|
|
|
|
|
|
```
|
|
|
|
msf <%= mod.type %>(<%= mod.shortname %>) > set RHOSTS 192.168.1.3-192.168.1.200
|
|
|
|
```
|
|
|
|
|
|
|
|
Example 2:
|
|
|
|
|
|
|
|
```
|
|
|
|
msf <%= mod.type %>(<%= mod.shortname %>) > set RHOSTS 192.168.1.1/24
|
|
|
|
```
|
|
|
|
|
|
|
|
Example 3:
|
|
|
|
|
|
|
|
```
|
|
|
|
msf <%= mod.type %>(<%= mod.shortname %>) > set RHOSTS file:///tmp/ip_list.txt
|
|
|
|
```
|