New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic plugin functionality to Empire #790

Merged
merged 2 commits into from Nov 12, 2017

Conversation

Projects
None yet
2 participants
@DakotaNelson
Copy link
Contributor

DakotaNelson commented Oct 31, 2017

Still basic, but I think it's a good start.

To test:

(open empire)

plugins
(some output showing one row, "example", not active)
plugin example
(some output showing it's loading)
plugins
(some output, should see stars under "loaded")
help
(output, should see option "test" listed)
test
(MAGIC)

Current limitations:

  • no unloading functionality
else:
raise Exception("[!] Error: the plugin specified does not exist in {}.".format(pluginPath))

def load_plugin(self, module, pluginName):

This comment has been minimized.

@DakotaNelson

DakotaNelson Oct 31, 2017

Contributor

this should maybe be moved to lib/common/plugins.py?

@DakotaNelson

This comment has been minimized.

Copy link
Contributor

DakotaNelson commented Oct 31, 2017

Oh yeah, this will close (the already-closed) #225.

@DakotaNelson DakotaNelson changed the base branch from master to dev Oct 31, 2017

@xorrior

This comment has been minimized.

Copy link
Contributor

xorrior commented Nov 12, 2017

@DakotaNelson this is really cool. Working as intended, thanks again.

@xorrior xorrior merged commit 37e897f into EmpireProject:dev Nov 12, 2017

@DakotaNelson

This comment has been minimized.

Copy link
Contributor

DakotaNelson commented Nov 12, 2017

Awesome, thanks! 🎉

@DakotaNelson DakotaNelson deleted the DakotaNelson:plugins branch Nov 12, 2017

@DakotaNelson

This comment has been minimized.

Copy link
Contributor

DakotaNelson commented Dec 6, 2017

For future reference in case someone is confused and stumbles across this PR, I did a writeup on how this change works: https://strikersecurity.com/blog/empire-plugins/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment