Create wamp-xdebug-detect.yaml

patch-1
eschultze 2020-08-03 00:44:37 -03:00 committed by GitHub
parent 4e6eeeba6a
commit d12f639bc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
id: wamp-xdebug-detect
info:
name: WAMP xdebug
author: e_schultze_
severity: info
#inspired on https://github.com/random-robbie/My-Shodan-Scripts/blob/1b01bceecc9be0b74b202f445874920eee48bba5/wamp-xdebug/wamp-xdebug.py
#goal: detect if xdebug.remote_connect_back is enabled
requests:
- method: GET
path:
- "{{BaseURL}}/?phpinfo=-1"
matchers:
- type: word
words:
- 'xdebug.remote_connect_back</td><td class="v">On</td><td class="v">On</td>'
part: body