Files
nuclei-templates/token-spray/api-github.yaml
forgedhallpass 209538baa6 refactor: Description field uniformization
* info field reorder
* reference values refactored to list
* added new lines after the id and before the protocols
* removed extra new lines
* split really long descriptions to multiple lines (part 1)
* other minor fixes
2022-04-22 13:38:41 +03:00

26 lines
482 B
YAML

id: api-github
info:
name: GitHub API Test
author: zzeitlin
severity: info
reference:
- https://docs.github.com/en/rest/reference/users
tags: token-spray,github
self-contained: true
requests:
- method: GET
path:
- "https://api.github.com/user"
headers:
Authorization: Basic {{base64('user:' + token)}}
matchers:
- type: word
part: body
words:
- '"login":'
- '"avatar_url":'
condition: and