urbanadventurer / WhatWeb

Next generation web scanner
https://www.morningstarsecurity.com/research/whatweb
GNU General Public License v2.0
5.19k stars 885 forks source link

Add regex for generic jquery detection in primefaces web applications #374

Open mkauschi opened 2 years ago

mkauschi commented 2 years ago

Hi, I am currently testing a web application which is using the Java UI framework Primefaces. In Primefaces the import of JQuery does look a little bit different. Currently Whatweb is not able to detect the version.

I have created a new regular expression for the JQuery version detection in Primefaces. The import looks like the following:

src="/javax.faces.resource/jquery/jquery.js.xhtml?ln=primefaces&v=6.2.12"

The new regex is written in a way that is able to detect the JQuery version not only in Primefaces but also in other possible formats.

Let me know what you think about the new regex.

Best regards

Manuel