34 lines
780 B
YAML
34 lines
780 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
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
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: 4b0a00483046022100b4763602761da36c759bf47cde4c3002141bd96b9b99caf036cceea4410780da022100f9f3d41f5cad48e3ba3d6ce0a66567a72b77d842a81e6c5bd4a84066d77c0c72:922c64590222798bb761d5b6d8e72950
|