diff --git a/data/msfweb/app/views/auxiliaries/view.rhtml b/data/msfweb/app/views/auxiliaries/view.rhtml index 9fe2bd3b9b..f9eedc5eec 100644 --- a/data/msfweb/app/views/auxiliaries/view.rhtml +++ b/data/msfweb/app/views/auxiliaries/view.rhtml @@ -1,57 +1,46 @@ -
Version: | -<%= @tmod.version %> | -
License: | -<%= @tmod.license %> | -
Version: | -<%= @tmod.version %> | + +
License: | -<%= @tmod.license %> | + + <% if (@tmod.references.length > 0) %> +
Architecture: | -<%= @tmod.arch %> | -
@@ -40,6 +41,7 @@
diff --git a/data/msfweb/app/views/nops/view.rhtml b/data/msfweb/app/views/nops/view.rhtml index 72205fa6a3..f9eedc5eec 100644 --- a/data/msfweb/app/views/nops/view.rhtml +++ b/data/msfweb/app/views/nops/view.rhtml @@ -1,40 +1,46 @@ -- -
diff --git a/data/msfweb/app/views/payloads/view.rhtml b/data/msfweb/app/views/payloads/view.rhtml index 6e11439ece..cc2326b670 100644 --- a/data/msfweb/app/views/payloads/view.rhtml +++ b/data/msfweb/app/views/payloads/view.rhtml @@ -1,40 +1,48 @@+ + +
\ No newline at end of file +- - <%= html_escape(@tmod.name) %> + <%= h(@tmod.name) %>
- - ---- <%= html_escape(@tmod.description) %> -
-+ - -- This module was provided by <%= @tmod.author.join(' and ') %>. +
+ <%= h(@tmod.description) %>
- Version: -<%= @tmod.version %> + ++ - -++ This module (revision <%= 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 %>. +
+- License: -<%= @tmod.license %> + + <% if (@tmod.references.length > 0) %> ++ + <% end %> -++ External references: +
+ <% @tmod.references.each { |ref| %> + <% if (ref.kind_of?(Msf::Module::SiteReference)) %> +
+ +- + <%= h(ref.to_s) %>
+ <% else %> +- <%= h(ref.to_s) %>
+ <% end %> + <% } %> +- - -Architecture: -<%= @tmod.arch %> --
\ No newline at end of file ++ - - - <%= module_platform_icons(@tmod.platform) %> - - <%= html_escape(@tmod.name) %> + <%= h(@tmod.name) %>
- - ---- <%= html_escape(@tmod.description) %> -
-+ - -- This module was provided by <%= @tmod.author.join(' and ') %>. +
+ <%= h(@tmod.description) %>
- Version: -<%= @tmod.version %> + ++ - -++ This module (revision <%= 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 %>. +
+- License: -<%= @tmod.license %> + + <% if (@tmod.references.length > 0) %> ++ - + <% end %> +++ External references: +
+ <% @tmod.references.each { |ref| %> + <% if (ref.kind_of?(Msf::Module::SiteReference)) %> +
+ +- + <%= h(ref.to_s) %>
+ <% else %> +- <%= h(ref.to_s) %>
+ <% end %> + <% } %> +<% end %> - Size: <%= @tmod.generate.length %> @@ -133,4 +141,4 @@