Fixed inconsistencies in how data was being passed to report_auth_info(). The command dispatcher and filezilla
server cred module both used the accessor :ptype but report_auth_info looks for :type. While ptype is what the db field is called, almsot everything else references :type so it is better for consistency to keep everything at :type. Fixes #5906 git-svn-id: file:///home/svn/framework3/trunk@14141 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4ab4a2cec7
commit
131ffe4ab2
|
@ -691,7 +691,7 @@ class Db
|
|||
:port => port,
|
||||
:user => (user == "NULL" ? nil : user),
|
||||
:pass => (pass == "NULL" ? nil : pass),
|
||||
:ptype => ptype,
|
||||
:type => ptype,
|
||||
:sname => service,
|
||||
:active => true
|
||||
)
|
||||
|
|
|
@ -188,7 +188,7 @@ class Metasploit3 < Msf::Post
|
|||
:proto => 'tcp',
|
||||
:user => 'admin',
|
||||
:pass => config['admin_pass'],
|
||||
:ptype => "password",
|
||||
:type => "password",
|
||||
:target_host => config['admin_bindip'],
|
||||
:target_port => config['admin_port']
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue