Fix WooCommerce detection

main
Elbert Alias 7 years ago
parent cf5d7f3ac7
commit 5b6c06a81b

@ -49,7 +49,22 @@ pushd $webextension_dir > /dev/null
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/" manifest.json sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/" manifest.json
zip -qr ../../../build/wappalyzer_webextension.zip . zip -qr ../../../build/wappalyzer_webextension.zip . \
-x images/icon_44.png \
-x images/icon_50.png \
-x images/icon_150.png \
-x js/ms_\*.js \
-x manifest.edge.json \
-x \*.log \
-x \*.lock \
-x \*.gitignore \
-x \*.gitkeep \
-x \*.js.map \
-x \*.min.js \
-x \*.yarn-integrity \
-x \*package.json \
-x \*LICENSE \
-x \*README.md
popd > /dev/null popd > /dev/null

@ -5272,7 +5272,7 @@
"1", "1",
"6" "6"
], ],
"html": "(?:<script|link)[^>]*mg-(?:core|plugins|templates)", "html": "(?:<script|link)[^>]*(?:src=|href=)[\"'][^\"]*mg-(?:core|plugins|templates)",
"icon": "Moguta.CMS.png", "icon": "Moguta.CMS.png",
"implies": "PHP", "implies": "PHP",
"website": "http://moguta.ru" "website": "http://moguta.ru"
@ -9333,7 +9333,7 @@
"cats": [ "cats": [
"6" "6"
], ],
"env": "woocommerce", "env": "^woocommerce_params$",
"html": "<!-- WooCommerce", "html": "<!-- WooCommerce",
"icon": "WooCommerce.png", "icon": "WooCommerce.png",
"implies": "WordPress", "implies": "WordPress",

@ -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.3", "version": "foo",
"author": "Elbert Alias", "author": "Elbert Alias",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {

@ -2,6 +2,7 @@ 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;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

@ -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.3", "version": "foo",
"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.3", "version": "foo",
"default_locale": "en", "default_locale": "en",
"manifest_version": 2, "manifest_version": 2,
"icons": { "icons": {

@ -71,6 +71,7 @@ class Wappalyzer {
} }
if ( data.env ) { if ( data.env ) {
console.log(data.env);
this.analyzeEnv(app, data.env); this.analyzeEnv(app, data.env);
} }