{"id":25332442,"url":"https://github.com/stanfrbd/searchcve","last_synced_at":"2025-10-29T07:30:29.589Z","repository":{"id":46648651,"uuid":"410902139","full_name":"stanfrbd/searchcve","owner":"stanfrbd","description":"Command line tool to get CVE useful info from any web report using the NVD database (NIST). Time saver for analysts.","archived":false,"fork":false,"pushed_at":"2024-11-25T10:00:34.000Z","size":43,"stargazers_count":40,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-25T11:18:57.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stanfrbd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-27T13:46:42.000Z","updated_at":"2024-11-25T10:00:38.000Z","dependencies_parsed_at":"2024-11-28T07:00:34.096Z","dependency_job_id":null,"html_url":"https://github.com/stanfrbd/searchcve","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanfrbd%2Fsearchcve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanfrbd%2Fsearchcve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanfrbd%2Fsearchcve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanfrbd%2Fsearchcve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stanfrbd","download_url":"https://codeload.github.com/stanfrbd/searchcve/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238785253,"owners_count":19529931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-14T04:52:15.296Z","updated_at":"2025-10-29T07:30:29.581Z","avatar_url":"https://github.com/stanfrbd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# searchcve\n\nWeb scrapping tool written in python3, using regex, to get CVEs, Source and URLs.\n\n![GitHub stars](https://img.shields.io/github/stars/stanfrbd/searchcve?style=social)\n![GitHub issues](https://img.shields.io/github/issues/stanfrbd/searchcve)\n![License](https://img.shields.io/github/license/stanfrbd/searchcve)\n\n# Features\n\n* Web scrapping tool written in python3, using regex, to get CVEs, Source and URLs.\n* Generates a CSV file in the current directory.\n* Uses the NIST API v2 to get info.\n\n# Getting started\n\n## Install dependencies\n\n* `requests`, `bs4` (or `beautifulsoup4`) and `prettytable` must be installed.\n\nYou might want to create a [`venv`](https://docs.python.org/3/library/venv.html) before installing the dependencies.\n\n```\npip install -r requirements.txt\n```\n\n## Proxy\n\nIf you need to use a proxy, then write use the `-p` or `--proxy` argument.\n\n```sh\npython3 searchcve.py -u \"https://us-cert.cisa.gov/ncas/alerts/aa21-209a\" -p \"http://127.0.0.1:9000\"\n```\n\nOr you can set the proxy in the code of the script.\n\n```python\nproxy = \"http://127.0.0.1:9000\"\n```\n\n### Example of usage\n\n```sh\npython3 searchcve.py -u https://us-cert.cisa.gov/ncas/alerts/aa21-209a\npython3 searchcve.py -u https://www.kennasecurity.com/blog/top-vulnerabilities-of-the-decade/\npython3 searchcve.py --url https://arstechnica.com/gadgets/2021/07/feds-list-the-top-30-most-exploited-vulnerabilities-many-are-years-old/\npython3 searchcve.py --url https://nvd.nist.gov/ \n```\n\n### Development on Linux\n\nJust in Bash (Ubuntu 18+):\n```sh\nchmod +x developer.sh\n./developer.sh\n```\n\n### On Linux\n```sh\nchmod +x searchcve.py\n\n./searchcve.py -u https://us-cert.cisa.gov/ncas/alerts/aa21-209a\n./searchcve.py --url https://nvd.nist.gov/ \n```\n\n![image](https://user-images.githubusercontent.com/44167150/135639477-16e946a9-93e3-414d-9213-ededd32139e0.png)\n\n# Other arguments\n\n\u003e Command line tool that uses the NIST API to get resources.\n```sh\nusage: searchcve.py [-h] [-c CVE] [-k KEYWORD] [-u URL] [-i INPUT_FILE] [-p PROXY]\n\noptions:\n  -h, --help            show this help message and exit\n  -c CVE, --cve CVE     Choose CVE e.g. \"CVE-2020-1472\"\n  -k KEYWORD, --keyword KEYWORD\n                        Choose keyword e.g. \"microsoft\" -- it will give the 20 latest vulnerabilities and export to\n                        csv in the current directory\n  -u URL, --url URL     Choose URL e.g. \"https://nvd.nist.gov/\" -- it will export to csv in the current directory\n  -i INPUT_FILE, --input-file INPUT_FILE\n                        Choose the path to input file containing CVEs or URLs e.g. \"test.csv\" -- it will export to csv\n                        in the current directory\n  -p PROXY, --proxy PROXY\n                        Choose proxy e.g. \"http://127.0.0.1:9000\"\n```\n\n```sh\npython3 searchcve.py -c CVE-2020-1472\n```\n\n![image](https://user-images.githubusercontent.com/44167150/135640415-7479a252-751d-45d1-bec0-9f50a7245a67.png)\n\n\n```sh\npython3 searchcve.py -k microsoft\n```\n\n![image](https://user-images.githubusercontent.com/44167150/135640585-d295ce9e-9f4f-49dc-9214-9bc5f60987af.png)\n\n```sh\npython3 searchcve.py -i cves.csv\n```\n\n![image](https://user-images.githubusercontent.com/44167150/135640892-bc37b259-158e-4194-a8ef-28b348b37111.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanfrbd%2Fsearchcve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstanfrbd%2Fsearchcve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanfrbd%2Fsearchcve/lists"}