mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
Fix YAML formatting for CentOS EOL queries
This commit is contained in:
31
http/technologies/centos-eol.yaml
Normal file
31
http/technologies/centos-eol.yaml
Normal 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)\)'
|
||||
@@ -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)\)'
|
||||
Reference in New Issue
Block a user