1 KiB
1 KiB
GitHub Searcher
GitHub Searcher is a command-line tool to search for PoC exploits for CVEs and security vulnerabilities in open-source software on GitHub. It allows you to search repositories, users, and repository names, and optionally fetch open issues and repository contents.
Features
- Search GitHub repositories, users, and repository names.
- Fetch open issues of a repository.
- Fetch contents of a repository.
Requirements
- Python 3.x
PyGithub
library
Installation
-
Clone the repository:
git clone https://git.mcdevitt.tech/bpmcdevitt/github_searcher.git cd github_searcher
-
Install the required dependencies:
pip install PyGithub
-
Set your GitHub access token as an environment variable:
export GITHUB_ACCESS_TOKEN=your_access_token
Usage
Run the script with the required arguments:
python3 github_searcher.py --query=<query> --search_type=<search_type> [--get_open_issues] [--get_file_contents]