Giter Club home page Giter Club logo

nodeinject_hook_example's Introduction

Hi there is Dia👋,

  • ✏️ C / TypeScript / Python / Java / Golang
  • 🌱 I’m currently learning Application Security Research
  • 🤔 I’m interesting in Program Analysis
  • 🔑 GPG key: 99C780A7D6059E29FCD71AAC959A67F49B84E0E9

nodeinject_hook_example's People

Contributors

diamondhunters avatar javilak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodeinject_hook_example's Issues

我用新旧几个版本尝试,发现都不可行。有成功可以分享一下如何成功吗?我的使用过程如下

分别clone NodeInject_Hook_exampleNodeInject项目到本地。
hook.js内容复制覆盖到NodeInject/src/hooklog.js。
NodeInject的根目录运行cargo build生成target目录。将NodeInject\target\debug\node_inject.exe复制放到Typora安装的根目录。
NodeInject_Hook_example\license-gen 下运行cargo build生成target目录。将NodeInject_Hook_example\license-gen\target\debug\license-gen.exe复制放到Typora安装的根目录。
Typora安装的根目录下用git bash先后正常运行node_inject.exe、license-gen.exe,拿license-gen.exe生成的序列号去输入验证。多次均未通过。
cargo版本:rustc 1.73.0 cargo 1.73.0

在更高版本失效

在 Ubuntu 20.04 amd64 上测试。
typora 1.5.3 失效。

typora 1.4.8 成功。下载
对 readme 补充如下:

  1. 使用 NodeInject 仓库中 src 目录下的 hook.js 替换本仓库中的hooklog.js。并修改main.rs中的hooklog.js。
  2. typora 路径 /usr/share/typora 使用 deb 包安装时,使用 tar 包安装,不会移动到这里。
  3. 在终端运行: ./Typora(在typora安装目录下),可见hook过程:
❯ ./Typora                                                                                                          ─╯
Hook Init
Require events
Require electron-fetch
Hooking electron-fetch
Require package.json
...

备用仓库:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.