From 2576ee7f039e59adf4c4f65c2e2850c58afebffa Mon Sep 17 00:00:00 2001 From: Postmodern Date: Tue, 2 Jul 2024 13:30:22 -0700 Subject: [PATCH] Also optionally display any "Shouts" if the exploit defines them. --- views/exploits/show.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/views/exploits/show.erb b/views/exploits/show.erb index 55f33c6..39ff904 100644 --- a/views/exploits/show.erb +++ b/views/exploits/show.erb @@ -90,6 +90,16 @@ + <% if defined?(Ronin::Exploits::Metadata::Shouts) && + @exploit.include?(Ronin::Exploits::Metadata::Shouts) %> + + Shouts: + +

<%=h @exploit.shouts.join(', ') %>

+ + + <% end %> + Params: