Skip to content

Instantly share code, notes, and snippets.

@nullenc0de
Created August 7, 2021 11:14
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nullenc0de/bb16be959686295b3b1caff519cc3e05 to your computer and use it in GitHub Desktop.
Save nullenc0de/bb16be959686295b3b1caff519cc3e05 to your computer and use it in GitHub Desktop.
id: api-linkfinder
info:
name: API Recon
author: nullenc0de
severity: info
tags: file
requests:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
name: url_params
regex:
- '[&\?][a-zA-Z0-9\_]+='
- type: regex
name: relative_links
regex:
- ([a-zA-Z0-9_\-/]{1,}/[a-zA-Z0-9_\-/]{1,}(?:[a-zA-Z]{1,4}|action)(?:[\?|#][^"|']{0,}|))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment