nuclei-templates/exposures/configs/golangci-config.yaml

36 lines
803 B
YAML
Raw Normal View History

2022-12-10 13:46:16 +00:00
id: golangci-config
info:
name: GolangCI-Lint Configuration File Exposure
author: Hardik-Solanki
severity: low
reference:
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
- https://golangci-lint.run/usage/configuration/
2022-12-12 17:49:20 +00:00
metadata:
verified: true
github-query: filename:golangci.yml
2022-12-10 13:46:16 +00:00
tags: exposure,golang,devops,cicd
requests:
- method: GET
path:
- "{{BaseURL}}/.golangci.yml"
- "{{BaseURL}}/.golangci.yaml"
- "{{BaseURL}}/.golangci.toml"
2022-12-10 16:42:01 +00:00
- "{{BaseURL}}/.golangci.json"
2022-12-10 13:46:16 +00:00
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'linters:'
- 'linters-settings:'
condition: and
- type: status
status:
- 200