32 lines
583 B
YAML
32 lines
583 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:
|
|
max-request: 1
|
|
verified: true
|
|
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
|