|
|
|
@ -21,22 +21,27 @@ wappalyzer <url> [options]
|
|
|
|
|
#### Options
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
-b, --batch-size=... Process links in batches
|
|
|
|
|
-d, --debug Output debug messages
|
|
|
|
|
-t, --delay=ms Wait for ms milliseconds between requests
|
|
|
|
|
-h, --help This text
|
|
|
|
|
--html-max-cols=... Limit the number of HTML characters per line processed
|
|
|
|
|
--html-max-rows=... Limit the number of HTML lines processed
|
|
|
|
|
-D, --max-depth=... Don't analyse pages more than num levels deep
|
|
|
|
|
-m, --max-urls=... Exit when num URLs have been analysed
|
|
|
|
|
-w, --max-wait=... Wait no more than ms milliseconds for page resources to load
|
|
|
|
|
-P, --pretty Pretty-print JSON output
|
|
|
|
|
-p, --probe Perform a deeper scan by performing additional requests and inspecting DNS records
|
|
|
|
|
--proxy=... Proxy URL, e.g. 'http://user:pass@proxy:8080'
|
|
|
|
|
-r, --recursive Follow links on pages (crawler)
|
|
|
|
|
-a, --user-agent=... Set the user agent string
|
|
|
|
|
-n, --no-scripts Disabled JavaScript on web pages
|
|
|
|
|
-N, --no-redirect Disable cross-domain redirects
|
|
|
|
|
-b, --batch-size=... Process links in batches
|
|
|
|
|
-d, --debug Output debug messages
|
|
|
|
|
-t, --delay=ms Wait for ms milliseconds between requests
|
|
|
|
|
-h, --help This text
|
|
|
|
|
-H, --header Extra header to send with requests
|
|
|
|
|
--html-max-cols=... Limit the number of HTML characters per line processed
|
|
|
|
|
--html-max-rows=... Limit the number of HTML lines processed
|
|
|
|
|
-D, --max-depth=... Don't analyse pages more than num levels deep
|
|
|
|
|
-m, --max-urls=... Exit when num URLs have been analysed
|
|
|
|
|
-w, --max-wait=... Wait no more than ms milliseconds for page resources to load
|
|
|
|
|
-p, --probe=[basic|full] Perform a deeper scan by performing additional requests and inspecting DNS records
|
|
|
|
|
-P, --pretty Pretty-print JSON output
|
|
|
|
|
--proxy=... Proxy URL, e.g. 'http://user:pass@proxy:8080'
|
|
|
|
|
-r, --recursive Follow links on pages (crawler)
|
|
|
|
|
-a, --user-agent=... Set the user agent string
|
|
|
|
|
-n, --no-scripts Disabled JavaScript on web pages
|
|
|
|
|
-N, --no-redirect Disable cross-domain redirects
|
|
|
|
|
-e, --extended Output additional information
|
|
|
|
|
--local-storage=... JSON object to use as local storage
|
|
|
|
|
--session-storage=... JSON object to use as session storage
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -51,9 +56,9 @@ $ npm i wappalyzer
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
|
const Wappalyzer = require('wappalyzer');
|
|
|
|
|
const Wappalyzer = require('wappalyzer')
|
|
|
|
|
|
|
|
|
|
const url = 'https://www.wappalyzer.com';
|
|
|
|
|
const url = 'https://www.wappalyzer.com'
|
|
|
|
|
|
|
|
|
|
const options = {
|
|
|
|
|
debug: false,
|
|
|
|
@ -81,7 +86,13 @@ const wappalyzer = new Wappalyzer(options)
|
|
|
|
|
// Optionally set additional request headers
|
|
|
|
|
const headers = {}
|
|
|
|
|
|
|
|
|
|
const site = await wappalyzer.open(url, headers)
|
|
|
|
|
// Optionally set local and/or session storage
|
|
|
|
|
const storage = {
|
|
|
|
|
local: {}
|
|
|
|
|
session: {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const site = await wappalyzer.open(url, headers, storage)
|
|
|
|
|
|
|
|
|
|
// Optionally capture and output errors
|
|
|
|
|
site.on('error', console.error)
|
|
|
|
|