百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
J

jscythe

> 编程语言
开源

滥用 Node.js 监控机制,以强制任何基于 Node.js/electron/v8 的进程执行任意 JavaScript 代码。

331 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

滥用 Node.js 监控机制,以强制任何基于 Node.js/electron/v8 的进程执行任意 JavaScript 代码。

jscythe abuses the node.js inspector mechanism in order to force any node.js/electron/v8 based process to execute arbitrary javascript code, even if their debugging capabilities are disabled.

Tested and working against Visual Studio Code, Discord, any Node.js application and more!

How

  1. Locate the target process.
  2. Send SIGUSR1 signal to the process, this will enable the debugger on a port (depending on the software, sometimes it's random, sometimes it's not).
  3. Determine debugging port by diffing open ports before and after sending SIGUSR1.
  4. Get the websocket debugging URL and session id from http://localhost:/json.
  5. Send a Runtime.evaluate request with the provided code.
  6. Profit.

Building

bash
cargo build --release

Running

Target a specific process and execute a basic expression:

bash
./target/release/jscythe --pid 666 --code "5 - 3 + 2"

Execute code from a file:

bash
./target/release/jscythe --pid 666 --script example_script.js

The example_script.js can require any node module and execute any code, like:

javascript
require('child_process').spawnSync('/System/Applications/Calculator.app/Contents/MacOS/Calculator', { encoding : 'utf8' }).stdout

Search process by expression:

bash
./target/release/jscythe --search extensionHost --script example_script.js

Other options

Run jscythe --help for the complete list of options.

License

This project is made with ♥ by @evilsocket and it is released under the GPL3 license.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言