class documentation

class BackendPluginFactory(object): (source)

View In Hierarchy

This is a backend plugin factory a backend instance MUST be created via the static method create() ie : mybackend = BackendPluginFactory.create()

Class Method create Import the needed lib and return an object NmapBackendPlugin representing the backend of your desire. NmapBackendPlugin is an abstract class, to know what argument need to be given, review the code of the subclass you need :param plugin_name: str : name of the py file without...
@classmethod
def create(cls, plugin_name='mongodb', **kwargs): (source)

Import the needed lib and return an object NmapBackendPlugin representing the backend of your desire. NmapBackendPlugin is an abstract class, to know what argument need to be given, review the code of the subclass you need :param plugin_name: str : name of the py file without .py :return: NmapBackend (abstract class on top of all plugin)