Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 816 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 816 Bytes

Plugins

Plugin folders can be named anything you like, beside that, there are a couple of items that need to be correctly named.

  • plugin_folder - Any name is fine
    • plugin.py - The file which will be called by subfuz
    • __init__.py - File must exist in order to load the plugin

plugin.py must contain the following information:

NAME        = '<your unique plugin name>'
ARG_HELP    = '<your plugin help text>'


def execute(**kwargs):
    domain = kwargs['domain']
    config = kwargs['config']
    subfuz = kwargs['subfuz']
    
    credentials = config['api-key']

    # Exit / end plugin with
    return ['domain.com', 'subdomain.domain2.com']
    return None
    

See the plugin virustotal as sample or microsoft for interaction with subfuz core