Merge branch 'master' into vaidas-lungis-patch-1

main
Elbert Alias 7 years ago committed by GitHub
commit e9e5159339

@ -7,8 +7,8 @@ after_success:
- sha256sum build/* > build/SHA256SUMS
- cat build/SHA256SUMS
script:
- ./run build
script: |-
version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version
deploy:
provider: releases

@ -13,10 +13,9 @@ RUN apk update && apk add --no-cache \
optipng \
zip
RUN mkdir -p /usr/share && \
cd /usr/share \
&& curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | tar xj \
&& ln -s /usr/share/phantomjs/phantomjs /usr/bin/phantomjs
# Fixes PhantomJS
# https://github.com/dustinblackman/phantomized
RUN curl -Ls "https://github.com/dustinblackman/phantomized/releases/download/2.1.1a/dockerized-phantomjs.tar.gz" | tar xz -C /
RUN apk del \
curl

@ -2,17 +2,31 @@
cd "$(dirname $0)/.."
version="$2"
if [[ -z "$version" ]]; then
current=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/')
echo "No version specified. Current version is $current."
exit 1;
fi
set -eu
./bin/validate
echo "Deleting junk files..."
find . -name ".DS_Store" -exec rm {} \;
echo "Prettifying apps.json..."
jsonlint-cli -ist $'\t' src/apps.json
echo "Converting SVG icons to PNG..."
#svg2png-many -i src/icons/ -o src/icons/converted/ --width=32 --height=32
svg2png-many -i src/icons/ -o src/icons/converted/ --width=32 --height=32
echo "Compressing PNG icons..."
@ -23,6 +37,9 @@ optipng -quiet "src/icons/converted/*.png"
set -e
# NPM
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/" src/drivers/npm/package.json
# WebExtension
echo "Building WebExtension..."
@ -30,6 +47,8 @@ webextension_dir=src/drivers/webextension
pushd $webextension_dir > /dev/null
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/" manifest.json
zip -qr ../../../build/wappalyzer_webextension.zip .
popd > /dev/null
@ -45,6 +64,8 @@ manifest_dir="Wappalyzer/edgeextension/manifest"
mv $webextension_dir/manifest.json $webextension_dir/manifest.webextension.json
mv $webextension_dir/manifest.edge.json $webextension_dir/manifest.json
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/" $webextension_dir/manifest.json
manifoldjs -l debug -p edgeextension -f edgeextension -m $webextension_dir/manifest.json
# Replace symlinks with actual files
@ -74,4 +95,4 @@ rm -rf Wappalyzer
popd > /dev/null
echo "Done."
echo "Done (v$version)."

@ -2,8 +2,7 @@
"dependencies": {
"file-type": "3.8.*",
"is-svg": "2.0.*",
"read-chunk": "2.0.*",
"svg2png-many": "*"
"read-chunk": "2.0.*"
}
}

@ -2571,7 +2571,7 @@
],
"icon": "FancyBox.png",
"implies": "jQuery",
"script": "jquery\\.fancybox\\.pack\\.js(?:\\?v=([\\d.]+))?$\\;version:\\1",
"script": "jquery\\.fancybox(\\.pack|\\.min)?\\.js(\\?v=([\\d.]+))?$\\;version:\\3",
"website": "http://fancyapps.com/fancybox"
},
"Fastly": {
@ -3100,7 +3100,7 @@
"19"
],
"env": "^prettyPrint$",
"icon": "Google Code Prettify.png",
"icon": "Google.svg",
"website": "http://code.google.com/p/google-code-prettify"
},
"Google Font API": {
@ -3193,7 +3193,7 @@
"headers": {
"Server": "gws"
},
"icon": "Google Web Server.png",
"icon": "Google.svg",
"website": "http://en.wikipedia.org/wiki/Google_Web_Server"
},
"Google Web Toolkit": {
@ -3652,6 +3652,16 @@
"url": "/wps/",
"website": "http://ibm.com/software/websphere/portal"
},
"Ideasoft": {
"cats": [
"6"
],
"icon": "Ideasoft.png",
"script": [
"\\.myideasoft\\.com/"
],
"website": "https://www.ideasoft.com"
},
"IIS": {
"cats": [
"22"
@ -3926,6 +3936,16 @@
"implies": "Canon",
"website": "http://canon.com"
},
"JET Enterprise": {
"cats": [
"6"
],
"headers": {
"powered": "jet-enterprise"
},
"icon": "JET Enterprise.svg",
"website": "http://www.jetecommerce.com.br/"
},
"JS Charts": {
"cats": [
"25"
@ -4280,6 +4300,18 @@
},
"website": "http://koala-framework.org"
},
"KobiMaster": {
"cats": [
"6"
],
"icon": "Kobimaster.png",
"implies": "Microsoft ASP.NET",
"env": [
"^kmPageInfo$",
"^kmGetSession$"
],
"website": "http://www.kobimaster.com.tr/"
},
"Koego": {
"cats": [
"10"
@ -4885,6 +4917,15 @@
"script": "munchkin\\.marketo\\.net/munchkin\\.js",
"website": "http://www.marketo.com"
},
"Material Design Lite": {
"cats": [
"18"
],
"html": "<link[^>]* href=\"[^\"]*material(?:\\.[\\w]+-[\\w]+)?(?:\\.min)?\\.css",
"icon": "Material Design Lite.png",
"script": "material(?:\\.min)?\\.js",
"website": "https://getmdl.io"
},
"Materialize CSS": {
"cats": [
"18"
@ -5238,7 +5279,7 @@
"cats": [
"12"
],
"icon": "Moment.js.png",
"icon": "Moment.js.svg",
"implies": "Moment.js",
"script": "moment-timezone(?:\\-data)?(?:\\.min)?\\.js",
"website": "http://momentjs.com/timezone/"
@ -5248,7 +5289,7 @@
"12"
],
"env": "^moment$",
"icon": "Moment.js.png",
"icon": "Moment.js.svg",
"script": "moment(?:\\.min)?\\.js",
"website": "http://momentjs.com"
},
@ -5493,6 +5534,16 @@
"icon": "Nedstat.png",
"website": "http://www.nedstat.com"
},
"NEO - Omnichannel Commerce Platform": {
"cats": [
"6"
],
"headers": {
"powered": "jet-neo"
},
"icon": "Plataforma NEO.svg",
"website": "http://www.jetecommerce.com.br/"
},
"Neos CMS": {
"cats": [
"1"
@ -5826,7 +5877,7 @@
"headers": {
"Server": "GSE"
},
"icon": "OpenGSE.png",
"icon": "Google.svg",
"implies": "Java",
"website": "http://code.google.com/p/opengse"
},
@ -7503,6 +7554,16 @@
},
"website": "http://www.silverstripe.org"
},
"Simplébo": {
"cats": [
"1"
],
"headers": {
"X-ServedBy": "simplebo"
},
"icon": "Simplebo.png",
"website": "https://www.simplebo.fr"
},
"SimpleHTTP": {
"cats": [
"22"
@ -8184,6 +8245,16 @@
"icon": "Tengine.png",
"website": "http://tengine.taobao.org"
},
"Textalk": {
"cats": [
"6"
],
"meta": {
"generator": "Textalk Webshop"
},
"icon": "textalk.png",
"website": "https://www.textalk.se"
},
"Textpattern CMS": {
"cats": [
"1"
@ -8222,6 +8293,26 @@
"implies": "PHP",
"website": "http://www.thinkphp.cn"
},
"Ticimax": {
"cats": [
"6"
],
"icon": "Ticimax.png",
"script": [
"cdn\\.ticimax\\.com/"
],
"website": "https://www.ticimax.com"
},
"Tictail": {
"cats": [
"6"
],
"script": [
"https:\\/\\/tictail\\.com"
],
"icon": "tictail.png",
"website": "https://tictail.com"
},
"TiddlyWiki": {
"cats": [
"1",
@ -8348,6 +8439,16 @@
"script": "lucide\\.init(?:\\.min)?\\.js",
"website": "http://www.translucide.net"
},
"T-Soft": {
"cats": [
"6"
],
"icon": "Tsoft.png",
"meta": {
"copyright": "T-Soft E-Ticaret Sistemleri"
},
"website": "http://www.tsoft.com.tr/"
},
"Tumblr": {
"cats": [
"11"
@ -9022,6 +9123,16 @@
"url": "/websale7/",
"website": "http://websale.de"
},
"WebSite X5": {
"cats": [
"20"
],
"meta": {
"generator": "Incomedia WebSite X5 (\\w+ [\\d.]+)\\;version:\\1"
},
"icon": "WebSite X5.png",
"website": "http://websitex5.com"
},
"WebsiteBaker": {
"cats": [
"1"
@ -9061,6 +9172,16 @@
"script": "cdn\\d+\\.editmysite\\.com",
"website": "http://www.weebly.com"
},
"Wikinggruppen": {
"cats": [
"6"
],
"html": [
"<!-- WIKINGGRUPPEN"
],
"icon": "wikinggruppen.png",
"website": "https://wikinggruppen.se/"
},
"Wikispaces": {
"cats": [
"8"
@ -9130,12 +9251,9 @@
"env": "^wix(?:Events|Data|Errors)",
"headers": {
"Set-Cookie": "Domain=\\.wix\\.com",
"X-Wix-Dispatcher-Cache-Hit": ""
},
"icon": "Wix.png",
"meta": {
"X-Wix-Renderer-Server": ""
},
"icon": "Wix.png",
"script": "static\\.wixstatic\\.com",
"website": "http://wix.com"
},
@ -10600,6 +10718,15 @@
"icon": "xui.png",
"script": "[^a-z]xui.*\\.js",
"website": "http://xuijs.com"
},
"Raychat": {
"cats": [
"52"
],
"env": "^Raychat$",
"icon": "raychat.svg",
"script": "app\\.raychat\\.io/scripts/js",
"website": "https://raychat.io"
}
},
"categories": {
@ -10653,7 +10780,7 @@
},
"13": {
"name": "Issue Trackers",
"priority": "9"
"priority": "2"
},
"14": {
"name": "Video Players",

@ -61,11 +61,16 @@ const driver = {
browser.visit(url, error => {
wappalyzer.driver.document = browser.document;
if (!browser.resources['0'].response){
return reject('Response null '+url);
if ( !browser.resources['0'].response ) {
return reject('No response from server');
}
const headers = browser.resources['0'].response.headers;
const headers = {};
browser.resources['0'].response.headers._headers.forEach(header => {
headers[header[0]] = header[1];
});
const vars = Object.getOwnPropertyNames(browser.window);
const html = browser.html();

@ -2,7 +2,7 @@
"name": "wappalyzer",
"description": "Uncovers the technologies used on websites",
"homepage": "https://github.com/AliasIO/Wappalyzer",
"version": "5.1.0",
"version": "5.1.2",
"author": "Elbert Alias",
"license": "GPL-3.0",
"repository": {

@ -2,7 +2,6 @@ body {
background: #fff;
font-family: Helvetica, Arial, sans-serif;
font-size: .8rem;
height: 20.8rem;
margin: 0;
overflow: hidden;
width: 30rem;

@ -1,19 +1,19 @@
/** global: browser */
if ( document.body !== undefined ) {
if ( typeof browser !== 'undefined' && typeof document.body !== 'undefined' ) {
var html = document.documentElement.outerHTML;
if ( html.length > 50000 ) {
html = html.substring(0, 25000) + html.substring(html.length - 25000, html.length);
}
try {
browser.runtime.sendMessage({
id: 'analyze',
subject: { html },
source: 'content.js'
});
try {
var container = document.createElement('wappalyzerData');
container.setAttribute('id', 'wappalyzerData');
@ -42,7 +42,7 @@ if ( document.body !== undefined ) {
document.documentElement.appendChild(container);
document.documentElement.appendChild(script);
} catch(e) {
log('Error: ' + e);
log(e);
}
}

@ -181,7 +181,7 @@ var exports = {};
video_assets: opt_video_assets,
assets: opt_assets,
version: '3',
mrev: '4d79384-d',
mrev: '6f3a97b-c',
msgNum: this.msgNum,
timestamp: new Date().getTime(),
pageVis: document.visibilityState,
@ -890,7 +890,7 @@ var exports = {};
var _pageTags;
var INIT_MS_BW_SEARCHES = 2000;
var PAGE_TAG_RE = new RegExp('gpt|oascentral');
var POST_MSG_ID = '1503096304-372-12333-31563-11152';
var POST_MSG_ID = '1503946945-8336-24876-10613-9147';
var AD_SERVER_RE = new RegExp('^(google_ads_iframe|oas_frame|atwAdFrame)');
function getPageTags(doc) {

@ -66,7 +66,7 @@
'washingtonpost.com'
];
var robotsTxtAllows = wappalyzer.robotsTxtAllows;
var robotsTxtAllows = wappalyzer.robotsTxtAllows.bind(wappalyzer);
if ( !String.prototype.endsWith ) {
String.prototype.endsWith = function(searchString, position) {
var subjectString = this.toString();

@ -4,7 +4,7 @@
"author": "Elbert Alias",
"homepage_url": "https://wappalyzer.com/",
"description": "Identify web technologies",
"version": "5.1.0",
"version": "5.1.2",
"default_locale": "en",
"manifest_version": 2,
"icons": {

@ -4,7 +4,7 @@
"author": "Elbert Alias",
"homepage_url": "https://wappalyzer.com/",
"description": "Identify web technologies",
"version": "5.1.0",
"version": "5.1.2",
"default_locale": "en",
"manifest_version": 2,
"icons": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

@ -0,0 +1 @@
<svg width="2443" height="2500" viewBox="0 0 256 262" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><path d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027" fill="#4285F4"/><path d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1" fill="#34A853"/><path d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782" fill="#FBBC05"/><path d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251" fill="#EB4335"/></svg>

After

Width:  |  Height:  |  Size: 1018 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" viewBox="0 0 51 51" overflow="scroll">
<path fill="#CC2128" d="M5.5 1.4h40.1c2.3 0 4.1 1.9 4.1 4.1v40.1c0 2.3-1.9 4.1-4.1 4.1H5.5c-2.3 0-4.1-1.9-4.1-4.1V5.5c0-2.2 1.9-4.1 4.1-4.1z"/>
<g fill="#FFF">
<path d="M10.5 14.7l.8 3.3h2.5c-1.2 5.6-3.4 16.1-3.4 16.1-.2 1-.6 2.1-1.5 2.8-1 .8-2.5.6-3.6.3l-.9 3.2c.2.1 2.9.8 5.2.3 1.4-.3 2.6-1.3 3.2-2.1.8-1 1.2-2.8 1.5-4 .3-1 4.2-20.2 4.2-20.2h-8v.3zm30.9 16.6c-.5.2-1.1.4-1.5.4-1.2.1-2.2-.7-1.4-3.7.8-3.4 2.3-9.9 2.3-9.9h5.1l.8-3.3h-5.1l1.1-4.6H39c-.2.7-3.6 15.8-4 17.3-.4 2.1-1.1 4.4.4 6.2.9 1.1 2.3 1.5 3.5 1.5 1.1 0 2.1-.1 2.9-.5-.4-.5-.6-1.1-.6-1.8-.2-.7-.1-1.2.2-1.6z"/>
<path d="M43.8 30.7c-.4 0-.8.1-1.2.4-.5.4-.9 1-.9 1.7 0 .5.2 1 .5 1.4.4.4.9.7 1.6.7 1.1 0 2.1-.9 2.1-2.1 0-1.1-1-2.1-2.1-2.1zm-21.5-4.2h.8c3.8 0 9.6-.6 11.2-4.8.8-2 .6-4.3-1-5.8-1.3-1.2-3.2-1.6-4.9-1.6-5.5.2-9.3 5.1-10.1 9.7-.5 2.9-.6 6.1 1.3 8.6 1.5 2 3.7 2.5 6.2 2.5 3.1 0 5.5-1 5.5-1l.8-3.7s-2.7 1.5-5.6 1.5c-2.4 0-3.8-1.4-4-3.4-.2-.8-.2-2-.2-2zm6-9c.8 0 1.4.2 1.8.5.4.3.6.8.6 1.5 0 1.2-.6 2.1-2 2.8-1.3.7-3.1 1-5.3 1h-.5c.6-4.2 3.7-5.8 5.4-5.8z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 B

@ -0,0 +1 @@
<svg width="2500" height="2500" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><g fill-rule="evenodd"><path d="M128 256c70.692 0 128-57.308 128-128C256 57.308 198.692 0 128 0 57.308 0 0 57.308 0 128c0 70.692 57.308 128 128 128zm0-19.2c-60.089 0-108.8-48.711-108.8-108.8S67.911 19.2 128 19.2 236.8 67.911 236.8 128 188.089 236.8 128 236.8z" fill="#376660"/><path d="M128 230.4c56.554 0 102.4-45.846 102.4-102.4 0-56.554-45.846-102.4-102.4-102.4C71.446 25.6 25.6 71.446 25.6 128c0 56.554 45.846 102.4 102.4 102.4zM128 32c-3.535 0-6.4 2.88-6.4 6.444V121.6H76.781A6.375 6.375 0 0 0 70.4 128c0 3.535 2.916 6.4 6.37 6.4h57.63V38.406A6.387 6.387 0 0 0 128 32z" fill="#529990"/></g></svg>

After

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" viewBox="0 0 51 51" overflow="scroll">
<path fill="#FF7800" d="M5.6 1.4h39.9c2.3 0 4.2 1.8 4.2 4.2v39.9c0 2.3-1.8 4.2-4.2 4.2H5.6c-2.3 0-4.2-1.8-4.2-4.2V5.6c0-2.3 1.9-4.2 4.2-4.2z"/>
<path fill="#FEFEFE" d="M40.1 17.6c-3.2 0-6.1 1.9-7.3 4.8-1-2.3-3.5-4.8-6.9-4.8h-.4c-3.5 0-6.1 1.9-7.3 4.8-1.3-2.9-4.2-4.8-7.3-4.8-4.4 0-7.9 3.5-7.9 7.9v8h4v-7.9c0-2.3 1.9-4.2 4.2-4.2s4.2 1.9 4.2 4.2v7.9h3.8v-3.2c3.2 4.4 10.7 4.4 13.6-1h-5.4c-.4.4-1 .4-1.5.4-1.5 0-3.2-1-3.8-2.9h10.7c.4 3.8 3.8 6.7 7.6 6.7 4.4 0 8.2-3.5 8.2-7.9s-4.1-8-8.5-8zM22 23.5c.6-1.5 2.3-2.4 3.8-2.3 1.5.1 2.5 1 3.2 2.3h-7zm18.1 6.1c-2.3 0-4.2-1.9-4.2-4.2s1.9-4.2 4.2-4.2c2.5 0 4.4 1.9 4.4 4.2s-1.9 4.2-4.4 4.2z"/>
</svg>

After

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="32px" height="32px" viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve">
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="20.9386" y1="1.0265" x2="11.7312" y2="31.1426">
<stop offset="0" style="stop-color:#D61395"/>
<stop offset="0.2656" style="stop-color:#BB1089"/>
<stop offset="0.8337" style="stop-color:#760769"/>
<stop offset="0.9987" style="stop-color:#61045F"/>
</linearGradient>
<circle display="none" fill="url(#SVGID_1_)" cx="16.335" cy="16.085" r="15.742"/>
<rect fill="#FFFFFF" width="32" height="32"/>
<g>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="21.3895" y1="2.3882" x2="8.5565" y2="28.6998">
<stop offset="0" style="stop-color:#D61395"/>
<stop offset="0.2656" style="stop-color:#BB1089"/>
<stop offset="0.8337" style="stop-color:#760769"/>
<stop offset="0.9987" style="stop-color:#61045F"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M15.21,16.909c-0.414-0.414-0.414-1.085,0-1.499c0.414-0.414,1.085-0.414,1.499,0
c3.125,3.125,8.026,3.415,11.481,0.871c0.174-0.833,0.268-1.695,0.268-2.579c0-1.103-0.143-2.173-0.41-3.192
c-0.316,0.713-1.029,1.212-1.859,1.212c-1.123,0-2.033-0.91-2.033-2.033s0.91-2.033,2.033-2.033c0.289,0,0.563,0.061,0.812,0.169
c-2.111-3.988-6.3-6.706-11.126-6.706c-6.95,0-12.583,5.634-12.583,12.583c0,6.311,4.646,11.536,10.704,12.443l-1.168,2.624
c-0.647,2.232,0.714,3.06,2.542,1.546l8.895-7.176L24.2,23.133c1.217-1.075,2.221-2.383,2.95-3.852
C23.179,20.921,18.432,20.131,15.21,16.909z M18.318,7.654c1.123,0,2.033,0.91,2.033,2.033s-0.91,2.033-2.033,2.033
c-1.123,0-2.033-0.91-2.033-2.033S17.195,7.654,18.318,7.654z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 751 B

After

Width:  |  Height:  |  Size: 821 B

@ -116,11 +116,7 @@ class Wappalyzer {
this.driver.getRobotsTxt(parsed.host, parsed.protocol === 'https:')
.then(robotsTxt => {
robotsTxt.forEach(disallow => {
if ( parsed.pathname.indexOf(disallow) === 0 ) {
reject();
}
});
robotsTxt.forEach(disallow => parsed.pathname.indexOf(disallow) === 0 && reject());
resolve();
});
@ -270,7 +266,7 @@ class Wappalyzer {
Object.keys(apps).forEach(appName => {
var app = apps[appName];
if ( app && app.implies ) {
if ( app && app.props.implies ) {
this.asArray(app.props.implies).forEach(implied => {
implied = this.parsePatterns(implied)[0];
@ -281,7 +277,7 @@ class Wappalyzer {
}
if ( !( implied.string in apps ) ) {
apps[implied.string] = this.detected[url] && this.detected[url][implied.string] ? this.detected[url][implied.string] : new Application(implied.string, true);
apps[implied.string] = this.detected[url] && this.detected[url][implied.string] ? this.detected[url][implied.string] : new Application(implied.string, this.apps[implied.string], true);
checkImplies = true;
}
@ -300,10 +296,6 @@ class Wappalyzer {
* Cache detected applications
*/
cacheDetectedApps(apps, url) {
if ( !( this.driver.ping instanceof Function ) ) {
return;
}
Object.keys(apps).forEach(appName => {
var app = apps[appName];
@ -315,8 +307,10 @@ class Wappalyzer {
});
})
if ( this.driver.ping instanceof Function ) {
this.ping();
}
}
/**
* Track detected applications
@ -352,7 +346,7 @@ class Wappalyzer {
this.hostnameCache[hostname].applications[appName].version = app.version;
}
})
.catch(() => console.log('Disallowed in robots.txt: ' + url))
.catch(() => this.log('Disallowed in robots.txt: ' + url), 'core')
}
}
});

Loading…
Cancel
Save