|
3 | 3 | module Msf
|
4 | 4 | require 'msf/core/opt_base'
|
5 | 5 |
|
6 |
| - ### |
7 | 6 | #
|
8 |
| - # The options purpose in life is to associate named options |
9 |
| - # with arbitrary values at the most simplistic level. Each |
10 |
| - # module contains a OptionContainer that is used to hold the |
11 |
| - # various options that the module depends on. Example of options |
12 |
| - # that are stored in the OptionContainer are rhost and rport for |
13 |
| - # payloads or exploits that need to connect to a host and |
14 |
| - # port, for instance. |
| 7 | + # The options purpose in life is to associate named options with arbitrary |
| 8 | + # values at the most simplistic level. Each {Msf::Module} contains an |
| 9 | + # OptionContainer that is used to hold the various options that the module |
| 10 | + # depends on. Example of options that are stored in the OptionContainer are |
| 11 | + # rhost and rport for payloads or exploits that need to connect to a host |
| 12 | + # and port, for instance. |
| 13 | + # |
| 14 | + # The core supported option types are: |
| 15 | + # |
| 16 | + # * {OptString} - Multi-byte character string |
| 17 | + # * {OptRaw} - Multi-byte raw string |
| 18 | + # * {OptBool} - Boolean true or false indication |
| 19 | + # * {OptPort} - TCP/UDP service port |
| 20 | + # * {OptAddress} - IP address or hostname |
| 21 | + # * {OptPath} - Path name on disk or an Object ID |
| 22 | + # * {OptInt} - An integer value |
| 23 | + # * {OptEnum} - Select from a set of valid values |
| 24 | + # * {OptAddressRange} - A subnet or range of addresses |
| 25 | + # * {OptRegexp} - Valid Ruby regular expression |
15 | 26 | #
|
16 |
| - ### |
17 | 27 | class OptionContainer < Hash
|
18 | 28 |
|
19 | 29 | #
|
|
0 commit comments