modules/auxiliary/admin/http/wp_google_maps_sqli.rb
Method run
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run
print_status("#{peer} - Trying to retrieve the #{datastore['DB_PREFIX']}users table...")
body = send_sql_request("* from #{datastore['DB_PREFIX']}users")
fail_with(Failure::UnexpectedReply, 'No response or unexpected status code in response') if body.nil?