Merge pull request #10268 from righettod/gradle-develocity-add

Add detection of Gradle Develocity Build Cache Node login panel instances.
patch-5
pussycat0x 2024-07-12 20:36:36 +05:30 committed by GitHub
commit dfe6fc7ad6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: gradle-develocity-panel
info:
name: Gradle Develocity Build Cache Node Login Panel - Detect
author: righettod
severity: info
description: Gradle Develocity Build Cache Node login panel was detected.
reference:
- https://gradle.com/gradle-enterprise-solutions/
metadata:
max-request: 1
verified: true
shodan-query: http.html:"Develocity Build Cache Node"
tags: panel,gradle,detect,login
http:
- method: GET
path:
- '{{BaseURL}}'
matchers:
- type: dsl
dsl:
- 'status_code == 200 || status_code == 401'
- 'contains_any(to_lower(body), "develocity build cache node", "develocity", "com.gradle.error.fallback")'
condition: and
extractors:
- type: regex
part: body
group: 1
regex:
- '(?i)"applicationVersion":"([0-9.]+)"'