Skip to main content

Fast and powerful GraphQL engine fingerprinting tool

Project description

GraphDNA PyPI CI CD

GraphDNA is a tool that uses multiple heuristics to fingerprint GraphQL endpoints.

Banner PyPI - Python Version PyPI - Downloads

Getting Started

It takes only two simple steps to fingerprint an endpoint using GraphDNA.

pip install graphdna
graphdna -u https://example.com/graphql

The full list of supported engines is accessible here.

Banner

Documentation

from graphdna import detect_engine, detect_engine_async
from graphdna.entities import GraphQLEngine

def detect_engine(
    url: str,
    headers: dict[str, str] | None = None,
    logger: logging.Logger | None = None,
) -> GraphQLEngine | None:
    ...


async def detect_engine_async(
    url: str,
    headers: dict[str, str] | None = None,
    logger: logging.Logger | None = None,
) -> GraphQLEngine | None:
    ...

Local installation

git clone git@github.com:Escape-Technologies/GraphDNA.git
cd GraphDNA
chmod +x ./install-dev.sh
./install-dev.sh

Credits

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphdna-0.1.1.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

graphdna-0.1.1-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file graphdna-0.1.1.tar.gz.

File metadata

  • Download URL: graphdna-0.1.1.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for graphdna-0.1.1.tar.gz
Algorithm Hash digest
SHA256 416b43051a8dbe6c93823be12bd50d9f9e2d52f5c3f769cdc7ec9a53193be5b6
MD5 d78670108aa23d0a4b40a9b6fdc2ce39
BLAKE2b-256 28561cb1da18715371731bf7e079a26d1d7619a3c71caacf49d189bd7a5f093a

See more details on using hashes here.

File details

Details for the file graphdna-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: graphdna-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for graphdna-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 caf0176a2033bb16889d82c4627d9f1855fe7c07ca1ed2a100a7d52de20bb1f6
MD5 af745c11315167d60b123c23c6803671
BLAKE2b-256 986188672e1ccb46bc26e202cbba7fc284556e18edbd4c08364e2da082ba1326

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page