ronin-rb / ronin-vulns

Tests URLs for Local File Inclusion (LFI), Remote File Inclusion (RFI), SQL injection (SQLi), and Cross Site Scripting (XSS), Server Side Template Injection (SSTI), and Open Redirects.
https://ronin-rb.dev
GNU Lesser General Public License v3.0
62 stars 16 forks source link

Add a `WebVuln.test_param` method #69

Closed postmodern closed 6 months ago

postmodern commented 6 months ago

Add a special WebVuln.test_param method as a placeholder method for testing an individual query param, header name, cookie param, or form param. This will allow other classes such as CommandInjection, SQLI, and SSTI to have a place to put their enumeration logic for testing every combination of configuration until a working vulnerability is found for that param.

This will solve the issue where multiple slightly different vulnerability classes are discovered for the same param.

postmodern commented 6 months ago

Implemented in 2269921.