41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
id: arcgis-detect
|
|
|
|
info:
|
|
name: ArcGIS - Detect
|
|
author: righettod
|
|
severity: info
|
|
description: |
|
|
ArcGIS products was detected.
|
|
reference:
|
|
- https://enterprise.arcgis.com/en/
|
|
metadata:
|
|
verified: true
|
|
max-request: 5
|
|
shodan-query: http.title:"ArcGIS"
|
|
tags: tech,arcgis,detect
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/portal/sharing/rest"
|
|
- "{{BaseURL}}/portal/portalhelp/en/rest/"
|
|
- "{{BaseURL}}/arcgis/rest/services"
|
|
- "{{BaseURL}}/server/rest/services"
|
|
- "{{BaseURL}}/arcgis/"
|
|
|
|
stop-at-first-match: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains_any(to_lower(body), "<title>arcgis portal directory", "search arcgis enterprise help", "<title>arcgis</title>", "arcgis rest services directory", "<title>arcgis hub</title>")'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- '(?i)©\s+([0-9]+)\s+Esri\.'
|
|
- '<b>Current\s+Version:\s+<\/b>([0-9.]+)'
|
|
# digest: 4b0a00483046022100cfc6b37f92c5bc0f1e2f5d161b213cf2deaeff3ec48760367a83dd184b941c4002210090ab8d8a7608f7094b6081abbae5bbb122e798b1d46932226bd7aa86a991e1b1:922c64590222798bb761d5b6d8e72950 |