Skip to content

A simple and user-friendly Java bytecode hook framework

License

Notifications You must be signed in to change notification settings

xtherk/bytehook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ByteHook

A simple and user-friendly Java bytecode hook framework can obtain the ability to modify methods without knowing the bytecode knowledge.

Usage

Youtube-Demo video

bytehook-examples

<dependency>
    <groupId>io.github.xtherk</groupId>
    <artifactId>bytehook-sdk</artifactId>
    <version>1.0.1</version>
    <scope>provided</scope>
</dependency>

<repositories>
    <repository>
        <id>ossrh</id>
        <name>ossrh</name>
        <url>https://s01.oss.sonatype.org/content/repositories/releases</url>
        <releases>
            <enabled>true</enabled>
        </releases>
    </repository>
</repositories>

Non-development environment directory structure

app
 ├── app.jar
 ├── bytehook-agent.jar
 └── modules
     └── your-module.jar

Please refer to https://github.com/xtherk/bytehook-examples/releases/tag/v1.0.0

Features

  • Replace the target method
  • Similar to AOP(Aspect Oriented Programming)

Credits

About

A simple and user-friendly Java bytecode hook framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages