id: arcgis-token-service

info:
  name: ArcGIS Token Service - Detect
  author: HeeresS
  severity: info
  description: Check for the existence of the ArcGIS Token Service on an ArcGIS server.
  reference:
    - https://enterprise.arcgis.com/en/
  classification:
    cpe: cpe:2.3:a:esri:arcgis_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: esri
    product: arcgis_server
    shodan-query:
      - title:"ArcGIS"
      - http.title:"arcgis"
    fofa-query: title="arcgis"
    google-query: intitle:"arcgis"
  tags: tech,arcgis,tokens,detect,esri

http:
  - method: GET
    path:
      - '{{BaseURL}}/arcgis/tokens/'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'alt="ArcGIS Token Service'

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100a13f2445bca9d0431dfdbee59af28640a8604acd74bbae11546098e4f6e3404e022100fb394f569b6daeff0b70729a63620e387aa1807e5a1cd3f12aa7228c6922590e:922c64590222798bb761d5b6d8e72950