5dc41008dd
git-svn-id: file:///home/svn/framework3/trunk@4563 4d416f70-5f16-0410-b530-b9f4589650da
65 lines
1.6 KiB
Plaintext
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>
|