Package v1.sulphurapi.core
Class SAPI
java.lang.Object
v1.sulphurapi.core.SAPI
-
Method Summary
Modifier and TypeMethodDescriptionstatic burp.api.montoya.MontoyaApigetAPI()static Booleanstatic io.swagger.v3.oas.models.OpenAPIstatic JPanelstatic voidinitAPI(burp.api.montoya.MontoyaApi api) Saves the MontoyaApi instance.static voidloadAPI(io.swagger.v3.oas.models.OpenAPI api) Saves the OpenAPI instance to be used later.static voidloadControlPanel(ControlPanel panel) Load settings panelstatic voidloadUIPanel(JPanel uiPanel) Saves the UIPanel instance to be used later.static voidDefault logging method to log error messages in burp suite.static voidDefault logging method to log information messages in burp suite.
-
Method Details
-
getAPI
public static burp.api.montoya.MontoyaApi getAPI() -
getLoadedAPI
public static io.swagger.v3.oas.models.OpenAPI getLoadedAPI() -
getUIPanel
-
initAPI
public static void initAPI(burp.api.montoya.MontoyaApi api) Saves the MontoyaApi instance.- Parameters:
api- The MontoyaApi instance to initialize.
-
loadAPI
public static void loadAPI(io.swagger.v3.oas.models.OpenAPI api) Saves the OpenAPI instance to be used later.- Parameters:
api- The OpenAPI instance to load.
-
loadUIPanel
Saves the UIPanel instance to be used later.- Parameters:
uiPanel- The JPanel instance to load.
-
loadControlPanel
Load settings panel -
getDebugMode
-
logInfo
Default logging method to log information messages in burp suite. -
logError
Default logging method to log error messages in burp suite.
-