id: gnuboard-detect

info:
  name: Gnuboard CMS - Detect
  author: gy741
  severity: info
  description: Gnuboard CMS was detected.
  reference:
    - https://sir.kr/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: tech,gnuboard,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/LICENSE.txt"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'GNU Board'
          - 'http://sir.kr'
        condition: and

      - type: word
        part: header
        words:
          - 'text/plain'

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '\( GNU Board (.*) \)'
# digest: 4b0a00483046022100df32c5c562a8fcd761e12f57efc45c11cdd8232ddc883cba91015deebe0dd4cf022100da626912421e3d38a6e012b6d6370cbfc049e673a6b71fe51a4c2d9da4a211f3:922c64590222798bb761d5b6d8e72950