File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/test/java/org/owasp/wrongsecrets/challenges/docker Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ rm -rf jdk-18_linux-x64_bin.deb
347347git rebase -i main
348348git rebase -i master
349349git stash
350- export tempPassword=" jVJbBT1+u4EvfCEIwbMmgo7dxrsQyzG5VJQwqvYcVGw ="
350+ export tempPassword=" ActciVa30zz3eQHCIr4iZfw94ASoBgIsx8pxpK+Z5ic ="
351351mvn run tempPassword
352352k6
353353npx k6
Original file line number Diff line number Diff line change 11
22 function secret ( ) {
3- var password = "WEdiIY4 =" + 9 + "AdTk " + 6 + "Rtg =" + 2 + "t3cj " + 7 ;
3+ var password = "HLYP4Ns =" + 9 + "+zc+ " + 6 + "3+M =" + 2 + "A2+n " + 7 ;
44 return password ;
55 }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ void solveChallenge56WithoutFile(@TempDir Path dir) {
2323 @ Test
2424 void solveChallenge56WithFile (@ TempDir Path dir ) throws Exception {
2525 var testFile = new File (dir .toFile (), "project-specification.mdc" );
26- var secretLine = "** Example API key for testing: S3cr3tInPr0j3ctSp3c" ;
26+ var secretLine = "blabla \n - Example API key for testing: S3cr3tInPr0j3ctSp3c" ;
2727 Files .writeString (testFile .toPath (), "Some intro text\n " + secretLine + "\n Some outro text\n " );
2828
2929 var challenge = new Challenge56 (testFile .getAbsolutePath ());
@@ -34,7 +34,7 @@ void solveChallenge56WithFile(@TempDir Path dir) throws Exception {
3434 @ Test
3535 void spoilShouldReturnCorrectAnswer (@ TempDir Path dir ) throws IOException {
3636 var testFile = new File (dir .toFile (), "project-specification.mdc" );
37- var secretLine = "** Example API key for testing: S3cr3tInPr0j3ctSp3c" ;
37+ var secretLine = "blabla \n - Example API key for testing: S3cr3tInPr0j3ctSp3c" ;
3838 Files .writeString (testFile .toPath (), secretLine + "\n " );
3939
4040 var challenge = new Challenge56 (testFile .getAbsolutePath ());
You can’t perform that action at this time.
0 commit comments