Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1021 Bytes

File metadata and controls

41 lines (29 loc) · 1021 Bytes
title discover api
description Discover well-known paths and technology fingerprints for an API.

Probe a base URL for common API paths (e.g. /openapi.json, /graphql, /.well-known/) and read response headers to fingerprint the server framework and language.

Usage

vulnapi discover api <URL> [flags]

Accepts all common flags.

Output

The command prints two tables:

  • Well-known paths — paths that returned a non-404 response, with their HTTP status codes.
  • Fingerprints — detected technologies inferred from response headers (server, framework, language, etc.).

Examples

Discover well-known paths and fingerprints

vulnapi discover api https://api.example.com

Pass an Authorization header

vulnapi discover api https://api.example.com \
  -H "Authorization: Bearer <token>"

Exit codes

Code Meaning
0 Discovery completed successfully
1 Fatal error (invalid URL, network failure, etc.)