Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for non-Ruby modules #8178
Finds and runs executables in the
N.B.: This interface is extremely experimental and will change.
@acammack-r7 I sent you a PR moving the msf-specific bits from the exploit to a library: https://github.com/acammack-r7/metasploit-framework/pull/3/files
Apr 3, 2017
1 check passed
pushed a commit
this pull request
Apr 3, 2017
Initial support has been added for running modules written in arbitrary languages to Metasploit Framework, including an example module written in Python. Instead of being loaded into memory, modules communicate with the framework as standalone child processes, using JSON-RPC over stdin/out.
Next steps, we'll probably want to add a bit of error handling, and probably some language-specific loaders that can do smarter things (e.g. a Python-specific loader that can run in OSes without an execute bit, ability to augment the environment with metasploit-specific libraries that can be reused between modules, can determine if we even have the right environment to run it in, etc.)