id: apache-activemq-artemis-detect

info:
  name: Apache ActiveMQ Artemis - Detection
  author: icarot
  severity: info
  description: |
    Detects a Apache ActiveMQ Artemis Console, the next generation message broker by ActiveMQ.
  reference:
    - https://github.com/apache/activemq-artemis/
  metadata:
    max-request: 1
    vendor: apache
    product: activemq
    shodan-query: title:"ActiveMQ Artemis Console"
  tags: tech,activemq,artemis,apache,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/console/hawtconfig.json"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'img/activemq.png'
          - 'ActiveMQ Artemis'
        condition: and

    extractors:
      - type: regex
        part: body
        name: version
        group: 1
        regex:
          - '"productInfo":.*"value":\s*"(.*)"'
# digest: 4a0a00473045022024e7aaa23e17d78ed3d059a3020e65957e8f22d80a6db79a23c1be31f045b77b02210089793eb75050575889c3cf653300a5c4b9de4507b6c96a37be4f25a8f630996d:922c64590222798bb761d5b6d8e72950