ManticoreUI icon indicating copy to clipboard operation
ManticoreUI copied to clipboard

Convert from UI settings to Python script

Open ekilmer opened this issue 3 years ago • 0 comments

During initial exploration of a target, it is easier to specify points of interest with the UI, but if a user wants to write additional logic or even just have the ability to run the same logic from the command-line, then they should be able to do that.

One way to do this would be to export a sort of human-readable configuration file that represents the state of the current Manticore configuration, as specified through the UI.

The configuration file could be passed to a new tool that would do some Python code generation to create a Manticore script that would be used as a starting point for writing more logic. The layout and fields of the configuration file should probably follow closely with the upcoming MUICore messages in the hope that eventually a UI could also be initialized.

The implementation for the codegen isn't decided but there are templating engines that would be good to look at first, like Jinja.

ekilmer avatar Mar 02 '22 22:03 ekilmer