metasploit-framework/data/markdown_doc/default_template.erb

49 lines
907 B
Plaintext
Raw Normal View History

2016-02-17 20:27:29 +00:00
## <%= items[:mod_name] %>
<%= normalize_description(items[:mod_description]) %>
## Module Name
<%= CGI::escapeHTML(items[:mod_fullname]) %>
2016-02-17 20:27:29 +00:00
## Authors
<%= normalize_authors(items[:mod_authors]) %>
2016-02-26 20:15:54 +00:00
<% unless items[:mod_platforms].empty? %>
## Platforms
<%= normalize_platforms(items[:mod_platforms]) %>
<% end %>
## Reliability
<%= normalize_rank(items[:mod_rank]) %>
2016-02-17 20:27:29 +00:00
## Related Pull Requests
<%= normalize_pull_requests(items[:mod_pull_requests]) %>
<% unless items[:mod_refs].empty? %>
## References
<%= normalize_references(items[:mod_refs]) %>
<% end %>
<% if items[:mod_targets] %>
2016-02-18 06:17:32 +00:00
## Available Targets
2016-02-17 20:27:29 +00:00
<%= normalize_targets(items[:mod_targets]) %>
2016-02-17 20:27:29 +00:00
<% end %>
2016-02-26 20:15:54 +00:00
## Required Options
2016-02-18 06:17:32 +00:00
2016-02-26 20:15:54 +00:00
<% if normalize_options(items[:mod_options]).empty? %>
No options required.
<% else %>
2016-02-17 20:27:29 +00:00
<%= normalize_options(items[:mod_options]) %>
<% end %>
2016-02-26 20:35:07 +00:00
## Basic Usage
2016-02-17 20:27:29 +00:00
<%= normalize_demo_output(items[:mod_demo]) %>