Update and rename glpi-detect.yaml to glpi-project-detect.yaml

patch-1
Ritik Chaddha 2022-07-29 14:58:46 +05:30 committed by GitHub
parent 04f4722ab0
commit 5cd3e3ee1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 37 deletions

View File

@ -1,37 +0,0 @@
id: glpi-project_glpi-detect
info:
name: GLPI Detect
author: Ricardo Maia (Brainfork)
severity: info
reference:
- https://glpi-project.org/
tags: glpi,service-desk,help-desk,itil
metadata:
cpe:
- cpe:2.3:a:glpi-project:glpi
requests:
- method: GET
path:
- "{{BaseURL}}/CHANGELOG.md"
- "{{BaseURL}}"
matchers-condition: or
matchers:
- type: word
condition: or
words:
- "GLPI changes"
- "glpi-project.org"
- type: regex
regex:
- '(GLPI.*[C|c]opyright.*(|Teclib))'
extractors:
- type: regex
name: version
part: body
group: 1
regex:
- '# GLPI changes\n\n.*\n.*\n.*\n##\s\[(\d+\.\d+|\d+\.\d+\.\d+)\]'

View File

@ -0,0 +1,39 @@
id: glpi-project-detect
info:
name: GLPI Detect
author: ricardomaia
severity: info
reference:
- https://glpi-project.org/
metadata:
verified: true
shodan-query: title:"glpi"
tags: glpi,tech
requests:
- method: GET
path:
- "{{BaseURL}}/CHANGELOG.md"
- "{{BaseURL}}"
stop-at-first-match: true
matchers-condition: or
matchers:
- type: word
words:
- "GLPI changes"
- "glpi-project.org"
condition: and
- type: regex
regex:
- '(GLPI.*[C|c]opyright.*(|Teclib))'
extractors:
- type: regex
name: version
part: body
group: 1
regex:
- '# GLPI changes\n\n.*\n.*\n.*\n##\s\[(\d+\.\d+|\d+\.\d+\.\d+)\]'