Merge pull request #5560 from daffainfo/patch-12

feat: add regex version buildbot-panel template
patch-1
Prince Chaddha 2022-10-06 01:23:40 +05:30 committed by GitHub
commit 5c59f18d1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -2,11 +2,12 @@ id: buildbot-panel
info: info:
name: Buildbot Panel Detect name: Buildbot Panel Detect
author: thardt-praetorian author: thardt-praetorian,daffainfo
severity: info severity: info
reference: reference:
- https://buildbot.net - https://buildbot.net
metadata: metadata:
verified: true
shodan-query: http.title:"BuildBot" shodan-query: http.title:"BuildBot"
tags: panel,buildbot,cicd tags: panel,buildbot,cicd
@ -23,7 +24,15 @@ requests:
part: body part: body
regex: regex:
- '<title(.*)>Buildbot</title>' - '<title(.*)>Buildbot</title>'
- 'buildbot_config'
condition: or
- type: status - type: status
status: status:
- 200 - 200
extractors:
- type: regex
part: body
regex:
- '\[\"Buildbot\", \"([0-9.]+)\"\]'