2020-04-04 18:19:48 +00:00
|
|
|
id: phpinfo-files
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: phpinfo Disclosure
|
2021-06-09 12:20:56 +00:00
|
|
|
author: pdteam,daffainfo,meme-lord
|
2020-04-04 18:19:48 +00:00
|
|
|
severity: low
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: config,exposure
|
2020-04-04 18:19:48 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
2020-05-25 08:02:27 +00:00
|
|
|
path:
|
2020-04-04 18:19:48 +00:00
|
|
|
- "{{BaseURL}}/php.php"
|
|
|
|
- "{{BaseURL}}/phpinfo.php"
|
|
|
|
- "{{BaseURL}}/info.php"
|
2020-04-10 09:56:24 +00:00
|
|
|
- "{{BaseURL}}/infophp.php"
|
|
|
|
- "{{BaseURL}}/php_info.php"
|
|
|
|
- "{{BaseURL}}/test.php"
|
|
|
|
- "{{BaseURL}}/i.php"
|
|
|
|
- "{{BaseURL}}/asdf.php"
|
2020-04-10 09:57:03 +00:00
|
|
|
- "{{BaseURL}}/pinfo.php"
|
2020-04-10 09:56:24 +00:00
|
|
|
- "{{BaseURL}}/phpversion.php"
|
2020-04-10 08:40:33 +00:00
|
|
|
- "{{BaseURL}}/time.php"
|
2021-02-20 10:21:07 +00:00
|
|
|
- "{{BaseURL}}/index.php"
|
2021-02-27 07:46:19 +00:00
|
|
|
- "{{BaseURL}}/temp.php"
|
|
|
|
- "{{BaseURL}}/old_phpinfo.php"
|
2021-03-03 22:58:37 +00:00
|
|
|
- "{{BaseURL}}/infos.php"
|
|
|
|
- "{{BaseURL}}/linusadmin-phpinfo.php"
|
|
|
|
- "{{BaseURL}}/php-info.php"
|
2021-03-06 10:35:21 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
2020-04-04 18:19:48 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
2020-05-25 08:02:27 +00:00
|
|
|
words:
|
2020-04-04 18:19:48 +00:00
|
|
|
- "PHP Extension"
|
|
|
|
- "PHP Version"
|
2020-04-10 08:40:33 +00:00
|
|
|
condition: and
|
2021-03-06 10:35:21 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '>PHP Version <\/td><td class="v">([0-9.]+)'
|