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
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100b4763602761da36c759bf47cde4c3002141bd96b9b99caf036cceea4410780da022100f9f3d41f5cad48e3ba3d6ce0a66567a72b77d842a81e6c5bd4a84066d77c0c72:922c64590222798bb761d5b6d8e72950
|