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
1924be9d14
|
5 years ago | |
---|---|---|
.. | ||
drivers | 5 years ago | |
README.md | 5 years ago | |
apps.json | 5 years ago | |
package.json | 5 years ago | |
wappalyzer.js | 5 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
const { apps: technologies, categories } = JSON.parse(
fs.readFileSync('./apps.json')
)
Wappalyzer.setTechnologies(technologies)
Wappalyzer.setCategories(categories)
const detections = Wappalyzer.analyze({
url: 'https://example.github.io/',
meta: { generator: ['WordPress'] },
headers: { server: ['Nginx'] },
scripts: ['jquery-3.0.0.js'],
cookies: { awselb: [''] },
html: '<div ng-app="">'
})
const results = Wappalyzer.resolve(detections)
console.log(results)