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