Sha256: cd3ab6d4dac1790474a96b9d42ab9b651e0a34824275062cc051e586813d366f

Contents?: true

Size: 940 Bytes

Versions: 26

Compression:

Stored size: 940 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 -%>
},
"vulnerabilities": [
<% if @item.respond_to?(:vulnerabilities) && !(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 -%>
]

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
wpscan-3.5.3 app/views/json/finding.erb
wpscan-3.5.2 app/views/json/finding.erb
wpscan-3.5.1 app/views/json/finding.erb
wpscan-3.5.0 app/views/json/finding.erb
wpscan-3.4.5 app/views/json/finding.erb
wpscan-3.4.4 app/views/json/finding.erb
wpscan-3.4.3 app/views/json/finding.erb
wpscan-3.4.2 app/views/json/finding.erb
wpscan-3.4.1 app/views/json/finding.erb
wpscan-3.4.0 app/views/json/finding.erb
wpscan-3.3.3 app/views/json/finding.erb
wpscan-3.3.2 app/views/json/finding.erb
wpscan-3.3.1 app/views/json/finding.erb
wpscan-3.3.0 app/views/json/finding.erb
wpscan-3.2.1 app/views/json/finding.erb
wpscan-3.2.0 app/views/json/finding.erb
wpscan-3.1.0 app/views/json/finding.erb
wpscan-3.0.8 app/views/json/finding.erb
wpscan-3.0.7 app/views/json/finding.erb
wpscan-3.0.6 app/views/json/finding.erb