updated format & matchers

patch-11
Ritik Chaddha 2024-07-01 12:43:24 +05:30 committed by GitHub
parent 2c2f82a444
commit 93f5fa1f0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 21 deletions

View File

@ -1,39 +1,39 @@
id: apache-streampipes-detect id: apache-streampipes-detect
info: info:
name: Apache StreamPipes detect name: Apache StreamPipes - Detect
author: Alessandro Albani - DEVisions author: Alessandro Albani - DEVisions
severity: info severity: info
description: Checks for the presence of Apache StreamPipes by looking in the body or matching the favicon hash. description: |
Checks for the presence of Apache StreamPipes by looking in the body or matching the favicon hash.
metadata: metadata:
shodan-query: max-request: 3
- http.title:"apache streampipes" verified: true
- http.favicon.hash:1937041138 shodan-query: title:"apache streampipes"
- http.favicon.hash:480680877 fofa-query: title="apache streampipes"
tags: apache,streampipes,info,service,web-application,detection tags: tech,apache,streampipes,detect
http: http:
- method: GET - method: GET
path: path:
- '{{BaseURL}}'
- '{{BaseURL}}/streampipes-backend/api/openapi.json' - '{{BaseURL}}/streampipes-backend/api/openapi.json'
- '{{BaseURL}}/assets/img/favicon/favicon.ico'
- '{{BaseURL}}'
host-redirects: true host-redirects: true
max-redirects: 2 max-redirects: 2
stop-at-first-match: true stop-at-first-match: true
matchers: matchers:
- type: dsl - type: dsl
dsl: dsl:
- contains(to_lower(body), "apache streampipes") - contains_any(to_lower(body), "<title>apache streampipes", "apache streampipes api")
- method: GET - status_code==200 && ("1937041138" == mmh3(base64_py(body)) || "480680877" == mmh3(base64_py(body)))
path: condition: or
- '{{BaseURL}}/assets/img/favicon/favicon.ico'
extractors: extractors:
- type: dsl - type: json
name: favicon-hash part: body
dsl: group: 1
- mmh3(base64_py(body)) json:
matchers: - '.info.version'
- type: dsl
name: favicon-hash
dsl:
- status_code==200 && ("1937041138" == mmh3(base64_py(body)) || "480680877" == mmh3(base64_py(body)))