Package lexfo.scalpel
Class Scalpel
java.lang.Object
lexfo.scalpel.Scalpel
- All Implemented Interfaces:
BurpExtension
The main class of the extension.
This class is instantiated by Burp Suite and is used to initialize the extension.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MontoyaApiThe MontoyaApi object used to interact with Burp Suite.private Configprivate ScalpelExecutorThe ScalpelExecutor object used to execute Python scripts. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(MontoyaApi API) Initializes the extension.private static voidprivate static voidsetupJepFromConfig(Config config) private static voidwaitForExecutor(MontoyaApi API, ScalpelEditorProvider provider, ScalpelExecutor executor)
-
Field Details
-
executor
The ScalpelExecutor object used to execute Python scripts. -
API
The MontoyaApi object used to interact with Burp Suite. -
config
-
-
Constructor Details
-
Scalpel
public Scalpel()
-
-
Method Details
-
logConfig
-
setupJepFromConfig
- Throws:
IOException
-
waitForExecutor
private static void waitForExecutor(MontoyaApi API, ScalpelEditorProvider provider, ScalpelExecutor executor) -
initialize
Initializes the extension.- Specified by:
initializein interfaceBurpExtension- Parameters:
API- The MontoyaApi object to use.
-