Class |
Description |
|---|---|
|
|
|
|
|
Bases: object
RepoPlugin is mostly read-only, however you can install/uninstall enable/disable plugins. RepoPlugins are
created by parsing the plugins.json in a plugin repository.
Enable this plugin, optionally trying to force it. Force loading a plugin with ignore platform and api constraints. (e.g. The plugin author says the plugin will only work on Linux but you’d like to attempt to load it on macOS)
Boolean status indicating that the plugin will be deleted after the next restart
Boolean status indicating that the plugin’s dependencies are currently being installed
Boolean status indicating that the plugin will be disabled after the next restart
Maximum version info the plugin will support
Minimum version the plugin was tested on
Deprecated since version 4.0.5366: Use minimum_version_info instead.
Minimum version info the plugin was tested on
List of PluginType enumeration objects indicating the plugin type(s)
Optional sub-directory the plugin code lives in as a relative path from the plugin root
Bases: object
Repository is a read-only class. Use RepositoryManager to Enable/Disable/Install/Uninstall plugins.
handle (LP_BNRepository) –
None
List of RepoPlugin objects contained within this repository
Bases: object
RepositoryManager Keeps track of all the repositories and keeps the enabled_plugins.json file coherent with
the plugins that are installed/uninstalled enabled/disabled
add_repository adds a new plugin repository for the manager to track.
To remove a repository, restart Binary Ninja (and don’t re-add the repository!). File artifacts will remain on disk under repositories/ file in the User Folder.
Before you can query plugin metadata from a repository, you need to call check_for_updates.
Boolean value True if the repository was successfully added, False otherwise.
Boolean
>>> mgr = RepositoryManager()
>>> mgr.add_repository("https://raw.githubusercontent.com/Vector35/community-plugins/master/plugins.json", "community")
True
>>> mgr.check_for_updates()
>>>
Gets the default Repository
List of all RepoPlugins in each repository
List of Repository objects being managed