Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Make all html fields an array #170

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"required": ["cats","website"],
"required": [
"cats",
"website"
],
"properties": {
"description": {
"type": "string",
Expand Down Expand Up @@ -102,17 +105,10 @@
}
},
"html": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/non-empty-non-blank-string"
}
},
{
"$ref": "#/definitions/non-empty-non-blank-string"
}
]
"type": "array",
"items": {
"$ref": "#/definitions/non-empty-non-blank-string"
}
},
"text": {
"oneOf": [
Expand Down
44 changes: 33 additions & 11 deletions src/technologies/a.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"cats": [
25
],
"html": "<a-scene[^<>]*>",
"html": [
"<a-scene[^<>]*>"
],
"icon": "A-Frame.svg",
"implies": "Three.js",
"js": {
Expand Down Expand Up @@ -1479,7 +1481,9 @@
"headers": {
"Cookie": "CFTOKEN="
},
"html": "<!-- START headerTags\\.cfm",
"html": [
"<!-- START headerTags\\.cfm"
],
"icon": "Adobe ColdFusion.svg",
"implies": "CFML",
"js": {
Expand Down Expand Up @@ -2472,7 +2476,9 @@
],
"cpe": "cpe:2.3:a:aioseo:all_in_one_seo:*:*:*:*:*:wordpress:*:*",
"description": "All in One SEO plugin optimizes WordPress website and its content for search engines.",
"html": "<!-- All in One SEO Pack ([\\d.]+) \\;version:\\1",
"html": [
"<!-- All in One SEO Pack ([\\d.]+) \\;version:\\1"
],
"icon": "AIOSEO.svg",
"pricing": [
"freemium",
Expand Down Expand Up @@ -2572,7 +2578,9 @@
"cats": [
12
],
"html": "<[^>]+[^\\w-]x-data[^\\w-][^<]+\\;confidence:75",
"html": [
"<[^>]+[^\\w-]x-data[^\\w-][^<]+\\;confidence:75"
],
"icon": "Alpine.js.png",
"js": {
"Alpine.version": "^(.+)$\\;version:\\1"
Expand Down Expand Up @@ -3513,7 +3521,9 @@
],
"cpe": "cpe:2.3:a:apache:jspwiki:*:*:*:*:*:*:*:*",
"description": "Apache JSPWiki is an open-source Wiki engine, built around standard JEE components (Java, servlets, JSP).",
"html": "<html[^>]* xmlns:jspwiki=",
"html": [
"<html[^>]* xmlns:jspwiki="
],
"icon": "Apache.svg",
"implies": "Apache Tomcat",
"oss": true,
Expand Down Expand Up @@ -4245,7 +4255,9 @@
"div.asciinema-player-wrapper",
"div.asciinema-player"
],
"html": "<asciinema-player",
"html": [
"<asciinema-player"
],
"icon": "Asciinema.svg",
"js": {
"AsciinemaPlayer": "",
Expand Down Expand Up @@ -4424,7 +4436,9 @@
],
"cpe": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
"description": "Bitbucket is a web-based version control repository hosting service for source code and development projects that use either Mercurial or Git revision control systems.",
"html": "<li>Atlassian Bitbucket <span title=\"[a-z0-9]+\" id=\"product-version\" data-commitid=\"[a-z0-9]+\" data-system-build-number=\"[a-z0-9]+\"> v([\\d.]+)<\\;version:\\1",
"html": [
"<li>Atlassian Bitbucket <span title=\"[a-z0-9]+\" id=\"product-version\" data-commitid=\"[a-z0-9]+\" data-system-build-number=\"[a-z0-9]+\"> v([\\d.]+)<\\;version:\\1"
],
"icon": "Atlassian Bitbucket.svg",
"implies": "Python",
"js": {
Expand Down Expand Up @@ -4464,7 +4478,9 @@
"FESESSIONID": ""
},
"cpe": "cpe:2.3:a:atlassian:fisheye:*:*:*:*:*:*:*:*",
"html": "<title>(?:Log in to )?FishEye (?:and Crucible )?([\\d.]+)?</title>\\;version:\\1",
"html": [
"<title>(?:Log in to )?FishEye (?:and Crucible )?([\\d.]+)?</title>\\;version:\\1"
],
"icon": "Atlassian FishEye.svg",
"website": "https://www.atlassian.com/software/fisheye/overview/"
},
Expand Down Expand Up @@ -4511,7 +4527,9 @@
"X-StatusPage-Skip-Logging": "",
"X-StatusPage-Version": ""
},
"html": "<a[^>]*href=\"https?://(?:www\\.)?statuspage\\.io/powered-by[^>]+>",
"html": [
"<a[^>]*href=\"https?://(?:www\\.)?statuspage\\.io/powered-by[^>]+>"
],
"icon": "Atlassian Statuspage.svg",
"website": "https://www.atlassian.com/software/statuspage"
},
Expand Down Expand Up @@ -4953,7 +4971,9 @@
29
],
"description": "Awesomplete is a tool in the Javascript UI Libraries category of a tech stack.",
"html": "<link[^>]+href=\"[^>]*awesomplete(?:\\.min)?\\.css",
"html": [
"<link[^>]+href=\"[^>]*awesomplete(?:\\.min)?\\.css"
],
"js": {
"awesomplete": ""
},
Expand Down Expand Up @@ -5285,7 +5305,9 @@
25
],
"description": "amCharts is a JavaScript-based interactive charts and maps programming library and tool.",
"html": "<svg[^>]*><desc>JavaScript chart by amCharts ([\\d.]*)\\;version:\\1",
"html": [
"<svg[^>]*><desc>JavaScript chart by amCharts ([\\d.]*)\\;version:\\1"
],
"icon": "amCharts.svg",
"js": {
"AmCharts": ""
Expand Down
32 changes: 24 additions & 8 deletions src/technologies/b.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
12
],
"description": "BEM (Block, Element, Modifier) is a naming convention for classes in HTML and CSS what was developed by Yandex.",
"html": "<[^>]+data-bem",
"html": [
"<[^>]+data-bem"
],
"icon": "BEM.png",
"oss": true,
"website": "https://en.bem.info"
Expand Down Expand Up @@ -807,7 +809,9 @@
"bigwareCsid": ""
},
"cpe": "cpe:2.3:a:bigware:bigware_shop:*:*:*:*:*:*:*:*",
"html": "(?:Diese <a href=[^>]+bigware\\.de|<a href=[^>]+/main_bigware_\\d+\\.php)",
"html": [
"(?:Diese <a href=[^>]+bigware\\.de|<a href=[^>]+/main_bigware_\\d+\\.php)"
],
"icon": "Bigware.png",
"implies": "PHP",
"url": "(?:\\?|&)bigWAdminID=",
Expand Down Expand Up @@ -1019,7 +1023,9 @@
"headers": {
"X-Powered-By": "^Blitz$"
},
"html": "<!-- Cached by Blitz on",
"html": [
"<!-- Cached by Blitz on"
],
"icon": "Blitz.svg",
"implies": "Craft CMS",
"js": {
Expand Down Expand Up @@ -1110,7 +1116,9 @@
"cats": [
1
],
"html": "<[^>]+/binaries/(?:[^/]+/)*content/gallery/",
"html": [
"<[^>]+/binaries/(?:[^/]+/)*content/gallery/"
],
"icon": "Bloomreach.svg",
"website": "https://developers.bloomreach.com"
},
Expand Down Expand Up @@ -1649,7 +1657,9 @@
"cookies": {
"bf_session": ""
},
"html": "Powered by <a[^>]+href=\"https?://(?:www\\.)?cibonfire\\.com[^>]*>Bonfire v([^<]+)\\;version:\\1",
"html": [
"Powered by <a[^>]+href=\"https?://(?:www\\.)?cibonfire\\.com[^>]*>Bonfire v([^<]+)\\;version:\\1"
],
"icon": "Bonfire.png",
"implies": "CodeIgniter",
"website": "https://cibonfire.com"
Expand Down Expand Up @@ -1947,7 +1957,9 @@
"cats": [
59
],
"html": "<link[^>]+href=\"[^>]*bootstrap-table(?:\\.min)?\\.css",
"html": [
"<link[^>]+href=\"[^>]*bootstrap-table(?:\\.min)?\\.css"
],
"icon": "Bootstrap Table.svg",
"implies": [
"Bootstrap",
Expand Down Expand Up @@ -2228,7 +2240,9 @@
87
],
"description": "Breadcrumb NavXT is a WordPress plugin compatible with WordPress versions 4.9 and up.",
"html": "<!-- Breadcrumb NavXT ([\\d\\.]+)\\;version:\\1",
"html": [
"<!-- Breadcrumb NavXT ([\\d\\.]+)\\;version:\\1"
],
"icon": "Breadcrumb NavXT.svg",
"oss": true,
"requires": "WordPress",
Expand Down Expand Up @@ -2724,7 +2738,9 @@
"cats": [
1
],
"html": "<!-- BC_OBNW -->",
"html": [
"<!-- BC_OBNW -->"
],
"icon": "Business Catalyst.svg",
"scriptSrc": "CatalystScripts",
"website": "https://businesscatalyst.com"
Expand Down
20 changes: 15 additions & 5 deletions src/technologies/c.json
Original file line number Diff line number Diff line change
Expand Up @@ -2549,7 +2549,9 @@
"exp_tracker": ""
},
"cpe": "cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*",
"html": "<input[^>]+name=\"ci_csrf_token\"\\;version:2+",
"html": [
"<input[^>]+name=\"ci_csrf_token\"\\;version:2+"
],
"icon": "CodeIgniter.png",
"implies": "PHP",
"website": "https://codeigniter.com"
Expand Down Expand Up @@ -3341,7 +3343,9 @@
"headers": {
"x-contentful-request-id": ""
},
"html": "<[^>]+(?:assets|downloads|images|videos)\\.(?:ct?fassets\\.net|contentful\\.com)",
"html": [
"<[^>]+(?:assets|downloads|images|videos)\\.(?:ct?fassets\\.net|contentful\\.com)"
],
"icon": "Contentful.svg",
"pricing": [
"mid",
Expand Down Expand Up @@ -3678,7 +3682,9 @@
"website": "https://cookie-script.com"
},
"Cookie Seal": {
"cats": [67],
"cats": [
67
],
"description": "Cookie Seal is a tool or system that helps you manage and configure the use of cookies on your website in accordance with data protection laws, ensuring compliance with relevant regulations.",
"icon": "Cookie Seal.svg",
"js": {
Expand Down Expand Up @@ -3800,7 +3806,9 @@
],
"cpe": "cpe:2.3:a:coppermine-gallery:coppermine_photo_gallery:*:*:*:*:*:*:*:*",
"description": "Coppermine is an open-source image gallery application.",
"html": "<!--Coppermine Photo Gallery ([\\d.]+)\\;version:\\1",
"html": [
"<!--Coppermine Photo Gallery ([\\d.]+)\\;version:\\1"
],
"icon": "Coppermine.png",
"implies": "PHP",
"website": "https://coppermine-gallery.net"
Expand Down Expand Up @@ -4646,7 +4654,9 @@
"headers": {
"Server": "cpsrvd/([\\d.]+)\\;version:\\1"
},
"html": "<!-- cPanel",
"html": [
"<!-- cPanel"
],
"icon": "cPanel.png",
"website": "https://www.cpanel.net"
},
Expand Down
32 changes: 24 additions & 8 deletions src/technologies/d.json
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,9 @@
"headers": {
"Server": "DirectAdmin Daemon v([\\d.]+)\\;version:\\1"
},
"html": "<a[^>]+>DirectAdmin</a> Web Control Panel",
"html": [
"<a[^>]+>DirectAdmin</a> Web Control Panel"
],
"icon": "DirectAdmin.png",
"implies": [
"PHP",
Expand Down Expand Up @@ -1109,7 +1111,9 @@
},
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"description": "Django is a Python-based free and open-source web application framework.",
"html": "(?:powered by <a[^>]+>Django ?([\\d.]+)?<\\/a>|<input[^>]*name=[\"']csrfmiddlewaretoken[\"'][^>]*>)\\;version:\\1",
"html": [
"(?:powered by <a[^>]+>Django ?([\\d.]+)?<\\/a>|<input[^>]*name=[\"']csrfmiddlewaretoken[\"'][^>]*>)\\;version:\\1"
],
"icon": "Django.png",
"implies": "Python",
"js": {
Expand Down Expand Up @@ -1154,7 +1158,9 @@
],
"cpe": "cpe:2.3:a:docker:engine:*:*:*:*:*:*:*:*",
"description": "Docker is a tool designed to make it easier to create, deploy, and run applications by using containers.",
"html": "<!-- This comment is expected by the docker HEALTHCHECK -->",
"html": [
"<!-- This comment is expected by the docker HEALTHCHECK -->"
],
"icon": "Docker.svg",
"website": "https://www.docker.com/"
},
Expand Down Expand Up @@ -1246,7 +1252,9 @@
"headers": {
"X-Powered-By": "Dokeos"
},
"html": "(?:Portal <a[^>]+>Dokeos|@import \"[^\"]+dokeos_blue)",
"html": [
"(?:Portal <a[^>]+>Dokeos|@import \"[^\"]+dokeos_blue)"
],
"icon": "Dokeos.png",
"implies": [
"PHP",
Expand Down Expand Up @@ -1598,7 +1606,9 @@
],
"cpe": "cpe:2.3:a:doxygen:doxygen:*:*:*:*:*:*:*:*",
"description": "Doxygen is a documentation generator, a tool for writing software reference documentation.",
"html": "(?:<!-- Generated by Doxygen ([\\d.]+)|<link[^>]+doxygen\\.css)\\;version:\\1",
"html": [
"(?:<!-- Generated by Doxygen ([\\d.]+)|<link[^>]+doxygen\\.css)\\;version:\\1"
],
"icon": "Doxygen.png",
"meta": {
"generator": "Doxygen ([\\d.]+)\\;version:\\1"
Expand All @@ -1619,7 +1629,9 @@
87
],
"description": "Header Footer Code Manager by Draftpress is a easy interface to add snippets to the header or footer or above or below the content of your page.",
"html": "<!--[^>]*HFCM\\sby\\s99\\sRobots",
"html": [
"<!--[^>]*HFCM\\sby\\s99\\sRobots"
],
"icon": "Draftpress.png",
"pricing": [
"freemium",
Expand Down Expand Up @@ -1881,7 +1893,9 @@
"X-Drupal-Cache": "",
"X-Generator": "^Drupal(?:\\s([\\d.]+))?\\;version:\\1"
},
"html": "<(?:link|style)[^>]+\"/sites/(?:default|all)/(?:themes|modules)/",
"html": [
"<(?:link|style)[^>]+\"/sites/(?:default|all)/(?:themes|modules)/"
],
"icon": "Drupal.svg",
"implies": "PHP",
"js": {
Expand All @@ -1902,7 +1916,9 @@
"cpe": "cpe:2.3:a:commerceguys:commerce:*:*:*:*:*:*:*:*",
"description": "Drupal Commerce is open-source ecommerce software that augments the content management system Drupal.",
"dom": "aside#cart-offcanvas, form.commerce-order-item-add-to-cart-form,form.commerce-add-to-cart",
"html": "<[^>]+(?:id=\"block[_-]commerce[_-]cart[_-]cart|class=\"commerce[_-]product[_-]field)",
"html": [
"<[^>]+(?:id=\"block[_-]commerce[_-]cart[_-]cart|class=\"commerce[_-]product[_-]field)"
],
"icon": "Drupal Commerce.png",
"implies": "Drupal",
"oss": true,
Expand Down
Loading