indentation fix

master
Shelby Pace 2019-03-25 14:54:46 -05:00
parent 3a8b09f08e
commit d185e8a018
No known key found for this signature in database
GPG Key ID: B2F3A8B476406857
1 changed files with 6 additions and 6 deletions

View File

@ -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