Plugins are standard PERL which follow a standard Nikto naming format. All plugins must be named in the pattern nikto_name.plugin, where "name" is the name of the plugin. The file must have a subroutine named the same as the file name without the ".plugin" extension. For example, a plugin named nikto_mycode.plugin would need a subroutine called "sub nikto_mycode()", which would be executed when called.
All plugins must also be placed in the nikto_plugin_order.txt file in the proper location for execution, otherwise it will not be called.
See the section "Test Identifiers" for how to select and create a unique identifier for any test written in code, and how to ensure the test result is stored in saved output.