Skip to content

Commit

Permalink
Update Github-CVE-Listener.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kira-Pgr authored Feb 4, 2023
1 parent 6e9bc6a commit 05ef026
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Github-CVE-Listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ def getid(respJson):
exit(0)
readme = "https://raw.githubusercontent.com/" + str(respJson["items"][0]["full_name"]) + "/main/README.md"
readme_content = requests.get(readme).text
if str(cve_id) == "[]" and respJson["items"][0]["description"]:
cve_id = cve_id + cve_des
if str(cve_id) == "[]":
cve_id = cve_id + re.findall('(CVE\-\d+\-\d+)', readme_content, flags=re.IGNORECASE)
if str(cve_id) != "[]":
Expand Down

0 comments on commit 05ef026

Please sign in to comment.