Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
puppeteer-extra — 💯 Insegna nuovi trucchi a Puppeteer tramite plugin. | Kitploit
Strumenti/GitHubGitHub/berstend/puppeteer-extra
Scripting e AutomazioneUtilità e FrameworkCrawlerSpoofing dell'Impronta DigitaleBypass CAPTCHA
GitHubberstend/puppeteer-extra

puppeteer-extra

💯 Insegna nuovi trucchi a Puppeteer tramite plugin.

Vedi Repository
7.4k7812 anni faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
Sito web

puppeteer-extra Downloads

Questo è il monorepo per puppeteer-extra, un framework modulare per plugin per puppeteer. :-)

🌟 Per la documentazione principale, consulta il pacchetto puppeteer-extra.

Abbiamo anche recentemente introdotto il supporto per Playwright; se ti interessa, dai un'occhiata a playwright-extra.

Monorepo

Contribuire

Contribuire

PR e nuovi plugin sono i benvenuti! L'API dei plugin per puppeteer-extra è pulita e divertente da usare. Dai un'occhiata alla documentazione della classe base PuppeteerExtraPlugin per iniziare e dai un'occhiata ai plugin esistenti (l'esempio minimale è il plugin anonymize-ua) come riferimento.

Utilizziamo una monorepo basata su Lerna (e yarn workspaces), ava per i test, lo stile standard per il linting e JSDoc ampiamente per auto-generare la documentazione markdown basata sul codice. :-)

Lerna

Lerna

Questa monorepo è basata su Lerna e yarn workspaces.

Configurazione iniziale

root@kitploit:~
# Install deps
yarn

# Bootstrap the packages in the current Lerna repo.
# Installs all of their dependencies and links any cross-dependencies.
yarn bootstrap

# Build all TypeScript sources
yarn build

Flusso di sviluppo

root@kitploit:~
# Install debug in all packages
yarn lerna add debug

# Install fs-extra to puppeteer-extra-plugin-user-data-dir
yarn lerna add fs-extra --scope=puppeteer-extra-plugin-user-data-dir

# Remove dependency
# https://github.com/lerna/lerna/issues/833
yarn lerna exec --concurrency 1 'yarn remove fs-extra; echo 0'

# Run test in all packages
yarn test

# Update JSDoc based documentation in markdown files
yarn docs

# Upgrade project wide deps like puppeteer
# (We keep the devDependency version blurry)
rm -rf node_modules
rm -rf yarn.lock
yarn
yarn lerna bootstrap

# Update deps within packages (interactive)
yarn lernaupdate

# If in doubt :-(
yarn lerna exec "rm -f yarn.lock; rm -rf node_modules; echo 0"
rm -f yarn.lock &&  rm -rf node_modules && yarn cache clean

# Run tests of specific package
cd packages/puppeteer-extra-plugin-stealth
yarn test

# Run tests of specific stealth evasion
cd packages/puppeteer-extra-plugin-stealth
yarn ava -v ./evasions/user-agent-override/index.test.js

# Test a local monorepo package in an outside folder as it would've been installed from the registry
# Change PACKAGE_DIR to the path of this monorepo and PACKAGE to the package you wish to install
PACKAGE=puppeteer-extra PACKAGE_DIR=/Users/foo/puppeteer-extra/packages && yarn remove $(echo $PACKAGE); true && rm -f $(pwd)/$(echo $PACKAGE)-latest.tgz && yarn --cwd $(echo $PACKAGE_DIR)/$(echo $PACKAGE) pack --filename $(pwd)/$(echo $PACKAGE)-latest.tgz && YARN_CACHE_FOLDER=/tmp/yarn yarn add file:$(pwd)/$(echo $PACKAGE)-latest.tgz && rm -rf /tmp/yarn

Scarica lo strumento

Pubblicazione

root@kitploit:~
# make sure you're signed into npm before publishing
# yarn publishing is broken so lerna uses npm
npm whoami

# ensure everything is up2date and peachy
yarn
yarn bootstrap
yarn lerna link
yarn build
yarn test

# Phew, let's publish these packages!
# - Will publish all changed packages
# - Will ask for new pkg version per package
# - Will updated inter-package dependency versions automatically
yarn lerna publish

# Fix new dependency version symlinks
yarn bootstrap && yarn lerna link