id: autobahn-python-detect

info:
  name: Autobahn-Python Webserver Detect
  author: pussycat0x
  severity: info
  classification:
    cpe: cpe:2.3:a:crossbar:autobahn:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: crossbar
    product: autobahn
    shodan-query: "AutobahnPython"
  tags: tech,webserver

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - '<h1>AutobahnPython([ 0-9.]+)<\/h1>'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        regex:
          - 'AutobahnPython([ 0-9.]+)'
# digest: 4a0a00473045022056ac1c1c7644dec915764eb7591d314e4c54a49f3286601a13980dcbaa9d658e022100c71c8d3568b3fd1fcbecba2f550e83d88cf7c54d96dd2e5395b049e111157e98:922c64590222798bb761d5b6d8e72950