Documentation
¶
Overview ¶
Package osint performs passive discovery of public API definitions via the SwaggerHub spec-search API (technique from UndeadSec/SwaggerSpy).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Search ¶
func Search(ctx context.Context, client *httpclient.Client, term string, maxPages int, onSpec func(Spec)) (int, error)
Search queries SwaggerHub for public specs matching term, streaming each spec to onSpec as it is found. It stops after maxPages pages (0 = all available). TotalCount from the first page is returned so callers can report scope.
Types ¶
Click to show internal directories.
Click to hide internal directories.