diff --git a/lib/ronin/vulns/sqli.rb b/lib/ronin/vulns/sqli.rb index dc6cf87..2a6e631 100644 --- a/lib/ronin/vulns/sqli.rb +++ b/lib/ronin/vulns/sqli.rb @@ -296,7 +296,7 @@ def vulnerable? # def check_for_sql_errors(response) if response.code == '500' - ERROR_PATTERNS.each do |database,error_pattern| + ERROR_PATTERNS.each_value do |error_pattern| if error_pattern =~ response.body return true end