Module: Lab::Modifier::Test

Defined in:
lib/lab/modifier/test_modifier.rb

Instance Method Summary collapse

Instance Method Details

#install_nmapObject



7
8
9
# File 'lib/lab/modifier/test_modifier.rb', line 7

def install_nmap
  run_command("sudo apt-get install nmap")
end

#nmap(options) ⇒ Object



11
12
13
# File 'lib/lab/modifier/test_modifier.rb', line 11

def nmap(options)
  run_command("nmap #{filter_input(options)}")
end