Skip to content

Commit

Permalink
Default all methods will be used
Browse files Browse the repository at this point in the history
  • Loading branch information
xaitax committed Nov 19, 2024
1 parent 3195d5b commit f429c72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sploitscan/sploitscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,8 @@ def main(cve_ids, export_format=None, import_file=None, import_type=None, config
print("❌ No CVE IDs provided. Please provide CVE IDs or an import file.")
return

selected_methods = methods.split(",") if methods else []
default_methods = ["cisa", "epss", "hackerone", "ai", "prio", "references"]
selected_methods = methods.split(",") if methods else default_methods

for cve_id in cve_ids:
cve_id = cve_id.upper()
Expand Down

0 comments on commit f429c72

Please sign in to comment.