nuclei-templates/http/exposures/files/cargo-toml-file.yaml

36 lines
889 B
YAML

id: cargo-toml-file
info:
name: Cargo TOML File Disclosure
author: DhiyaneshDk
severity: info
reference:
- https://doc.rust-lang.org/cargo/reference/manifest.html
classification:
cpe: cpe:2.3:a:rust-lang:cargo:*:*:*:*:rust:*:*:*
metadata:
verified: true
max-request: 1
vendor: rust-lang
product: cargo
shodan-query: html:"Cargo.toml"
tags: exposure,files,cargo
http:
- method: GET
path:
- '{{BaseURL}}/Cargo.toml'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "[package]"
- "[dependencies]"
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022100ef37b5fb7ca7cdb8b04d03bdc67c4311c0796c57489f870c546ac8a819a186af022074d472f96aaae1f548eb02960222fa945bbbee94eb6481e4594f7d8e361b8d92:922c64590222798bb761d5b6d8e72950