Skip to content

Commit

Permalink
Also optionally display any "Shouts" if the exploit defines them.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jul 2, 2024
1 parent 673a08c commit 2576ee7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions views/exploits/show.erb
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@
</td>
</tr>

<% if defined?(Ronin::Exploits::Metadata::Shouts) &&
@exploit.include?(Ronin::Exploits::Metadata::Shouts) %>
<tr>
<td><strong>Shouts:</strong></td>
<td>
<p><%=h @exploit.shouts.join(', ') %></p>
</td>
</tr>
<% end %>

<tr>
<td><strong>Params:</strong></td>
<td>
Expand Down

0 comments on commit 2576ee7

Please sign in to comment.