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

34 lines
780 B
YAML
Raw Normal View History

2022-10-23 19:25:27 +00:00
id: cargo-toml-file
info:
name: Cargo TOML File Disclosure
author: DhiyaneshDk
2022-10-25 10:07:03 +00:00
severity: info
2022-10-23 19:25:27 +00:00
reference:
- https://doc.rust-lang.org/cargo/reference/manifest.html
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2022-10-23 19:25:27 +00:00
shodan-query: html:"Cargo.toml"
tags: exposure,files,cargo
http:
2022-10-23 19:25:27 +00:00
- method: GET
path:
- '{{BaseURL}}/Cargo.toml'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "[package]"
- "[dependencies]"
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100b4763602761da36c759bf47cde4c3002141bd96b9b99caf036cceea4410780da022100f9f3d41f5cad48e3ba3d6ce0a66567a72b77d842a81e6c5bd4a84066d77c0c72:922c64590222798bb761d5b6d8e72950