id: web-suite-detect

info:
  name: Web Suite Detect
  author: pikpikcu
  severity: info
  metadata:
    max-request: 3
    fofa-query: Web Suite 2021 Login
  tags: tech,web-suite

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/ws2020/"
      - "{{BaseURL}}/ws2021/"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'www.bqe.com">BQE Software Inc.</a>'
          - 'Web Suite'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "Version: (.*)</span>"
# digest: 4a0a00473045022100a618b3a7b2737b6222085be886055ec899fa1fe822568db9590ce5b31aa3d17e02200783723d1c2a05080627cc9b978e7ab248f06f9d8f70b58165557a2c648aec08:922c64590222798bb761d5b6d8e72950