Files
metasploit-gs/lib/lab/modifier/test_modifier.rb
T
Jonathan Cran 5f3cd45d07 example vm modifier
git-svn-id: file:///home/svn/framework3/trunk@13410 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-29 18:23:20 +00:00

23 lines
318 B
Ruby

# This assumes you're on a recent ubuntu
# TODO - enforce this, or split it out...
module Lab
module Modifier
module Test
def install_nmap
run_command("sudo apt-get install nmap")
end
def nmap(options)
run_command("nmap #{filter_input(options)}")
end
def test
run_command("echo yo!")
end
end
end
end