From d50dc5d4b2047b53e97c2823c0ddd89048bfefaa Mon Sep 17 00:00:00 2001 From: Elbert Alias Date: Sun, 18 Dec 2016 10:36:07 +1100 Subject: [PATCH] Install Rsync in Docker image, remove Ink to avoid too many false positives --- docker/Dockerfile | 3 +- src/apps.json | 88 ++++----- src/drivers/firefox/lib | 12 +- src/icons/Ink.png | Bin 1834 -> 0 bytes src/icons/Kamva.svg | 424 ++++++++++++++++++++-------------------- 5 files changed, 267 insertions(+), 260 deletions(-) delete mode 100644 src/icons/Ink.png diff --git a/docker/Dockerfile b/docker/Dockerfile index 2cacdfee6..ec435c0bd 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,9 +8,10 @@ ENV WAPPALYZER_ROOT /home/wappalyzer/synced ENV WAPPALYZER_NODE_PATH /home/wappalyzer/node # Install packages +RUN sed -i 's/archive\.ubuntu\.com/au.archive.ubuntu.com/g' /etc/apt/sources.list RUN apt-get update && apt-get install -y sudo curl RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - -RUN apt-get install -y nodejs bzip2 zip libfreetype6 libfontconfig +RUN apt-get install -y nodejs bzip2 zip libfreetype6 libfontconfig rsync RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* diff --git a/src/apps.json b/src/apps.json index 8e4523597..4169e58f1 100755 --- a/src/apps.json +++ b/src/apps.json @@ -69,8 +69,13 @@ "cats": [ 10 ], + "html": [ + "" - ] - + ], + "icon": "mailchimp.svg", + "script": [ + "s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js", + "cdn-images.mailchimp.com/[^>]*.css" + ], + "website": "mailchimp.com" }, "Mambo": { "cats": [ @@ -8754,6 +8740,18 @@ }, "website": "hybris.com/icongo" }, + "iPresta": { + "cats": [ + 6 + ], + "excludes": "PrestaShop", + "icon": "iPresta.png", + "implies": "PHP", + "meta": { + "designer": "iPresta" + }, + "website": "ipresta.ir" + }, "iWeb": { "cats": [ 20 diff --git a/src/drivers/firefox/lib b/src/drivers/firefox/lib index b6bc25523..565db1af4 100644 --- a/src/drivers/firefox/lib +++ b/src/drivers/firefox/lib @@ -351,8 +351,16 @@ var wappalyzer = (function() { for ( header in w.apps[app].headers ) { parse(w.apps[app][type][header]).forEach(function(pattern) { - if ( typeof data[type][header.toLowerCase()] === 'string' && pattern.regex.test(data[type][header.toLowerCase()]) ) { - apps[app].setDetected(pattern, type, data[type][header.toLowerCase()], header); + if ( data[type][header.toLowerCase()] instanceof Array ) { + data[type][header.toLowerCase()].forEach(function(el) { + if ( typeof el === 'string' && pattern.regex.test(el) ) { + apps[app].setDetected(pattern, type, data[type][header.toLowerCase()], header); + } + }); + } else { + if ( typeof data[type][header.toLowerCase()] === 'string' && pattern.regex.test(data[type][header.toLowerCase()]) ) { + apps[app].setDetected(pattern, type, data[type][header.toLowerCase()], header); + } } profiler.checkPoint(app, type, pattern.regex); diff --git a/src/icons/Ink.png b/src/icons/Ink.png deleted file mode 100644 index 94e2a885ca4c9ebe52d44cd521e392da3b8e6461..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1834 zcmV+_2i5qAP)SEkBAS4~7zZ|yXab5tY_Nd_x@jn?>+@dK``ynudpUUTRh4uLo_lh0?#;Si4$eV6)I*cWfRa$Xi8J+4TokQEYC#25KnWB;0hHimFb2w5uYej7pdKIJ z1Ox;CL{tPa{i2WpaMo|wJ{o`o073wWh!=G#sS`Lv&lpIhDNINK<>LSZ5Qv+xlt8?w zr+BCrO~fTmTbhgoIW3Dc&njURSO>;HQ&M2lUELT!y|^4nQ(OZsqj;(Z6yntTsPk#M zmgcWU
Cp)-tajcuBk)zQkpqPC!jpxp>SoVZM~wl;3k#sP6n(UhVDRnZ?wl3vLg z7l~X%9J*P$F=x79jghtcq1_Gh67o9q%UBBcf-(aT5pmjV#}B0U#Iu88xRy3o={}&_ z^zP;Lc>lu(zx$n5SvOQ1MGPXOcjjEoxv`LSk7BeoZoE9aXUuhB+$CxkKp|ezR=C=8 z&Gzc6Z(i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