Giter VIP home page Giter VIP logo

nodeinject_hook_example's Introduction

NodeInject_Hook_example

A hooking example for NodeInject

About hook.js

WARNING

JUST FOR LEARNING!

PLEASE DO NOT ABUSE THIS SCRIPT CAPABILITY FOR THE PURPOSE OF INFRINGEMENT, AND YOU SHALL BEAR ALL CONSEQUENCES CAUSED BY YOUR ACTIONS.

Usage

  1. git clone https://github.com/DiamondHunters/NodeInject.git
  2. Replace hooklog.js with hook.js in this repo (or use no_embed feature and set NO_EMBED_HOOK_JS_PATH to the path of hook.js)
  3. Run cargo build or cargo build --features no_embed to build a type of executable (If you enabled no_embed feature, you need to copy hook.js to the same directory of executable)
  4. Run the executable

If you need a fake license, you can run cargo run in license-gen directory

This fake license is not valid and just used for testing. Please do not use it for any other purpose.

Ability

  • make typora to activate with the generated activation code (Test passed in version 1.5.8 on Windows,1.4.7 on Ubuntu)
  • hook console.log to remote http server and block override
  • hook electron-fetch for sniffing request
  • Full version compatibility (older version not using electron-fetch and may fail in the future)
  • Multi os compatibility (not work in macOS)

nodeinject_hook_example's People

Contributors

diamondhunters avatar javilak avatar aboyzy avatar

Stargazers

YYF2333 avatar  avatar

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.