Merge branch 'master' of github.com:AliasIO/Wappalyzer

main
Elbert Alias 10 years ago
commit 340ded8023

@ -26,4 +26,4 @@ RUN wappalyzer/bin/wappalyzer-links wappalyzer
WORKDIR wappalyzer/src/drivers/phantomjs
ENTRYPOINT ["/usr/local/phantomjs/bin/phantomjs", "--load-images=false", "--ignore-ssl-errors=yes", "driver.js"]
ENTRYPOINT ["/usr/local/phantomjs/bin/phantomjs", "--load-images=false", "--ignore-ssl-errors=yes", "--ssl-protocol=any", "driver.js"]

@ -2,6 +2,7 @@
var
url,
originalUrl,
resourceTimeout = 9000,
args = [],
debug = false;
@ -12,6 +13,9 @@
case '--verbose':
debug = true;
break;
case '--resource-timeout':
resourceTimeout = arg;
break;
default:
url = originalUrl = arg;
@ -90,7 +94,7 @@
page.settings.loadImages = false;
page.settings.userAgent = 'Mozilla/5.0 (compatible; Wappalyzer; +https://github.com/AliasIO/Wappalyzer)';
page.settings.resourceTimeout = 9000;
page.settings.resourceTimeout = resourceTimeout;
page.onConsoleMessage = function(message) {
wappalyzer.log(message);