github_searcher/README.md

39 lines
1 KiB
Markdown
Raw Normal View History

2024-08-26 16:08:50 -05:00
# 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
1. Clone the repository:
```bash
2024-08-26 16:09:39 -05:00
git clone https://git.mcdevitt.tech/bpmcdevitt/github_searcher.git
2024-08-26 16:08:50 -05:00
cd github_searcher
```
2. Install the required dependencies:
```bash
pip install PyGithub
```
3. Set your GitHub access token as an environment variable:
```bash
export GITHUB_ACCESS_TOKEN=your_access_token
```
## Usage
Run the script with the required arguments:
```bash
python3 github_searcher.py --query=<query> --search_type=<search_type> [--get_open_issues] [--get_file_contents]