extract-stealth-evasions

2.7.3 • Public • Published

extract-stealth-evasions

This script offers a quick way to extract the latest stealth evasions from puppeteer-extra-stealth to (minified) JavaScript. The resulting JS file can be used in pure CDP implementations or to test the evasions in your devtools.

Usage with npx

You don't need to install anything, npx runs wherever NodeJS is installed. :-)

npx extract-stealth-evasions

Will create a stealth.min.js file in the current folder.

Using the CDN version

You can also fetch the latest version from gitCDN. For example, paste this one-liner in your browser devtools console:

document.body.appendChild(Object.assign(document.createElement('script'), {src: 'https://gitcdn.xyz/repo/berstend/puppeteer-extra/stealth-js/stealth.min.js'}))

How to use locally

yarn install
node index.js

Use the resulting stealth.min.js file however you like.

Options

$ npx extract-stealth-evasions -h
Usage: extract-stealth-evasions [options]

Options:
  --version      Show version number                                   [boolean]
  -e, --exclude  Exclude evasion (repeat for multiple)
  -i, --include  Include evasion (repeat for multiple)
  -l, --list     List available evasions
  -h, --help     Show help                                             [boolean]
  -m, --minify   Minify the output                     [boolean] [default: true]

Package Sidebar

Install

npm i extract-stealth-evasions

Weekly Downloads

25

Version

2.7.3

License

MIT

Unpacked Size

6.13 kB

Total Files

4

Last publish

Collaborators

  • berstend