Skip to content

Commit

Permalink
Updated banners and fixed bug in --list-cves
Browse files Browse the repository at this point in the history
  • Loading branch information
p0dalirius committed Mar 3, 2023
1 parent dd6da71 commit 91c6f69
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified .github/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/example_list_cves.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apachetomcatscanner/Reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def print_new_results(self):

# List of cves
if self.config.list_cves_mode == True:
cve_list = self.vulns_db.get_vulnerabilities_of_version_sorted_by_criticity(finding["tomcat_version"], colors=True, reverse=True)
cve_list = self.vulns_db.get_vulnerabilities_of_version_sorted_by_criticity(finding["version"], colors=True, reverse=True)
if len(cve_list) != 0:
print(" | CVEs: %s" % ', '.join(cve_list))

Expand Down

0 comments on commit 91c6f69

Please sign in to comment.