2022-08-15 07:02:14 +00:00
|
|
|
id: pyproject-toml
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Pyproject.toml Configuration Exposure
|
|
|
|
author: DhiyaneshDK
|
2022-08-17 00:54:03 +00:00
|
|
|
severity: info
|
2022-08-15 07:02:14 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
shodan-query: html:"pyproject.toml"
|
2022-08-17 00:54:03 +00:00
|
|
|
tags: exposure,pyproject,pip,devops,cicd
|
2022-08-15 07:02:14 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/pyproject.toml"
|
|
|
|
|
|
|
|
matchers-condition: or
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "[tool.black]"
|
|
|
|
- "exclude ="
|
2022-10-14 11:46:15 +00:00
|
|
|
condition: and
|
2022-08-15 07:02:14 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "[tool.poetry]"
|
|
|
|
- "name ="
|
2022-10-14 11:46:15 +00:00
|
|
|
condition: and
|