Use OptPath for file path options
parent
fb0af8a799
commit
b8e0187647
|
@ -28,7 +28,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
register_options(
|
||||
[
|
||||
OptString.new('USER_FILE',
|
||||
OptPath.new('USER_FILE',
|
||||
[true, 'File containing usernames, one per line', nil]),
|
||||
OptInt.new('THRESHOLD',
|
||||
[true,
|
||||
|
|
Loading…
Reference in New Issue