id: mochiweb-detect

info:
  name: MochiWeb - Detect
  author: Shivam Kamboj
  severity: info
  description: |
    Detected servers using the MochiWeb framework through the Server header.
  metadata:
    verified: true
    shodan-query: http.component:"mochiweb" country:"US"
  tags: tech,mochiweb

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

    matchers:
      - type: regex
        part: header
        regex:
          - 'MochiWeb'

    extractors:
      - type: regex
        part: header
        group: 1
        regex:
          - 'MochiWeb/([0-9.]+)'
# digest: 4a0a00473045022100c2bb79246d81ceee4f41c70adb8cf4d46586b552ee1f701521f7bed9c69d953802205483247d775f648b994832fd44ae564cd5901fb4d0b1e3d6d9c64ffb2a881efb:922c64590222798bb761d5b6d8e72950