binaryninja.pluginmanager.RepoPlugin

class RepoPlugin(handle)[source]

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.

__init__(handle)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(handle)

Initialize self.

enable([force])

Enable this plugin, optionally trying to force it.

install()

Attempt to install the given plugin

install_dependencies()

install_instructions(platform)

Installation instructions for the given platform

uninstall()

Attempt to uninstall the given plugin

Attributes

api

String indicating the API used by the plugin

author

String of the plugin author

author_url

String URL of the plugin author’s url

being_deleted

Boolean status indicating that the plugin is being deleted

being_updated

Boolean status indicating that the plugin is being updated

delete_pending

Boolean status indicating that the plugin will be deleted after the next restart

dependencies

Dependencies required for installing this plugin

dependencies_being_installed

Boolean status indicating that the plugin’s dependencies are currently being installed

description

String short description of the plugin

disable_pending

Boolean status indicating that the plugin will be disabled after the next restart

enabled

Boolean True if the plugin is currently enabled, False otherwise

install_platforms

List of platforms this plugin can execute on

installed

Boolean True if the plugin is installed, False otherwise

last_update

Returns a datetime object representing the plugins last update

license

String short license description (ie MIT, BSD, GPLv2, etc)

license_text

String complete license text for the given plugin

long_description

String long description of the plugin

minimum_version

String minimum version the plugin was tested on

name

String name of the plugin

package_url

String URL of the plugin’s zip file

path

Relative path from the base of the repository to the actual plugin

plugin_types

List of PluginType enumeration objects indicating the plugin type(s)

project_data

Gets a json object of the project data field

project_url

String URL of the plugin’s git repository

running

Boolean status indicating that the plugin is currently running

update_available

Boolean status indicating that the plugin has updates available

update_pending

Boolean status indicating that the plugin has updates will be installed after the next restart

version

String version of the plugin