class Ncrack::Command
Provides an interface for invoking the ‘ncrack` utility.
## Example
require 'ncrack' Ncrack::Command.run(targets: %w[10.0.0.130:21 192.168.1.2:22], output_xml: 'ncrack.xml')
## ‘ncrack` options:
-
‘-iX` - `ncrack.input_xml`
-
‘-iN` - `ncrack.input_normal`
-
‘-iL` - `ncrack.input_list`
-
‘–exclude` - `ncrack.exclude`
-
‘–excludefile` - `ncrack.exclude_file`
-
‘-p` - `ncrack.ports`
-
‘-m` - `ncrack.service_options`
-
‘-g` - `ncrack.global_options`
-
‘-T` - `ncrack.timing`
-
‘–connection-limit` - `ncrack.connection_limit`
-
‘–stealth-linear` - `ncrack.stealth_linear`
-
‘-U` - `ncrack.username_file`
-
‘-P` - `ncrack.password_file`
-
‘–user` - `ncrack.user`
-
‘–pass` - `ncrack.pass`
-
‘–passwords-first` - `ncrack.passwords_first`
-
‘–pairwise` - `ncrack.pairwise`
-
‘-oN` - `ncrack.output_normal`
-
‘-oX` - `ncrack.output_xml`
-
‘-oA` - `ncrack.output_all`
-
‘-v` - `ncrack.verbose`
-
‘-d` - `ncrack.debug`
-
‘–nsock-trace` - `ncrack.nsock_trace`
-
‘–log-errors` - `ncrack.log_errors`
-
‘–append-output` - `ncrack.append_output`
-
‘–resume` - `ncrack.resume`
-
‘–save` - `ncrack.save`
-
‘-f` - `ncrack.first`
-
‘-6` - `ncrack.ipv4`
-
‘-sL` - `ncrack.list`
-
‘–datadir` - `ncrack.datadir`
-
‘-V` - `ncrack.version`
-
‘-h` - `ncrack.help`