id: microsoft-sharepoint-detect

info:
  name: Microsoft SharePoint Detect
  author: p-l-
  severity: info
  description: Check for SharePoint, using HTTP header MicrosoftSharePointTeamServices
  metadata:
    max-request: 1
  tags: sharepoint,iis,microsoft,tech

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

    matchers:
      - type: regex
        part: header
        regex:
          - "(?i)(Microsoftsharepointteamservices:)"

    extractors:
      - type: kval
        kval:
          - MicrosoftSharePointTeamServices
# digest: 4a0a004730450220285ceb26e86c91f25df61d90e7611ff1f981d59a721920b289867fea7f26a1f40221008913115af852305922b88fa517d55386a6ba06c19cf06520de8dddf5464fa1f9:922c64590222798bb761d5b6d8e72950