Skip to content

Instantly share code, notes, and snippets.

@thezakman
Forked from nullenc0de/api-linkfinder.yaml
Created August 10, 2021 06:58
Show Gist options
  • Save thezakman/770c03ada1d0b09e81171567e36c3982 to your computer and use it in GitHub Desktop.
Save thezakman/770c03ada1d0b09e81171567e36c3982 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