Added template for uni-gui-framework-detection

patch-2
Paolo Serra 1970-01-01 00:00:00 +00:00
parent 3fe45cfd32
commit f8ec45356e
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
id: uni-gui-framework-detection
info:
name: Detect UniGUI Framework and Version
author: serrapa
severity: info
description: Checks for the presence of UniGUI framework and extracts its version along with the Sencha Ext JS version.
requests:
- method: GET
path:
- "{{BaseURL}}/"
matchers-condition: and
matchers:
- type: word
words:
- "uni-xtheme-"
- "ext-all.js"
- "uniVars._extVer="
condition: or
part: body
- type: regex
regex:
- 'uni-(\d+\.\d+\.\d+\.\d+)/'
- 'uniVars._extVer="(\d+\.\d+\.\d+)"'
part: body
extractors:
- type: regex
regex:
- 'uni-(\d+\.\d+\.\d+\.\d+)/'
part: body
name: uni_gui_version
- type: regex
regex:
- 'uniVars._extVer="(\d+\.\d+\.\d+)"'
part: body
name: ext_js_version