default to user admin
parent
c4fe21865c
commit
680b551215
|
@ -20,12 +20,12 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
def initialize
|
||||
super(
|
||||
'Name' => 'DLink DIR 300 / 320 / 615 revA HTTP Login Utility',
|
||||
'Description' => 'This module attempts to authenticate to different DLink HTTP management services.',
|
||||
'References' =>
|
||||
[
|
||||
|
||||
],
|
||||
'Name' => 'DLink DIR-300A / DIR-320 / DIR-615D HTTP Login Utility',
|
||||
'Description' => %q{
|
||||
This module attempts to authenticate to different DLink HTTP management services.
|
||||
Tested devices: D-Link DIR-300 Hardware revision A, D-Link DIR-615 Hardware revision D
|
||||
and D-Link DIR-320. It is possible that this module also works with other models.
|
||||
},
|
||||
'Author' => [
|
||||
'hdm', #http_login module
|
||||
'Michael Messner <devnull@s3cur1ty.de>' #dlink login included
|
||||
|
@ -39,17 +39,14 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
register_options(
|
||||
[
|
||||
OptPath.new('USERPASS_FILE', [ false, "File containing users and passwords separated by space, one pair per line",
|
||||
File.join(Msf::Config.install_root, "data", "wordlists", "http_default_userpass.txt") ]),
|
||||
OptPath.new('USER_FILE', [ false, "File containing users, one per line",
|
||||
File.join(Msf::Config.install_root, "data", "wordlists", "http_default_users.txt") ]),
|
||||
OptString.new('USERNAME', [ false, "Username for authentication (default: admin)","admin" ]),
|
||||
OptPath.new('PASS_FILE', [ false, "File containing passwords, one per line",
|
||||
File.join(Msf::Config.install_root, "data", "wordlists", "http_default_pass.txt") ]),
|
||||
], self.class)
|
||||
end
|
||||
|
||||
def target_url
|
||||
i proto = "http"
|
||||
proto = "http"
|
||||
if rport == 443 or ssl
|
||||
proto = "https"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue