hook-finder

module
v0.0.0-...-7180a12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2018 License: BSD-3-Clause

README

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL