Skip to content
This repository has been archived by the owner on Sep 29, 2018. It is now read-only.
/ hook-finder Public archive

A tool to easily locate all hooks within a MyBB package - either the core of MyBB or a custom plugin.

License

Notifications You must be signed in to change notification settings

mybb/hook-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hook Finder

A tool to easily locate all hooks within a MyBB package - either the core of MyBB or a custom plugin.

This tool will traverse all PHP files within a given directory, looking for plugin hooks. All plugin hooks will then be written to a HTML file of your choosing.

Installation

You can download pre-built binaries for Windows, OS X and Linux from the Downloads page, or install the project using go:

go get github.com/mybb/hook-finder

Usage

The hook finder requires two parameters:

  • The path to the project to scan for hooks
  • The output file name

You run the tool as follows:

hook-finder -i /pat/to/mybb/root -o /path/to/hooks.html

The tool will then scan all of the PHP files in the specified directory and locate all available hooks which will then be written to the specified file.

About

A tool to easily locate all hooks within a MyBB package - either the core of MyBB or a custom plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published