lib/nessus/report_item.rb in dradis-nessus-4.8.0 vs lib/nessus/report_item.rb in dradis-nessus-4.9.0
- old
+ new
@@ -25,12 +25,12 @@
:cvss3_vector, :cvss_base_score, :cvss3_impact_score, :cvss_temporal_score,
:cvss_temporal_vector, :cvss_vector, :description, :exploit_available,
:exploit_code_maturity, :exploit_framework_canvas, :exploit_framework_core,
:exploitability_ease, :exploit_framework_metasploit,:metasploit_name,
:patch_publication_date, :plugin_modification_date, :plugin_output,
- :plugin_publication_date, :plugin_version, :product_coverage, :risk_factor,
- :solution, :synopsis, :threat_intensity_last_28, :threat_recency,
+ :plugin_publication_date, :plugin_type, :plugin_version, :product_coverage,
+ :risk_factor, :solution, :synopsis, :threat_intensity_last_28, :threat_recency,
:threat_sources_last_28, :vpr_score, :vuln_publication_date,
# multiple tags
:bid_entries, :cve_entries, :see_also_entries, :xref_entries,
# compliance tags
:cm_actual_value, :cm_audit_file, :cm_check_id, :cm_check_name, :cm_info,
@@ -121,10 +121,10 @@
private
def cleanup_html(source)
result = source.dup
- result.gsub!(/<code>(.*?)<\/code>/) { "\n\nbc. #{$1}\n\np. \n" }
+ result.gsub!(/<code>(.*?)<\/code>/) { "@#{$1}@" }
result
end
def tags_with_html_content
[:description]