Skip to content

Commit

Permalink
Add: added challenge51.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham-Patel07 committed Oct 13, 2024
1 parent ec3e020 commit 2de1320
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package org.owasp.wrongsecrets.challenges.docker;

import org.owasp.wrongsecrets.challenges.FixedAnswerChallenge;
import org.springframework.beans.factory.annotation.Value;

public class Challenge51 extends FixedAnswerChallenge {
private final String dockerSecret;

public Challenge51(@Value("${DOCKER_SECRET_CHALLENGE51}") String dockerSecret) {
this.dockerSecret = dockerSecret;
}

@Override
public String getAnswer() {
return this.dockerSecret;
}
}

0 comments on commit 2de1320

Please sign in to comment.