You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Elbert Alias 06495cd90f
Add NACEX detection, add Nexive detection, add Parcelforce detection, add Post AG detection, add PostNL detection, add Poste Italiane detection, add Red je Pakketje detection, add Relais Colis.png detection, add Royal Mail.png detection, add Tipsa detection, add Trunkrs detection, add UK Mail.png detection, add UPS detection, add Whistl detection
3 years ago
..
drivers Add NACEX detection, add Nexive detection, add Parcelforce detection, add Post AG detection, add PostNL detection, add Poste Italiane detection, add Red je Pakketje detection, add Relais Colis.png detection, add Royal Mail.png detection, add Tipsa detection, add Trunkrs detection, add UK Mail.png detection, add UPS detection, add Whistl detection 3 years ago
technologies Add NACEX detection, add Nexive detection, add Parcelforce detection, add Post AG detection, add PostNL detection, add Poste Italiane detection, add Red je Pakketje detection, add Relais Colis.png detection, add Royal Mail.png detection, add Tipsa detection, add Trunkrs detection, add UK Mail.png detection, add UPS detection, add Whistl detection 3 years ago
README.md Inspect JavaScript files. Renamed `scripts` fields to `srciptSrc`, repurposed `scripts` field for in-file matches. 3 years ago
categories.json Add DHL detection. Add Shipping Carriers category. Add "text" detection method. Add "requiresCategory" field. 3 years ago
groups.json
package.json Add buy-me-a-coffee link 3 years ago
wappalyzer.js Add DHL detection. Add Shipping Carriers category. Add "text" detection method. Add "requiresCategory" field. 3 years ago

README.md

Wappalyzer core

Wappalyzer indentifies technologies on websites.

Installation

$ npm i wappalyzer-core

Usage

#!/usr/bin/env node

const fs = require('fs')
const Wappalyzer = require('./wappalyzer')

// See https://www.wappalyzer.com/docs/dev/specification or use
// https://raw.githubusercontent.com/AliasIO/wappalyzer/master/src/technologies
const categories = JSON.parse(
  fs.readFileSync(path.resolve(`./categories.json`))
)

let technologies = {}

for (const index of Array(27).keys()) {
  const character = index ? String.fromCharCode(index + 96) : '_'

  technologies = {
    ...technologies,
    ...JSON.parse(
      fs.readFileSync(
        path.resolve(`./technologies/${character}.json`)
      )
    ),
  }
}

Wappalyzer.setTechnologies(technologies)
Wappalyzer.setCategories(categories)

Wappalyzer.analyze({
  url: 'https://example.github.io/',
  meta: { generator: ['WordPress'] },
  headers: { server: ['Nginx'] },
  scriptSrc: ['jquery-3.0.0.js'],
  cookies: { awselb: [''] },
  html: '<div ng-app="">'
}).then((detections) => {
  const results = Wappalyzer.resolve(detections)

  console.log(results)
})