From e840b2d7fa07110c5cb4106b2640cc8e1102db6d Mon Sep 17 00:00:00 2001 From: mohamed ayadi Date: Fri, 10 Mar 2023 11:37:50 +0100 Subject: [PATCH] Update js-analyse.yaml --- file/js/js-analyse.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/file/js/js-analyse.yaml b/file/js/js-analyse.yaml index ed608b0d1f..a17ddf3f8b 100644 --- a/file/js/js-analyse.yaml +++ b/file/js/js-analyse.yaml @@ -21,14 +21,14 @@ file: - type: regex name: Extracted-Endpoints regex: - #case : './path/file' or "/path/file" + # case : './path/file' or "/path/file" - "(?i)('|\")((\\.{0,2})|([a-z0-9-_]*))/([a-z0-9-_/=:&?\\.]+)('|\")" - #case "`${ this.hostServer }/rest/basket/${ e }" + # case "`${ this.hostServer }/rest/basket/${ e }" - "(?i)}\\s*/[a-z0-9-_?=&/]+" - #case "path: 'login'," + # case "path: 'login'," - "(?i)path\\s*(:|=)\\s*('|\")[a-z0-9-_?=&:\\./]+('|\")" - type: regex name: Extracted-URI regex: - #case we have a URI that match any of the following schemas (http|https|file|data|resource|ftp|mailto|ssh|tel|urn|ws|wss ... etc ) + # case we have a URI that match any of the following schemas (http|https|file|data|resource|ftp|mailto|ssh|tel|urn|ws|wss ... etc ) - "(?i)([a-z]{0,10}):(//|/)[a-z0-9\\./?&-_=:]+"