nuclei-templates/http/exposures/files/go-mod-disclosure.yaml

31 lines
720 B
YAML
Raw Normal View History

2022-10-20 19:16:27 +00:00
id: go-mod-disclosure
info:
name: Go.mod Disclosure
author: DhiyaneshDk
severity: low
2024-01-02 16:16:15 +00:00
description: go.mod internal file is exposed.
2022-10-20 19:16:27 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2022-10-20 19:16:27 +00:00
shodan-query: html:"go.mod"
tags: exposure,files,go
http:
2022-10-20 19:16:27 +00:00
- method: GET
path:
- "{{BaseURL}}/go.mod"
matchers-condition: and
matchers:
- type: word
words:
- 'module'
- 'go'
- 'require ('
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022100ce65da202aa15b908bb7eea37f489e908dd5d6d1ab1b80ebcf465254da1afbc302205bca379efacba2a0b37e7e20f6745cf49977a8f23e0b51081b231defa8346862:922c64590222798bb761d5b6d8e72950