diff --git a/.github/example.png b/.github/example.png index a7a9af4..04cc184 100644 Binary files a/.github/example.png and b/.github/example.png differ diff --git a/.github/example_list_cves.png b/.github/example_list_cves.png index 57dc450..47018ef 100644 Binary files a/.github/example_list_cves.png and b/.github/example_list_cves.png differ diff --git a/apachetomcatscanner/Reporter.py b/apachetomcatscanner/Reporter.py index 405934b..237b17d 100644 --- a/apachetomcatscanner/Reporter.py +++ b/apachetomcatscanner/Reporter.py @@ -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))