path could be nil but only checked using empty?. Defaulting value to ''
git-svn-id: file:///home/svn/framework3/trunk@13979 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
d204f4027b
commit
6e3b36e142
|
@ -30,7 +30,7 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
register_options(
|
||||
[
|
||||
OptString.new('PATH', [ true, 'Directory to begin search from' ]),
|
||||
OptString.new('PATH', [ true, 'Directory to begin search from', '']),
|
||||
OptEnum.new('FILTER', [ false, 'Filter to limit results by', 'NA', [ 'NA', 'R', 'W', 'RW' ]]),
|
||||
OptInt.new('DEPTH', [ true, 'Depth to drill down into subdirs, O = no limit',0]),
|
||||
], self.class)
|
||||
|
|
Loading…
Reference in New Issue