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
347
347
git rebase -i main
348
348
git rebase -i master
349
349
git stash
350
- export tempPassword=" jVJbBT1+u4EvfCEIwbMmgo7dxrsQyzG5VJQwqvYcVGw ="
350
+ export tempPassword=" ActciVa30zz3eQHCIr4iZfw94ASoBgIsx8pxpK+Z5ic ="
351
351
mvn run tempPassword
352
352
k6
353
353
npx k6
Original file line number Diff line number Diff line change 1
1
2
2
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 ;
4
4
return password ;
5
5
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ void solveChallenge56WithoutFile(@TempDir Path dir) {
23
23
@ Test
24
24
void solveChallenge56WithFile (@ TempDir Path dir ) throws Exception {
25
25
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" ;
27
27
Files .writeString (testFile .toPath (), "Some intro text\n " + secretLine + "\n Some outro text\n " );
28
28
29
29
var challenge = new Challenge56 (testFile .getAbsolutePath ());
@@ -34,7 +34,7 @@ void solveChallenge56WithFile(@TempDir Path dir) throws Exception {
34
34
@ Test
35
35
void spoilShouldReturnCorrectAnswer (@ TempDir Path dir ) throws IOException {
36
36
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" ;
38
38
Files .writeString (testFile .toPath (), secretLine + "\n " );
39
39
40
40
var challenge = new Challenge56 (testFile .getAbsolutePath ());
You can’t perform that action at this time.
0 commit comments