If its required, it better have a valid default. Fixing

git-svn-id: file:///home/svn/framework3/trunk@9028 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-04-06 16:36:28 +00:00
parent 168d03b2ff
commit 498c225555
1 changed files with 49 additions and 51 deletions

View File

@ -29,10 +29,7 @@ class Metasploit3 < Msf::Auxiliary
register_options(
[
OptString.new('PATH', [ true, "Original test path", '/']),
OptPath.new('VULNCSV', [ false, "Path of vulnerabilities csv file to use",
File.join(Msf::Config.install_root, "data", "wmap", "wmap_vulns.csv")
]
)
OptPath.new('VULNCSV',[ true, "Path of vulnerabilities csv file to use" ])
], self.class)
register_advanced_options(
@ -182,3 +179,4 @@ class Metasploit3 < Msf::Auxiliary
end
end
end