Merge pull request #5787 from projectdiscovery/cargo-toml-file

Create cargo-toml-file.yaml
patch-1
Prince Chaddha 2022-10-25 15:40:10 +05:30 committed by GitHub
commit 414b9192fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
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
shodan-query: html:"Cargo.toml"
tags: exposure,files,cargo
requests:
- method: GET
path:
- '{{BaseURL}}/Cargo.toml'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "[package]"
- "[dependencies]"
condition: and
- type: status
status:
- 200