Sha256: 5406a5b868959931c17764d646df4f73ee301503afabc3fce6e652d5bfba51e3

Contents?: true

Size: 961 Bytes

Versions: 19

Compression:

Stored size: 961 Bytes

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 %>,
    "fixed_in": <%= v.fixed_in.to_json %>,
    "references": <%= v.references.to_json %>
  }<% unless index == last_index -%>,<% end -%>
  <% end -%>
<% end -%>
]
<% end -%>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
wpscan-3.8.0 app/views/json/finding.erb
wpscan-3.7.11 app/views/json/finding.erb
wpscan-3.7.10 app/views/json/finding.erb
wpscan-3.7.9 app/views/json/finding.erb
wpscan-3.7.8 app/views/json/finding.erb
wpscan-3.7.7 app/views/json/finding.erb
wpscan-3.7.6 app/views/json/finding.erb
wpscan-3.7.5 app/views/json/finding.erb
wpscan-3.7.4 app/views/json/finding.erb
wpscan-3.7.3 app/views/json/finding.erb
wpscan-3.7.2 app/views/json/finding.erb
wpscan-3.7.1 app/views/json/finding.erb
wpscan-3.7.0 app/views/json/finding.erb
wpscan-3.6.3 app/views/json/finding.erb
wpscan-3.6.2 app/views/json/finding.erb
wpscan-3.6.1 app/views/json/finding.erb
wpscan-3.6.0 app/views/json/finding.erb
wpscan-3.5.5 app/views/json/finding.erb
wpscan-3.5.4 app/views/json/finding.erb