Renamed USER/PASSWORD to WP_USER/WP_PASSWORD.
parent
13ded8abe7
commit
0e1b173d15
|
@ -43,17 +43,17 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
|
|
||||||
register_options(
|
register_options(
|
||||||
[
|
[
|
||||||
OptString.new('USER', [true, 'A valid username', nil]),
|
OptString.new('WP_USER', [true, 'A valid username', nil]),
|
||||||
OptString.new('PASSWORD', [true, 'Valid password for the provided username', nil])
|
OptString.new('WP_PASSWORD', [true, 'Valid password for the provided username', nil])
|
||||||
], self.class)
|
], self.class)
|
||||||
end
|
end
|
||||||
|
|
||||||
def user
|
def user
|
||||||
datastore['USER']
|
datastore['WP_USER']
|
||||||
end
|
end
|
||||||
|
|
||||||
def password
|
def password
|
||||||
datastore['PASSWORD']
|
datastore['WP_PASSWORD']
|
||||||
end
|
end
|
||||||
|
|
||||||
def check
|
def check
|
||||||
|
|
Loading…
Reference in New Issue