Skip to content

Commit

Permalink
Not stopping JWT active scanner on finding client side vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
preetkaran20 committed Nov 24, 2020
1 parent 4c3022b commit 161140e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void init() {
maxRequestCount = 8;
break;
case HIGH:
maxRequestCount = 12;
maxRequestCount = 18;
break;
case INSANE:
maxRequestCount = 28;
Expand Down Expand Up @@ -105,9 +105,7 @@ public void scan(HttpMessage msg, String param, String value) {
}

if (JWTConfiguration.getInstance().isEnableClientConfigurationScan()) {
if (performAttackClientSideConfigurations(msg, param)) {
return;
}
performAttackClientSideConfigurations(msg, param);
this.decreaseRequestCount();
}
performAttackServerSideConfigurations(msg, param, jwtHolder, value);
Expand Down

0 comments on commit 161140e

Please sign in to comment.