File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/zaproxy/zap/extension/jwt/attacks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ public class SignatureAttack implements JWTAttack {
9999 */
100100 private boolean executePubliclyWellKnownHMacSecretAttack () {
101101 // will only run for high or insane strength
102- if (serverSideAttack .getJwtActiveScanner ().getAttackStrength ().equals (AttackStrength .LOW )
102+ if (serverSideAttack .getJwtActiveScanRule ().getAttackStrength ().equals (AttackStrength .LOW )
103103 || serverSideAttack
104- .getJwtActiveScanner ()
104+ .getJwtActiveScanRule ()
105105 .getAttackStrength ()
106106 .equals (AttackStrength .MEDIUM )) {
107107 return false ;
@@ -111,7 +111,7 @@ private boolean executePubliclyWellKnownHMacSecretAttack() {
111111 if (JWTConstants .JWT_HMAC_ALGO_TO_JAVA_ALGORITHM_MAPPING .containsKey (
112112 serverSideAttack .getJwtHolder ().getAlgorithm ())) {
113113 for (String secret : secrets ) {
114- if (serverSideAttack .getJwtActiveScanner ().isStop ()) {
114+ if (serverSideAttack .getJwtActiveScanRule ().isStop ()) {
115115 return false ;
116116 }
117117 JWTHolder jwtHolder = serverSideAttack .getJwtHolder ();
You can’t perform that action at this time.
0 commit comments