2024-08-23 19:49:46 +00:00
|
|
|
id: spip-detect
|
2024-08-25 00:50:16 +00:00
|
|
|
|
2024-08-23 19:49:46 +00:00
|
|
|
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:
|
2024-08-25 00:50:16 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
2024-08-23 19:49:46 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
part: header
|
|
|
|
regex:
|
2024-08-25 00:50:16 +00:00
|
|
|
- 'Composed-By: SPIP'
|
2024-08-23 19:49:46 +00:00
|
|
|
- 'X-Spip-Cache:'
|
2024-08-25 00:50:16 +00:00
|
|
|
condition: or
|
2024-08-23 19:49:46 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
2024-08-25 00:50:16 +00:00
|
|
|
name: spip_version
|
|
|
|
group: 1
|
2024-08-23 19:49:46 +00:00
|
|
|
part: header
|
|
|
|
regex:
|
|
|
|
- 'Composed-By: SPIP ([0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2}) @ www.spip.net'
|