30 lines
671 B
YAML
30 lines
671 B
YAML
id: phppgadmin-version
|
|
|
|
info:
|
|
name: phpPgAdmin version detect
|
|
author: dr0pd34d
|
|
severity: info
|
|
description: phpPgAdmin is a third-party tool for PostgreSQL databases. The version is being rendered in the intro.php file.
|
|
tags: tech,phppgadmin
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/phppgadmin/intro.php"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '<span class="appname">phpPgAdmin</span> <span class="version">.*</span>'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- 'phpPgAdmin.*\(.*\)' |