Thank you so much, I have a follow up question if you don't mind.
I'm trying to initialize the interactsh values from what I found in the developer site and the index. So I have the following:
public void init() {
final ExtensionOast extOast = Control.getSingleton().getExtensionLoader().getExtension(ExtensionOast.class);
final InteractshService interact = extOast.getInteractshService();
interact.getParam().setServerUrl(interactshURL);
interact.getParam().setAuthToken(interactshToken);
interact.getParam().setPollingFrequency(10);
try {
final String payload = interact.getNewPayload();
} catch (final Exception e1) {
e1.printStackTrace();
}
}
What is the best way for me to get the values for interactshURL, and interactshToken if I need to get them from an API call? I can't hardcode the information into the addon. So I need to reach out to an api to get the proper url and token values. This might just be more of a java question than a zap but trying to emulate the curl functionality in java through HttpURLConnection did not work for me.