Skip to content

Commit

Permalink
Add missing support for generating new OpenRedirect exploits.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jun 12, 2024
1 parent 53887ae commit 30f854c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/ronin/exploits/cli/commands/new.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ class New < Command
class: 'Web'
},

open_redirect: {
file: 'open_redirect',
class: 'OpenRedirect'
},

lfi: {
file: 'lfi',
class: 'LFI'
Expand Down Expand Up @@ -307,7 +312,7 @@ def format_kwargs(kwargs)
end

# Web exploit class names.
WEB_VULN_EXPLOITS = %w[LFI RFI SQLI SSTI XSS]
WEB_VULN_EXPLOITS = %w[OpenRedirect LFI RFI SQLI SSTI XSS]

#
# Determines if the exploit type is `stack_overflow`.
Expand Down

0 comments on commit 30f854c

Please sign in to comment.