Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/escape-technologies/graphinder
πΈοΈ Blazing fast GraphQL endpoints finder using subdomain enumeration, scripts analysis and bruteforce. πΈοΈ
https://github.com/escape-technologies/graphinder
bugbounty finder graphql osint reconnaissance security spider subdomain-enumeration subdomain-scanner
Last synced: 2 days ago
JSON representation
πΈοΈ Blazing fast GraphQL endpoints finder using subdomain enumeration, scripts analysis and bruteforce. πΈοΈ
- Host: GitHub
- URL: https://github.com/escape-technologies/graphinder
- Owner: Escape-Technologies
- License: mit
- Created: 2022-04-22T10:59:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-22T22:01:48.000Z (over 1 year ago)
- Last Synced: 2024-12-16T02:05:52.383Z (10 days ago)
- Topics: bugbounty, finder, graphql, osint, reconnaissance, security, spider, subdomain-enumeration, subdomain-scanner
- Language: Python
- Homepage: https://escape.tech
- Size: 1.06 MB
- Stars: 203
- Watchers: 5
- Forks: 13
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Graphinder ![PyPI](https://img.shields.io/pypi/v/graphinder) [![CI](https://github.com/Escape-Technologies/graphinder/actions/workflows/ci.yaml/badge.svg)](https://github.com/Escape-Technologies/graphinder/actions/workflows/ci.yaml) [![codecov](https://codecov.io/gh/Escape-Technologies/graphinder/branch/main/graph/badge.svg?token=4KGK1LTHRO)](https://codecov.io/gh/Escape-Technologies/graphinder)
Graphinder is a tool that extracts all GraphQL endpoints from a given domain.
![Banner](doc/banner.png)
![Docker Pulls](https://img.shields.io/docker/pulls/escapetech/graphinder)
![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/escapetech/graphinder)
![PyPI - Downloads](https://img.shields.io/pypi/dm/graphinder)## Run with docker
```bash
docker pull escapetech/graphinder
docker run -it --rm escapetech/graphinder -d example.com
```If you want to save your results.json file, you can use:
```bash
docker run -it --name graphinder escapetech/graphinder -d example.com
docker cp graphinder:/graphinder/results.json results.json
docker rm -f graphinder
```## Install using Pip
```bash
pip install graphinder# using specific python binary
python3 -m pip install graphinder
```Run it with
```bash
graphinder ...
```## Usage
A Scan consistes of:
- Running specific domain (`-d`, `--domain`).
- Searching all scripts loaded by the browser for graphql endpoint (`-s`, `--script`)
- Brute forcing the directories of all discovered urls (`-b`, `--bruteforce`)
- Using precision mode (`-p`, `--precision`)By default, bruteforce and script search are enabled.
```bash
graphinder -d example.com
``````bash
graphinder -f domains.txt
```### Extra features
- `--no-bruteforce`: Disable bruteforce
- `--no-script`: Disable script search
- `-p --precision --no-precision`: Enable/disable precision mode (default: enabled) (precision mode is slower but more accurate)
- `-w --max-workers `: Maximum of concurrent workers on multiple domains.
- `-o --output-file `: Output the results to file
- `-v --verbose --no-verbose`: Verbose mode
- `-r --reduce`: The maximum number of subdomains to scan.
- `-wb --webhook_url`: The discord webhook url to send the results to.If you experience any issues, irregularities or networking bottlenecks, please reduce your number of workers, otherwise, better is your network, the more workers you can have.
## Local installation
Clone the repository and run the installation script
```bash
git clone https://github.com/Escape-Technologies/graphinder.git
cd graphinder
./install-dev.sh
```Run this command to enter the virtual enviroment
```bash
poetry shell
```Profit !
```bash
graphinder -d example.com
```## How do you make sure this is a valid graphql endpoint ?
![detector](doc/detector.jpg)
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License ![PyPI - License](https://img.shields.io/pypi/l/graphinder)
[MIT](https://choosealicense.com/licenses/mit/)