Class: Masscan::Program Deprecated
- Defined in:
- lib/masscan/program.rb
Overview
Deprecated.
Please use Command instead.
Class Method Summary collapse
-
.scan(options = {}) {|masscan| ... } ⇒ Boolean
Runs
masscan
. -
.sudo_scan(options = {}, &block) ⇒ Object
Runs
masscan
but undersudo
.
Class Method Details
.scan(options = {}) {|masscan| ... } ⇒ Boolean
Runs masscan
.
39 40 41 |
# File 'lib/masscan/program.rb', line 39 def self.scan(={},&block) run(,&block) end |
.sudo_scan(options = {}, &block) ⇒ Object
Runs masscan
but under sudo
.
48 49 50 |
# File 'lib/masscan/program.rb', line 48 def self.sudo_scan(={},&block) sudo(,&block) end |