Create angular-detect.yaml

patch-1
Techbrunch 2022-07-28 17:04:49 +02:00 committed by GitHub
parent 02f7229c6a
commit bdc07e7c59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: angular-detect
info:
name: Angular detect
author: TechbrunchFR
severity: info
description: Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.
reference:
- https://github.com/angular/angular
tags: angular
headless:
- steps:
- args:
url: "{{BaseURL}}/"
action: navigate
- action: waitload
- action: sleep
args:
duration: 1
matchers:
- part: body
type: word
words:
- "ng-version="
extractors:
- type: regex
group: 1
regex:
- 'ng-version="([0-9.]+)"'