diff --git a/src/apps.json b/src/apps.json index 1b732e9fc..dc3b82e1f 100644 --- a/src/apps.json +++ b/src/apps.json @@ -4055,7 +4055,6 @@ ], "icon": "GeneXus.png", "js": { - "gx": "", "gx.gxVersion": "^(.+)-.*$\\;version:\\1" }, "script": [ @@ -4599,9 +4598,6 @@ "cats": [ 10 ], - "js": { - "gio": "" - }, "cookies": { "grwng_uid": "", "gr_user_id": "" @@ -6013,13 +6009,6 @@ "script": "https?://connectormwi\\.laterpay\\.net/([0-9.]+)[a-zA-z-]*/live/[\\w-]+\\.js\\;version:\\1", "website": "https://www.laterpay.net/" }, - "Lazy.js": { - "cats": [ - 59 - ], - "script": "lazy(?:\\.browser)?(?:\\.min)?\\.js", - "website": "http://danieltao.com/lazy.js" - }, "Leaflet": { "cats": [ 35 diff --git a/src/drivers/npm/Dockerfile b/src/drivers/npm/Dockerfile index e3c511e18..9df4ce59d 100644 --- a/src/drivers/npm/Dockerfile +++ b/src/drivers/npm/Dockerfile @@ -1,12 +1,17 @@ -FROM alpine +FROM node:12-alpine MAINTAINER Elbert Alias ENV WAPPALYZER_ROOT /opt/wappalyzer +ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true +ENV CHROME_BIN /usr/bin/chromium-browser RUN apk update && apk add --no-cache \ nodejs \ - nodejs-npm + nodejs-npm \ + udev \ + chromium \ + ttf-freefont RUN mkdir -p "$WAPPALYZER_ROOT/browsers" @@ -15,12 +20,15 @@ WORKDIR "$WAPPALYZER_ROOT" ADD apps.json . ADD browser.js . ADD browsers/zombie.js ./browsers +ADD browsers/puppeteer.js ./browsers ADD cli.js . ADD driver.js . ADD index.js . ADD package.json . ADD wappalyzer.js . -RUN npm i +RUN npm i && npm i puppeteer + +RUN /usr/bin/chromium-browser --version ENTRYPOINT ["node", "cli.js"] diff --git a/src/drivers/npm/browsers/puppeteer.js b/src/drivers/npm/browsers/puppeteer.js index c1b270aee..063ea9074 100644 --- a/src/drivers/npm/browsers/puppeteer.js +++ b/src/drivers/npm/browsers/puppeteer.js @@ -58,6 +58,7 @@ class PuppeteerBrowser extends Browser { } visit(url) { + console.log({ url }); return new Promise(async (resolve, reject) => { let done = false; let browser;