madeITBelgium / Wappalyzer

PHP Library that uncovers the technologies used on websites.
GNU General Public License v3.0
12 stars 7 forks source link

Strange <style> tag in some website #3

Closed Trusted97 closed 4 years ago

Trusted97 commented 4 years ago

Hi! I'm giving a look on some website with this php library and while for some of this i don't have any kind of problem for others i get a weird style tag i've try to read the documentation but i can't find it

For replicate the error use the latest version avaible on composer then analyze this website https://www.canzonidisney.it


array(3) {
--
  | ["url"]=>
  | string(28) "https://www.canzonidisney.it"
  | ["language"]=>
  | string(2) "it"
  | ["detected"]=>
  | array(7) {
  | ["Bootstrap"]=>
  | array(10) {
  | ["cats"]=>
  | array(1) {
  | [0]=>
  | int(66)
  | }
  | ["cpe"]=>
  | string(29) "cpe:/a:getbootstrap:bootstrap"
  | ["html"]=>
  | array(2) {
  | [0]=>
  | string(55) "<style>\s+/\*!\s+\* Bootstrap v(\d\.\d\.\d)\;version:\1"
  | [1]=>
  | string(122) "<link[^>]* href=[^>]*?bootstrap(?:[^>]*?([0-9a-fA-F]{7,40}\|[\d]+(?:.[\d]+(?:.[\d]+)?)?)\|)[^>]*?(?:\.min)?\.css\;version:\1"
  | }
  | ["icon"]=>
  | string(13) "Bootstrap.svg"
  | ["implies"]=>
  | array(1) {
  | [0]=>
  | string(21) "jQuery\;confidence:50"
  | }
  | ["js"]=>
  | array(2) {
  | ["bootstrap.Alert.VERSION"]=>
  | string(18) "^(.+)$\;version:\1"
  | ["jQuery.fn.tooltip.Constructor.VERSION"]=>
  | string(18) "^(.+)$\;version:\1"
  | }
  | ["scripts"]=>
  | array(1) {
  | [0]=>
  | string(99) "bootstrap(?:[^>]*?([0-9a-fA-F]{7,40}\|[\d]+(?:.[\d]+(?:.[\d]+)?)?)\|)[^>]*?(?:\.min)?\.js\;version:\1"
  | }
  | ["description"]=>
  | string(243) "Bootstrap is a free and open-source CSS framework directed at responsive, mobile-first front-end web development. It contains CSS and JavaScript-based design templates for typography, forms, buttons, navigation, and other interface components."
  | ["website"]=>
  | string(24) "https://getbootstrap.com"
  | ["detected"]=>
  | bool(true)
  | }
  | ["Cloudflare"]=>
  | array(8) {
  | ["cats"]=>
  | array(1) {
  | [0]=>
  | int(31)
  | }
  | ["cookies"]=>
  | array(1) {
  | ["__cfduid"]=>
  | string(0) ""
  | }
  | ["description"]=>
  | string(190) "Cloudflare is a web-infrastructure and website-security company, providing content-delivery-network services, DDoS mitigation, Internet security, and distributed domain-name-server services."
  | ["headers"]=>
  | array(3) {
  | ["Server"]=>
  | string(12) "^cloudflare$"
  | ["cf-cache-status"]=>
  | string(0) ""
  | ["cf-ray"]=>
  | string(0) ""
  | }
  | ["icon"]=>
  | string(14) "CloudFlare.svg"
  | ["js"]=>
  | array(1) {
  | ["CloudFlare"]=>
  | string(0) ""
  | }
  | ["website"]=>
  | string(25) "http://www.cloudflare.com"
  | ["detected"]=>
  | bool(true)
  | }
  | ["CodeIgniter"]=>
  | array(8) {
  | ["cats"]=>
  | array(1) {
  | [0]=>
  | int(18)
  | }
  | ["cookies"]=>
  | array(4) {
  | ["ci_csrf_token"]=>
  | string(22) "^(.+)$\;version:\1?2+:"
  | ["ci_session"]=>
  | string(0) ""
  | ["exp_last_activity"]=>
  | string(0) ""
  | ["exp_tracker"]=>
  | string(0) ""
  | }
  | ["cpe"]=>
  | string(30) "cpe:/a:codeigniter:codeigniter"
  | ["html"]=>
  | string(43) "<input[^>]+name="ci_csrf_token"\;version:2+"
  | ["icon"]=>
  | string(15) "CodeIgniter.png"
  | ["implies"]=>
  | string(3) "PHP"
  | ["website"]=>
  | string(22) "http://codeigniter.com"
  | ["detected"]=>
  | bool(true)
  | }
  | ["Google Font API"]=>
  | array(8) {
  | ["cats"]=>
  | array(1) {
  | [0]=>
  | int(17)
  | }
  | ["html"]=>
  | string(54) "<link[^>]* href=[^>]+fonts\.(?:googleapis\|google)\.com"
  | ["icon"]=>
  | string(19) "Google Font API.png"
  | ["js"]=>
  | array(1) {
  | ["WebFonts"]=>
  | string(0) ""
  | }
  | ["scripts"]=>
  | string(25) "googleapis\.com/.+webfont"
  | ["description"]=>
  | string(107) "Google Font API is a web service that supports open-source font files that can be used on your web designs."
  | ["website"]=>
  | string(23) "http://google.com/fonts"
  | ["detected"]=>
  | bool(true)
  | }
  | ["Google Tag Manager"]=>
  | array(8) {
  | ["cats"]=>
  | array(1) {
  | [0]=>
  | int(42)
  | }
  | ["description"]=>
  | string(199) "Google Tag Manager is a tag management system (TMS) that allows you to quickly and easily update measurement codes and related code fragments collectively known as tags on your website or mobile app."
  | ["html"]=>
  | array(2) {
  | [0]=>
  | string(45) "googletagmanager\.com/ns\.html[^>]+></iframe>"
  | [1]=>
  | string(36) "<!-- (?:End )?Google Tag Manager -->"
  | }
  | ["icon"]=>
  | string(22) "Google Tag Manager.png"
  | ["js"]=>
  | array(2) {
  | ["google_tag_manager"]=>
  | string(0) ""
  | ["googletag"]=>
  | string(0) ""
  | }
  | ["scripts"]=>
  | array(1) {
  | [0]=>
  | string(29) "googletagmanager\.com/gtm\.js"
  | }
  | ["website"]=>
  | string(32) "http://www.google.com/tagmanager"
  | ["detected"]=>
  | bool(true)
  | }
  | ["jQuery"]=>
  | array(7) {
  | ["cats"]=>
  | array(1) {
  | [0]=>
  | int(59)
  | }
  | ["cpe"]=>
  | string(20) "cpe:/a:jquery:jquery"
  | ["description"]=>
  | string(183) "jQuery is a JavaScript library which is a free, open-source software designed to simplify HTML DOM tree traversal and manipulation, as well as event handling, CSS animation, and Ajax."
  | ["icon"]=>
  | string(10) "jQuery.svg"
  | ["js"]=>
  | array(1) {
  | ["jQuery.fn.jquery"]=>
  | string(20) "([\d.]+)\;version:\1"
  | }
  | ["scripts"]=>
  | array(3) {
  | [0]=>
  | string(41) "jquery[.-]([\d.]*\d)[^/]*\.js\;version:\1"
  | [1]=>
  | string(42) "/([\d.]+)/jquery(?:\.min)?\.js\;version:\1"
  | [2]=>
  | string(52) "jquery.*\.js(?:\?ver(?:sion)?=([\d.]+))?\;version:\1"
  | }
  | ["website"]=>
  | string(18) "https://jquery.com"
  | }
  | ["PHP"]=>
  | array(8) {
  | ["cats"]=>
  | array(1) {
  | [0]=>
  | int(27)
  | }
  | ["cookies"]=>
  | array(1) {
  | ["PHPSESSID"]=>
  | string(0) ""
  | }
  | ["cpe"]=>
  | string(14) "cpe:/a:php:php"
  | ["description"]=>
  | string(69) "PHP is a general-purpose scripting language used for web development."
  | ["headers"]=>
  | array(2) {
  | ["Server"]=>
  | string(26) "php/?([\d.]+)?\;version:\1"
  | ["X-Powered-By"]=>
  | string(27) "^php/?([\d.]+)?\;version:\1"
  | }
  | ["icon"]=>
  | string(7) "PHP.svg"
  | ["url"]=>
  | string(13) "\.php(?:$\|\?)"
  | ["website"]=>
  | string(14) "http://php.net"
  | }
  | }
  | }
madeITBelgium commented 4 years ago

Can you share more about the problem you have? For me, the results seem OK.

Trusted97 commented 4 years ago

I've a strange