A free, open-source alternative to Burp Suite: an intercepting proxy and web app security testing suite with Repeater, Intruder, Collaborator and a built-in OWASP ZAP scanner. Linux, AGPL-3.0.
Java application-securityappsecbug-bountyburp-alternativeburp-suitedasthttp-proxyinfosecintercepting-proxyjavaowaspowasp-zappenetration-testingpentestingsecuritysecurity-toolsvulnerability-scannerweb-application-securityweb-security
package opensuite.ui;
/**
* Classifies the "engagement tool" sinks, which the reference groups in an
* Engagement tools submenu rather than listing flat beside Repeater and Intruder.
*/
public final class Engagement {
private Engagement() {}
/** True for a sink that belongs in the Engagement tools submenu. */
public static boolean isEngagement(String t) {
return "CSRF PoC".equals(t) || "clickjacking PoC".equals(t) || "content discovery".equals(t)
|| "find references".equals(t) || "find comments".equals(t)
|| "find scripts".equals(t) || "analyse target".equals(t)
|| "compare site maps".equals(t);
}
/**
* True for an engagement tool that needs one specific request to work on, so
* it only makes sense where there is a single request (a CSRF PoC), not on a
* host or folder. Content discovery works from a path, so it does not.
*/
public static boolean needsRequest(String t) {
return "CSRF PoC".equals(t) || "clickjacking PoC".equals(t);
}
/** The submenu label for an engagement tool. */
public static String label(String t) {
return switch (t) {
case "CSRF PoC" -> "Generate CSRF PoC";
case "clickjacking PoC" -> "Generate clickjacking PoC";
case "content discovery" -> "Discover content";
case "find references" -> "Find references";
case "find comments" -> "Find comments";
case "find scripts" -> "Find scripts";
case "analyse target" -> "Analyse target";
case "compare site maps" -> "Compare site maps";
default -> t;
};
}
}