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 `WebVuln#user_agent` and a `user_agent:` keyword argument to `WebVuln` #52

Closed postmodern closed 1 year ago

postmodern commented 1 year ago

Add a WebVuln#user_agent reader and instance variable which can be set to a String or a Symbol. WebVuln#initialize should also accept a user_agent: keyword argument. This @user_agent instance variable should then be passed to @http.request(...) in WebVuln#request.

postmodern commented 1 year ago

Implemented in 40887b0.