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