Skip to content

Commit

Permalink
Update POM file with new version: ctfd-safe-3
Browse files Browse the repository at this point in the history
  • Loading branch information
commjoen committed Aug 6, 2022
1 parent 8d625f7 commit 1fe1a07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.web
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jeroenwillemsen/wrongsecrets:ctfd-safe-2-no-vault
FROM jeroenwillemsen/wrongsecrets:ctfd-safe-3-no-vault

ARG argBasedVersion="1.5.0"
ARG CANARY_URLS="http://canarytokens.com/terms/about/s7cfbdakys13246ewd8ivuvku/post.jsp,http://canarytokens.com/terms/about/y0all60b627gzp19ahqh7rl6j/post.jsp"
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/templates/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
<tr>
<th scope="col">&nbsp;Challenge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th>
<th scope="col">Focus&nbsp;&nbsp;&nbsp;</th>
<th scope="col" th:text="'Runs on environment (current: '+${environment}+')'"></th>
<th scope="col" class="d-sm-none" th:text="'Runs on environment (current: '+${#strings.replace(environment,'_',' _')}+')'"></th>
<th scope="col" class="d-none d-sm-table-cell" th:text="'Runs on environment (current: '+${environment}+')'"></th>
<th scope="col" class="d-none d-md-table-cell">Difficulty</th>
</tr>
</thead>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ void shouldShowFlagWhenRespondingWithSuccessInCTFModeChallenge7() throws Excepti
void shouldEnableK8sExercises() throws Exception{
mvc.perform(get("/"))
.andExpect(status().isOk())
.andExpect(content().string(containsString("<td><a href=\"/challenge/5\">Challenge 5</a></td>")))
.andExpect(content().string(containsString("<td><a href=\"/challenge/6\">Challenge 6</a></td>")))
.andExpect(content().string(containsString("<td><a href=\"/challenge/7\">Challenge 7</a></td>")));
.andExpect(content().string(containsString("<td>&nbsp;<a href=\"/challenge/5\">Challenge 5</a></td>")))
.andExpect(content().string(containsString("<td>&nbsp;<a href=\"/challenge/6\">Challenge 6</a></td>")))
.andExpect(content().string(containsString("<td>&nbsp;<a href=\"/challenge/7\">Challenge 7</a></td>")));
}

}

0 comments on commit 1fe1a07

Please sign in to comment.