nuclei-templates/token-spray/api-codestats.yaml

34 lines
781 B
YAML
Raw Normal View History

2022-07-22 11:32:46 +00:00
id: api-codestats
info:
name: CodeStats API Test
author: daffainfo
severity: info
reference:
- https://codestats.net/api-docs
- https://github.com/daffainfo/all-about-apikey/blob/main/Documents%20%26%20Productivity/CodeStats.md
tags: token-spray,codestats
self-contained: true
requests:
- raw:
- |
POST https://codestats.net/api/my/pulses HTTP/1.1
Host: codestats.net
X-API-Token: {{token}}
{
"coded_at": "2016-04-24T01:43:56+12:00",
"xps": [
{"language": "C++", "xp": 15},
{"language": "Elixir", "xp": 30},
{"language": "EEx", "xp": 3}
]
}
matchers:
- type: word
part: body
words:
- '"Great success!"'