Files
metasploit-gs/data/msfweb/app/views/exploits/view.rhtml
T
2007-03-25 07:26:47 +00:00

65 lines
1.6 KiB
Plaintext

<table align="center" width="100%" cellspacing="0" cellpadding="15" border="0">
<tr width="100%" align="center">
<p class="moduleName">
<%= h(@tmod.name) %> <br />
</p>
</tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDescription">
<%= @tmod.description.split("\n\n").map{ |t| h(t) }.join("<br/><br/>") %>
</p>
</blockquote>
</tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDescription">
This module (v<%= h @tmod.version.gsub(/\$Revision:\s+|\s+\$/, '') %>) was
provided by <%= h @tmod.author.map{ |a| a.to_s.gsub(/\<.*/, '') }.join(' and ').strip %>,
under the <%= @tmod.license %>.
</p>
</blockquote>
</tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleTargetsText">
Select a target to continue:
<ul class="moduleTargets">
<% @tmod.targets.each_with_index { |tgt, idx| %>
<li><%= link_to h(tgt.name), :action => "config", :refname => @tmod.refname.gsub('/', ':'), :target => idx %></a></li>
<% } %>
</ul>
</p>
</blockquote>
</tr>
<% if (@tmod.references.length > 0) %>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDescription">
External references:
<ul class="moduleReferences">
<% @tmod.references.each { |ref| %>
<% if (ref.kind_of?(Msf::Module::SiteReference)) %>
<li><a href="<%= ref.site %>" target="_blank">
<%= h(ref.to_s) %></a></li>
<% else %>
<li><%= h(ref.to_s) %></li>
<% end %>
<% } %>
</ul>
</p>
</blockquote>
</tr>
<% end %>
</table>