indentation fix
parent
3a8b09f08e
commit
d185e8a018
|
@ -49,13 +49,13 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
end
|
end
|
||||||
|
|
||||||
def check
|
def check
|
||||||
cookie = wordpress_login(username, password)
|
cookie = wordpress_login(username, password)
|
||||||
if cookie.nil?
|
if cookie.nil?
|
||||||
store_valid_credential(user: username, private: password, proof: cookie)
|
store_valid_credential(user: username, private: password, proof: cookie)
|
||||||
return CheckCode::Safe
|
return CheckCode::Safe
|
||||||
end
|
end
|
||||||
|
|
||||||
CheckCode::Appears
|
CheckCode::Appears
|
||||||
end
|
end
|
||||||
|
|
||||||
def username
|
def username
|
||||||
|
|
Loading…
Reference in New Issue