Adding version print

thanks to @@meme-lord
patch-1
sandeep 2021-03-06 16:05:21 +05:30
parent 4622871ad9
commit 3e22272fbc
1 changed files with 14 additions and 1 deletions

View File

@ -2,7 +2,7 @@ id: phpinfo-files
info: info:
name: phpinfo Disclosure name: phpinfo Disclosure
author: pd-team & daffainfo author: pd-team & daffainfo & meme-lord
severity: low severity: low
requests: requests:
@ -25,9 +25,22 @@ requests:
- "{{BaseURL}}/infos.php" - "{{BaseURL}}/infos.php"
- "{{BaseURL}}/linusadmin-phpinfo.php" - "{{BaseURL}}/linusadmin-phpinfo.php"
- "{{BaseURL}}/php-info.php" - "{{BaseURL}}/php-info.php"
matchers-condition: and
matchers: matchers:
- type: word - type: word
words: words:
- "PHP Extension" - "PHP Extension"
- "PHP Version" - "PHP Version"
condition: and condition: and
- type: status
status:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
- '>PHP Version <\/td><td class="v">([0-9.]+)'