Sha256: a05aa183f1b54d2a54c6cd3af615e774aae634644cc4c3389641e4b6f40ec8eb
Contents?: true
Size: 567 Bytes
Versions: 10
Compression:
Stored size: 567 Bytes
Contents
module WPScan module Finders module Passwords # Password attack against the wp-login.php class WpLogin < CMSScanner::Finders::Finder include CMSScanner::Finders::Finder::BreadthFirstDictionaryAttack def login_request(username, password) target.login_request(username, password) end def valid_credentials?(response) response.code == 302 end def errored_response?(response) response.code != 200 && response.body !~ /login_error/i end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems