Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

πŸ” Intercept and modify Java methods in Android apps with FHook, a full-function HOOK framework for efficient debugging and testing.

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.agent-binary
Notifications You must be signed in to change notification settings

baherbebo/FHook

Repository files navigation

🎣 FHook - Simplifying Java Method Hooks Effortlessly

Language: English Β· Chinese

Download FHook

πŸš€ Getting Started

FHook is a powerful tool that allows users to observe and modify Java method actions in Android apps. It can help quickly diagnose problems and improve app performance without changing source code.

πŸ› οΈ System Requirements

  • Android device with version 9 or higher (API 28+).
  • Basic familiarity with installing applications on your Android device.
  • Permission to use the app for lawful purposes.

πŸ“₯ Download & Install

To get started, visit this page to download: GitHub Releases.

After downloading, follow these steps:

  1. Open the downloaded file.
  2. Allow the installation if prompted.
  3. Follow the on-screen instructions to finish setup.

πŸ” What Problem Does It Solve?

FHook addresses several common needs in app development:

  • Rapid Observation: See call stacks, arguments, and return values while the app runs. This offers insights without altering the code.

  • Temporary Patching: Change arguments or returns and input "mock data." This helps you confirm various branches of your codebase.

  • Batch Coverage: Target common system hotspots like class loading and preferences updates. This feature helps ensure your app performs optimally.

🌟 Features

  • Debug Mode: Initialize and use FHook directly within your app for convenience.

  • Flexible Integration: Choose from three options:

    • Gradle Dependency (easy setup)
    • Source Integration (for more control)
    • App Injection (for advanced use under compliance)
  • Broad Compatibility: Works with Android versions 9 and above, including the latest releases.

πŸŽ“ How to Use FHook

Follow these simple steps to make the most out of FHook:

  1. Initialize the Tool: Begin by adding the FHook framework to your project using your preferred integration method.

  2. Set Up Hooks: Define which Java methods you want to observe or modify. You can easily set hooks on functions across your application.

  3. Run Your App: Start your app as usual. FHook will gather the necessary data and present it to you in a readable format.

  4. Analyze Data: Check the console or logs for printouts of method calls, arguments, and returns.

  5. Adjust As Needed: If you discover issues, temporarily patch methods using FHook to see immediate results.

πŸ”§ Troubleshooting

If you encounter issues, consider these steps:

  • Ensure your device runs Android 9 or above.
  • Review your integration method, verifying you followed the documentation closely.
  • Consult community discussions on GitHub for common questions and answers.

For further assistance, feel free to check the GitHub Issues page for troubleshooting help.

πŸ“ž Support

Need support? You can reach out to the community or file an issue on the GitHub repository. Ensure you provide details of your problem to receive effective help.

Remember, FHook is meant for lawful security research, testing, and debugging. Always ensure you have permission to work with any application or method you choose to hook.

πŸ‘₯ Community Contributions

FHook thrives on community involvement. Any contributions, whether through feedback, feature requests, or code, are welcome. Visit the project page for details on how to contribute.


To download and experience FHook, visit GitHub Releases now. Happy debugging!

About

πŸ” Intercept and modify Java methods in Android apps with FHook, a full-function HOOK framework for efficient debugging and testing.

Topics

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.agent-binary

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /