If its required, it better have a valid default. Fixing
git-svn-id: file:///home/svn/framework3/trunk@9028 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
168d03b2ff
commit
498c225555
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue