Fix YAML formatting for CentOS EOL queries

This commit is contained in:
Dhiyaneshwaran
2025-10-24 12:14:20 +05:30
committed by GitHub
parent fd6d4b29ef
commit fb24737cd3
2 changed files with 31 additions and 28 deletions

View File

@@ -0,0 +1,31 @@
id: centos-eol
info:
name: CentOS EOL - Detect
author: staticnoise
severity: info
description: |
Detected CentOS systems that had reached End-of-Life (EOL) status by identifying outdated version information in HTTP response.
reference:
- https://endoflife.date/centos
- https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/
metadata:
max-request: 1
shodan-query: "Server: Apache/" "centos"
fofa-query: header="Server: Apache/" && "centos"
zoomeye-query: app:"Apache httpd" and banner:"CentOS"
tags: centos,eol,tech
http:
- method: GET
path:
- "{{BaseURL}}"
host-redirects: true
max-redirects: 2
matchers:
- type: regex
part: header
regex:
- 'Apache/(\d+\.\d+\.\d+) \((centos|CentOS)\)'

View File

@@ -1,28 +0,0 @@
id: apache-eol-centos
info:
name: Apache EOL CentOS Detection
author: staticnoise
severity: info
description: CentOS has reached EOL, does not receive security updates and is vulnerable to many vulnerabilities.
metadata:
max-request: 1
shodan-query: '"Server: Apache/" "centos"'
fofa-query: 'header="Server: Apache/" && "centos"'
zoomeye-query: 'app:"Apache httpd" and banner:"CentOS"'
tags: tech,apache,centos,eol
reference:
- https://endoflife.date/centos
- https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: regex
part: header
regex:
- 'Apache/(\d+\.\d+\.\d+) \((centos|CentOS)\)'