From 7a1d4d01283590a8850a132fcb0c7ba9d10bf591 Mon Sep 17 00:00:00 2001 From: Darkiros Date: Thu, 3 Nov 2022 16:03:28 +0100 Subject: [PATCH 1/2] Add GLPI detection --- .../webextension/images/icons/GLPI.png | Bin 0 -> 1282 bytes src/technologies/g.json | 33 ++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 src/drivers/webextension/images/icons/GLPI.png diff --git a/src/drivers/webextension/images/icons/GLPI.png b/src/drivers/webextension/images/icons/GLPI.png new file mode 100644 index 0000000000000000000000000000000000000000..9e8010b2e3db38e546066b9375beb1737c11672a GIT binary patch literal 1282 zcmV+d1^xPoP)kdg00004XF*Lt006O% z3;baP0000WV@Og>004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00002 zVoOIv0RM-N%)bBt010qNS#tmY3ljhU3ljkVnw%H_000McNliru<_iM}Dkj?-zM234 z1NBKnK~zY`rIlN36lE00|L2>_?(D7ivMpFzS^{lpF(8C$E z%*=Pb^E=n?8{mHmt!C3(sG{SFrO&FQ`NV?lx3y%2J+KmB4>S=k=LT-ZMyy8|mC|6H zG){|@>^F{`1OTX|OuIp1sXi4+bUWL)fyruH6Ev#}T zOi5SOaf;HPa!SO_git(DZ>buzBM7zDI^aCbYh6>2Nhj$O^>lEuX>nE_E36&g5Wz;& z!|X`E>g-{1$t;HTe&3)>gmAn#P|m*O0J~r!(UCsN+u6mFtsGTeO3xVhZkZ0{00dw4 z(klh#P~NBKt@tSAy_FJ?dF;a_SdTe9oGXeL(_hx&qgdWN2QaarRzA+cZ4?Of-rpD3 zU}bSrNP)M?*8DPESBKW&WA|$}=Bdr^S*tWD4G4mH+CCMXxR(#*0Ty^O8wG%A&m>TT z7<$#3HO6-JPH{Umqk?n*fRxepXRZx);#?N6h)|tVFcix5K!OoLuTj6t)1z$W3JQYB zO%XzA)elBTT9P?{1Ja6fBLEiCX&R#kgGGQ^oUf+t%$V69#J^5qIu9^V{fGEIJ9Gqwe4?&-s=)jK^uhPA z*ak41ACrfJ$s?I^XVjAjI3gzRVSla@wOkhbp&>Ov0I(NrIN#;z7ZnV7YH5Gy;!lVb z0wmf|dpQn{uu5(W+>x&1Gj;I|cots7w)l=HtqkX@#DU7O*C>{4c-G-K{7k=*;2o?1 z1Of}*DkFMY{l_-#9mYG#ZJe~;HJ|fOzEN<%iY}Bcu*Z4Cc~Q2o8wDUNI;)*te|K<` z@~?9^KA=eyX0SeDFfuYS*?-tPvpv0~G4IrNyPrfZb)em9a{O_~BaFwj0pyOczgrt-* zK?_;WB>+3oiUohDPuou_AJk8HW9!72X6P}+Btn48?L<0km6s|aa32Clc`NP^55ebr zZhqT5cLrZzIVk`{(1v-hv4y%6okq-G%aUK>FRUbP3JfCBFV_bfiJgxwP5I@C6-|o( zL_SZl%xfloHkM)-T%~bQDnf)Pu*$!6q5KC;#DlW~C9ePg001R)MObuXVRU6WV{&C- zbY%cCFfuYNF)=MLGgL4+Iy5pmGdL?SFgh?WH&{ST0000bbVXQnWMOn=I&E)cX=Zr< sGB7eSEio}IFf&vzIXW~lIx{#cFfckWFh&LV@c;k-07*qoM6N<$g0lZB4*&oF literal 0 HcmV?d00001 diff --git a/src/technologies/g.json b/src/technologies/g.json index 095a4de05..a1a51f31a 100644 --- a/src/technologies/g.json +++ b/src/technologies/g.json @@ -25,6 +25,39 @@ "saas": true, "website": "https://www.geovendas.com" }, + "GLPI": { + "cats": [ + 18, + 53 + ], + "cpe": "cpe:2.3:a:glpi-project:glpi:*:*:*:*:*:*:*:* ", + "description": "GLPI is an open-source IT Asset Management, issue tracking and service desk system.", + "dom": { + "input[name='_glpi_csrf_token']": { + "attributes": { + "name": "" + } + }, + "div[id*='footer-login'] > a": { + "text": "GLPI\\s+version\\s+([\\d\\.]+)\\;version:\\1" + } + }, + "scriptSrc": "//.*glpi.+common\\.min\\.js\\?v=(\\d+\\.\\d+\\.\\d+)\\;version:\\1", + "js": { + "glpiUnsavedFormChanges": "" + }, + "meta": { + "glpi:csrf_token": "" + }, + "oss": true, + "icon": "GLPI.png", + "implies": "PHP", + "pricing": [ + "mid", + "recurring" + ], + "website": "https://glpi-project.org" + }, "GLS": { "cats": [ 99 From d749e978af0a06ec7bf6dc9bb393a940d597e22a Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Tue, 15 Nov 2022 10:36:31 +1100 Subject: [PATCH 2/2] Update g.json --- src/technologies/g.json | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/src/technologies/g.json b/src/technologies/g.json index a1a51f31a..fba39104b 100644 --- a/src/technologies/g.json +++ b/src/technologies/g.json @@ -27,35 +27,33 @@ }, "GLPI": { "cats": [ - 18, - 53 + 18, + 53 ], "cpe": "cpe:2.3:a:glpi-project:glpi:*:*:*:*:*:*:*:* ", "description": "GLPI is an open-source IT Asset Management, issue tracking and service desk system.", "dom": { "input[name='_glpi_csrf_token']": { - "attributes": { - "name": "" - } + "exists": "" }, - "div[id*='footer-login'] > a": { - "text": "GLPI\\s+version\\s+([\\d\\.]+)\\;version:\\1" - } + "div[id*='footer-login'] > a": { + "text": "GLPI\\s+version\\s+([\\d\\.]+)\\;version:\\1" + } }, "scriptSrc": "//.*glpi.+common\\.min\\.js\\?v=(\\d+\\.\\d+\\.\\d+)\\;version:\\1", "js": { - "glpiUnsavedFormChanges": "" + "glpiUnsavedFormChanges": "" }, "meta": { - "glpi:csrf_token": "" + "glpi:csrf_token": "" }, "oss": true, "icon": "GLPI.png", "implies": "PHP", "pricing": [ - "mid", - "recurring" - ], + "mid", + "recurring" + ], "website": "https://glpi-project.org" }, "GLS": { @@ -2340,4 +2338,4 @@ "implies": "Python", "website": "http://gunicorn.org" } -} \ No newline at end of file +}