43 lines
972 B
YAML
43 lines
972 B
YAML
id: spip-detect
|
|
|
|
info:
|
|
name: SPIP - Detect
|
|
author: s4e-io
|
|
severity: info
|
|
description: |
|
|
Detects a SPIP and SPIP version.
|
|
reference:
|
|
- https://www.spip.net/
|
|
metadata:
|
|
max-request: 1
|
|
vendor: spip
|
|
product: spip
|
|
fofa-query: app="SPIP"
|
|
tags: spip,tech,detect
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: header
|
|
regex:
|
|
- 'Composed-By: SPIP'
|
|
- 'X-Spip-Cache:'
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: spip_version
|
|
group: 1
|
|
part: header
|
|
regex:
|
|
- 'Composed-By: SPIP ([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2}) @ www.spip.net'
|
|
# digest: 490a0046304402203bd6208554457ce526b68850866a21e28edf68cf968463dcbc6baa6dd5c4a77b022077cb4dddef8e926e6e18060a7b7d705283fa9e7451d43f09b59784fcfce4f5d6:922c64590222798bb761d5b6d8e72950 |