id: tibco-spotfire-services-detect

info:
  name: TIBCO Spotfire Statistics Services - Detect
  author: righettod
  severity: info
  description: |
    TIBCO Spotfire Statistics Services was detected.
  reference:
    - https://docs.tibco.com/products/tibco-spotfire-statistics-services
  metadata:
    max-request: 4
    verified: true
    shodan-query: "TIBCO Spotfire Server"
  tags: tech,tibco,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/SplusServer/"
      - "{{BaseURL}}/RServer/"
      - "{{BaseURL}}/TERR/"
      - "{{BaseURL}}"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'contains_any(to_lower(body), "tibco spotfire statistics services", "spotfire statistics services")'
          - 'contains(header, "TIBCO Spotfire Server")'
        condition: or

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Version\s+([0-9.\s\(\)V]+)'
# digest: 4b0a004830460221009de22c42a94e18929ec349f3f5651fc4644edc3bccc9e1c271bcbb913f9eda93022100b0e97d13991b20ad450cdfe90d9dfc32e42428d66b02071b935be89ebfcc3f31:922c64590222798bb761d5b6d8e72950