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-b9f4589650da
unstable
David Maloney 2011-11-02 02:47:28 +00:00
parent 4ab4a2cec7
commit 131ffe4ab2
2 changed files with 2 additions and 2 deletions

View File

@ -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
)

View File

@ -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']
)