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

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

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

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

@ -2571,7 +2571,7 @@
], ],
"icon": "FancyBox.png", "icon": "FancyBox.png",
"implies": "jQuery", "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" "website": "http://fancyapps.com/fancybox"
}, },
"Fastly": { "Fastly": {
@ -3100,7 +3100,7 @@
"19" "19"
], ],
"env": "^prettyPrint$", "env": "^prettyPrint$",
"icon": "Google Code Prettify.png", "icon": "Google.svg",
"website": "http://code.google.com/p/google-code-prettify" "website": "http://code.google.com/p/google-code-prettify"
}, },
"Google Font API": { "Google Font API": {
@ -3193,7 +3193,7 @@
"headers": { "headers": {
"Server": "gws" "Server": "gws"
}, },
"icon": "Google Web Server.png", "icon": "Google.svg",
"website": "http://en.wikipedia.org/wiki/Google_Web_Server" "website": "http://en.wikipedia.org/wiki/Google_Web_Server"
}, },
"Google Web Toolkit": { "Google Web Toolkit": {
@ -3652,6 +3652,16 @@
"url": "/wps/", "url": "/wps/",
"website": "http://ibm.com/software/websphere/portal" "website": "http://ibm.com/software/websphere/portal"
}, },
"Ideasoft": {
"cats": [
"6"
],
"icon": "Ideasoft.png",
"script": [
"\\.myideasoft\\.com/"
],
"website": "https://www.ideasoft.com"
},
"IIS": { "IIS": {
"cats": [ "cats": [
"22" "22"
@ -3925,6 +3935,16 @@
"icon": "JC-HTTPD.png", "icon": "JC-HTTPD.png",
"implies": "Canon", "implies": "Canon",
"website": "http://canon.com" "website": "http://canon.com"
},
"JET Enterprise": {
"cats": [
"6"
],
"headers": {
"powered": "jet-enterprise"
},
"icon": "JET Enterprise.svg",
"website": "http://www.jetecommerce.com.br/"
}, },
"JS Charts": { "JS Charts": {
"cats": [ "cats": [
@ -4280,6 +4300,18 @@
}, },
"website": "http://koala-framework.org" "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": { "Koego": {
"cats": [ "cats": [
"10" "10"
@ -4885,6 +4917,15 @@
"script": "munchkin\\.marketo\\.net/munchkin\\.js", "script": "munchkin\\.marketo\\.net/munchkin\\.js",
"website": "http://www.marketo.com" "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": { "Materialize CSS": {
"cats": [ "cats": [
"18" "18"
@ -5238,7 +5279,7 @@
"cats": [ "cats": [
"12" "12"
], ],
"icon": "Moment.js.png", "icon": "Moment.js.svg",
"implies": "Moment.js", "implies": "Moment.js",
"script": "moment-timezone(?:\\-data)?(?:\\.min)?\\.js", "script": "moment-timezone(?:\\-data)?(?:\\.min)?\\.js",
"website": "http://momentjs.com/timezone/" "website": "http://momentjs.com/timezone/"
@ -5248,7 +5289,7 @@
"12" "12"
], ],
"env": "^moment$", "env": "^moment$",
"icon": "Moment.js.png", "icon": "Moment.js.svg",
"script": "moment(?:\\.min)?\\.js", "script": "moment(?:\\.min)?\\.js",
"website": "http://momentjs.com" "website": "http://momentjs.com"
}, },
@ -5492,6 +5533,16 @@
"env": "^sitestat$", "env": "^sitestat$",
"icon": "Nedstat.png", "icon": "Nedstat.png",
"website": "http://www.nedstat.com" "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": { "Neos CMS": {
"cats": [ "cats": [
@ -5826,7 +5877,7 @@
"headers": { "headers": {
"Server": "GSE" "Server": "GSE"
}, },
"icon": "OpenGSE.png", "icon": "Google.svg",
"implies": "Java", "implies": "Java",
"website": "http://code.google.com/p/opengse" "website": "http://code.google.com/p/opengse"
}, },
@ -7503,6 +7554,16 @@
}, },
"website": "http://www.silverstripe.org" "website": "http://www.silverstripe.org"
}, },
"Simplébo": {
"cats": [
"1"
],
"headers": {
"X-ServedBy": "simplebo"
},
"icon": "Simplebo.png",
"website": "https://www.simplebo.fr"
},
"SimpleHTTP": { "SimpleHTTP": {
"cats": [ "cats": [
"22" "22"
@ -8184,6 +8245,16 @@
"icon": "Tengine.png", "icon": "Tengine.png",
"website": "http://tengine.taobao.org" "website": "http://tengine.taobao.org"
}, },
"Textalk": {
"cats": [
"6"
],
"meta": {
"generator": "Textalk Webshop"
},
"icon": "textalk.png",
"website": "https://www.textalk.se"
},
"Textpattern CMS": { "Textpattern CMS": {
"cats": [ "cats": [
"1" "1"
@ -8222,6 +8293,26 @@
"implies": "PHP", "implies": "PHP",
"website": "http://www.thinkphp.cn" "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": { "TiddlyWiki": {
"cats": [ "cats": [
"1", "1",
@ -8348,6 +8439,16 @@
"script": "lucide\\.init(?:\\.min)?\\.js", "script": "lucide\\.init(?:\\.min)?\\.js",
"website": "http://www.translucide.net" "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": { "Tumblr": {
"cats": [ "cats": [
"11" "11"
@ -9022,6 +9123,16 @@
"url": "/websale7/", "url": "/websale7/",
"website": "http://websale.de" "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": { "WebsiteBaker": {
"cats": [ "cats": [
"1" "1"
@ -9061,6 +9172,16 @@
"script": "cdn\\d+\\.editmysite\\.com", "script": "cdn\\d+\\.editmysite\\.com",
"website": "http://www.weebly.com" "website": "http://www.weebly.com"
}, },
"Wikinggruppen": {
"cats": [
"6"
],
"html": [
"<!-- WIKINGGRUPPEN"
],
"icon": "wikinggruppen.png",
"website": "https://wikinggruppen.se/"
},
"Wikispaces": { "Wikispaces": {
"cats": [ "cats": [
"8" "8"
@ -9130,12 +9251,9 @@
"env": "^wix(?:Events|Data|Errors)", "env": "^wix(?:Events|Data|Errors)",
"headers": { "headers": {
"Set-Cookie": "Domain=\\.wix\\.com", "Set-Cookie": "Domain=\\.wix\\.com",
"X-Wix-Dispatcher-Cache-Hit": ""
},
"icon": "Wix.png",
"meta": {
"X-Wix-Renderer-Server": "" "X-Wix-Renderer-Server": ""
}, },
"icon": "Wix.png",
"script": "static\\.wixstatic\\.com", "script": "static\\.wixstatic\\.com",
"website": "http://wix.com" "website": "http://wix.com"
}, },
@ -10600,7 +10718,16 @@
"icon": "xui.png", "icon": "xui.png",
"script": "[^a-z]xui.*\\.js", "script": "[^a-z]xui.*\\.js",
"website": "http://xuijs.com" "website": "http://xuijs.com"
} },
"Raychat": {
"cats": [
"52"
],
"env": "^Raychat$",
"icon": "raychat.svg",
"script": "app\\.raychat\\.io/scripts/js",
"website": "https://raychat.io"
}
}, },
"categories": { "categories": {
"1": { "1": {
@ -10653,7 +10780,7 @@
}, },
"13": { "13": {
"name": "Issue Trackers", "name": "Issue Trackers",
"priority": "9" "priority": "2"
}, },
"14": { "14": {
"name": "Video Players", "name": "Video Players",

@ -61,11 +61,16 @@ const driver = {
browser.visit(url, error => { browser.visit(url, error => {
wappalyzer.driver.document = browser.document; wappalyzer.driver.document = browser.document;
if (!browser.resources['0'].response){ if ( !browser.resources['0'].response ) {
return reject('Response null '+url); 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 vars = Object.getOwnPropertyNames(browser.window);
const html = browser.html(); const html = browser.html();

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

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

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

@ -181,7 +181,7 @@ var exports = {};
video_assets: opt_video_assets, video_assets: opt_video_assets,
assets: opt_assets, assets: opt_assets,
version: '3', version: '3',
mrev: '4d79384-d', mrev: '6f3a97b-c',
msgNum: this.msgNum, msgNum: this.msgNum,
timestamp: new Date().getTime(), timestamp: new Date().getTime(),
pageVis: document.visibilityState, pageVis: document.visibilityState,
@ -890,7 +890,7 @@ var exports = {};
var _pageTags; var _pageTags;
var INIT_MS_BW_SEARCHES = 2000; var INIT_MS_BW_SEARCHES = 2000;
var PAGE_TAG_RE = new RegExp('gpt|oascentral'); 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)'); var AD_SERVER_RE = new RegExp('^(google_ads_iframe|oas_frame|atwAdFrame)');
function getPageTags(doc) { function getPageTags(doc) {

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

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

@ -4,7 +4,7 @@
"author": "Elbert Alias", "author": "Elbert Alias",
"homepage_url": "https://wappalyzer.com/", "homepage_url": "https://wappalyzer.com/",
"description": "Identify web technologies", "description": "Identify web technologies",
"version": "5.1.0", "version": "5.1.2",
"default_locale": "en", "default_locale": "en",
"manifest_version": 2, "manifest_version": 2,
"icons": { "icons": {
@ -43,7 +43,7 @@
}, },
{ {
"matches": [ "matches": [
"http://*/*", "http://*/*",
"https://*/*" "https://*/*"
], ],
"js": [ "js": [

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:') this.driver.getRobotsTxt(parsed.host, parsed.protocol === 'https:')
.then(robotsTxt => { .then(robotsTxt => {
robotsTxt.forEach(disallow => { robotsTxt.forEach(disallow => parsed.pathname.indexOf(disallow) === 0 && reject());
if ( parsed.pathname.indexOf(disallow) === 0 ) {
reject();
}
});
resolve(); resolve();
}); });
@ -270,7 +266,7 @@ class Wappalyzer {
Object.keys(apps).forEach(appName => { Object.keys(apps).forEach(appName => {
var app = apps[appName]; var app = apps[appName];
if ( app && app.implies ) { if ( app && app.props.implies ) {
this.asArray(app.props.implies).forEach(implied => { this.asArray(app.props.implies).forEach(implied => {
implied = this.parsePatterns(implied)[0]; implied = this.parsePatterns(implied)[0];
@ -281,7 +277,7 @@ class Wappalyzer {
} }
if ( !( implied.string in apps ) ) { 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; checkImplies = true;
} }
@ -300,10 +296,6 @@ class Wappalyzer {
* Cache detected applications * Cache detected applications
*/ */
cacheDetectedApps(apps, url) { cacheDetectedApps(apps, url) {
if ( !( this.driver.ping instanceof Function ) ) {
return;
}
Object.keys(apps).forEach(appName => { Object.keys(apps).forEach(appName => {
var app = apps[appName]; var app = apps[appName];
@ -315,7 +307,9 @@ class Wappalyzer {
}); });
}) })
this.ping(); if ( this.driver.ping instanceof Function ) {
this.ping();
}
} }
/** /**
@ -352,7 +346,7 @@ class Wappalyzer {
this.hostnameCache[hostname].applications[appName].version = app.version; 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