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