Sha256: b0767bbfda58358ee67ffbb020034fafd7d3deabbadbe87cc8ce96ed83694e9d

Contents?: true

Size: 1.01 KB

Versions: 26

Compression:

Stored size: 1.01 KB

Contents

"found_by": <%= @item.found_by.to_json %>,
"confidence": <%= @item.confidence.to_json %>,
"interesting_entries": <%= @item.interesting_entries.to_json %>,
"confirmed_by": {
<% unless (confirmed = @item.confirmed_by).empty? -%>
<% last_index = @item.confirmed_by.size - 1 -%>
<% @item.confirmed_by.each_with_index do |c, index| -%>
  <%= c.found_by.to_json %>: {
    "confidence": <%= c.confidence.to_json %>,
    "interesting_entries": <%= c.interesting_entries.to_json %>
  }<% unless index == last_index %>,<% end -%>
<% end -%>
<% end -%>
}
<% if @item.respond_to?(:vulnerabilities) -%>
,"vulnerabilities": [
<% unless (vulns = @item.vulnerabilities).empty? -%>
  <% last_index = vulns.size - 1 -%>
  <% vulns.each_with_index do |v, index| -%>
  {
    "title": <%= v.title.to_json %>,
    <% if v.cvss -%>
    "cvss": <%= v.cvss.to_json %>,
    <% end -%>
    "fixed_in": <%= v.fixed_in.to_json %>,
    "references": <%= v.references.to_json %>
  }<% unless index == last_index -%>,<% end -%>
  <% end -%>
<% end -%>
]
<% end -%>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
wpscan-3.8.27 app/views/json/finding.erb
wpscan-3.8.26 app/views/json/finding.erb
wpscan-3.8.25 app/views/json/finding.erb
wpscan-3.8.24 app/views/json/finding.erb
wpscan-3.8.22 app/views/json/finding.erb
wpscan-3.8.21 app/views/json/finding.erb
wpscan-3.8.20 app/views/json/finding.erb
wpscan-3.8.19 app/views/json/finding.erb
wpscan-3.8.18 app/views/json/finding.erb
wpscan-3.8.17 app/views/json/finding.erb
wpscan-3.8.16 app/views/json/finding.erb
wpscan-3.8.15 app/views/json/finding.erb
wpscan-3.8.14 app/views/json/finding.erb
wpscan-3.8.13 app/views/json/finding.erb
wpscan-3.8.12 app/views/json/finding.erb
wpscan-3.8.11 app/views/json/finding.erb
wpscan-3.8.10 app/views/json/finding.erb
wpscan-3.8.9 app/views/json/finding.erb
wpscan-3.8.8 app/views/json/finding.erb
wpscan-3.8.7 app/views/json/finding.erb