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.intruder;
import java.util.List;
/** Shared change-notification plumbing for the payload generators. */
abstract class AbstractGenerator implements PayloadGenerator {
private Runnable onChange;
protected java.util.List<String> base = java.util.List.of();
@Override public void onChange(Runnable r) { this.onChange = r; }
@Override public void setBase(List<String> b) {
this.base = b == null ? java.util.List.of() : b;
}
/** Notify the owning set that the count may have changed. */
protected void fire() { if (onChange != null) onChange.run(); }
}