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 94e2a885c..000000000 Binary files a/src/icons/Ink.png and /dev/null differ diff --git a/src/icons/Kamva.svg b/src/icons/Kamva.svg index 921744a2e..8bbf89c96 100644 --- a/src/icons/Kamva.svg +++ b/src/icons/Kamva.svg @@ -1,212 +1,212 @@ - - - -image/svg+xml + + + +image/svg+xml