Create cargo-lock-package.yaml

patch-1
Dhiyaneshwaran 2022-10-24 00:49:16 +05:30 committed by GitHub
parent 8e89f23c2f
commit 8e641ec69d
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-lock-package
info:
name: Cargo Lock Packages Disclosure
author: DhiyaneshDk
severity: low
reference:
- https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt
metadata:
verified: true
shodan-query: html:"Cargo.lock"
tags: exposure,files,cargo
requests:
- method: GET
path:
- '{{BaseURL}}/Cargo.lock'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "[[package]]"
- "dependencies = ["
condition: and
- type: status
status:
- 200