Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
cdp-reverter
Advanced tools
Generate Chrome DevTools Protocol Session code from a listen-to session.
If you use a hi-abstraction Chrome automation framework and want to understand how it works, this is the project you need.
Install the package:
npm install -g cdp-reverter
or using npx
npx cdp-reverter
then use it:
npx cdp-reverter --help
Usage: cdp-reverter [options]
Options:
-h, --dest-host <ip> host to to connect to (default: "127.0.0.1")
-s, --source <port> address to listen for incoming connections (default: "9223")
-d, --destination <port> Address of the Chrome developer port (default: "9222")
-i, --ignore <event> Ignore some events names (default: [])
-p, --prefix <name> output fule prefix (default: "code")
--help display help for command
Start it:
cdp-reverter --prefix code
You can now connect your automation script to http://127.0.0.1:9223
Any incoming connection will be forward to http://127.0.0.1:9222
Press any Enter to terminate the session
Launch your automation script on the cdp-reverter socket.
Press enter to generate a simple low-level Chrome DevTools Protocol script.
or with npx
npx cdp-reverter -s 9555 -d 9222 -p mysession
Once generated, you may need to re-order and wait for event lines. This generator cannot predict event timing by listening only to the Chrome DevTools Protocol Session.
FAQs
Generate a working CDP script from ws connexion
We found that cdp-reverter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.