|
7 | 7 | th:text="${challenge.stars}"></span> |
8 | 8 | </p> |
9 | 9 |
|
10 | | - <p><span th:text="'Welcome to challenge ' + ${challenge.name} + '.'"></span> You need to guess the secret |
11 | | - that is hidden in <a href="https://github.com/OWASP/wrongsecrets">Java</a>, <a |
12 | | - href="https://hub.docker.com/r/jeroenwillemsen/wrongsecrets">Docker</a>, Kubernetes, Vault, AWS or GCP.</p> |
| 10 | + <p><span th:text="'Welcome to challenge ' + ${challenge.name} + '.'"></span></p> |
| 11 | + |
| 12 | + <div class="alert alert-primary" role="alert"> |
| 13 | + <h6 class="alert-heading">🔍 Your Task</h6> |
| 14 | + <p class="mb-2">Find the secret hidden in the <strong><a href="https://github.com/OWASP/wrongsecrets" target="_blank">WrongSecrets repository</a></strong>. This challenge focuses on <strong th:text="${challenge.tech}">secret management</strong>.</p> |
| 15 | + <p class="mb-0">💡 <strong>Look for:</strong> Configuration files, source code, environment variables, Docker files, or cloud infrastructure related to this challenge.</p> |
| 16 | + </div> |
13 | 17 | <div class="row"> |
14 | 18 | <div class="offset-lg-1 col-lg-10 col-md-12" th:attr="data-cy=challenge-description"> |
15 | 19 | <div th:replace="~{doc:__${challenge.explanation}__}"></div> |
|
22 | 26 | <div class="col-12 feedback alert alert-danger" role="alert" th:if="${answerIncorrect!=null}" |
23 | 27 | th:text="${answerIncorrect}" th:attr="data-cy='incorrect-alert'"></div> |
24 | 28 | <form action="#" th:action="${challenge.link}" th:object="${challengeForm}" method="post"> |
25 | | - <div class="d-inline"> |
26 | | - Answer to solution : <input type="text" id="answerfield" th:field="*{solution}" |
27 | | - th:attr="data-cy='answer-textbox'"/> |
| 29 | + <div class="mb-3"> |
| 30 | + <label for="answerfield" class="form-label"><strong>🔑 Enter the secret you found:</strong></label> |
| 31 | + <input type="text" class="form-control" id="answerfield" th:field="*{solution}" |
| 32 | + placeholder="Type the secret here..." th:attr="data-cy='answer-textbox'"/> |
| 33 | + <small class="form-text text-muted">💡 Tip: Secrets are often strings, numbers, or encoded values. Copy and paste exactly what you find.</small> |
28 | 34 | </div> |
29 | 35 | <div class="d-none d-lg-inline"> |
30 | 36 | <button class="btn btn-primary" type="submit" name="action" value="submit" |
31 | | - th:attr="data-cy='submit-textbox-btn'">Submit |
| 37 | + th:attr="data-cy='submit-textbox-btn'">🚀 Submit Answer |
32 | 38 | </button> |
33 | 39 | <button class="btn btn-secondary" |
34 | 40 | onclick="document.getElementById('answerfield').value='';event.preventDefault();" |
35 | | - th:attr="data-cy='clear-textbox-btn'">Clear |
| 41 | + th:attr="data-cy='clear-textbox-btn'">🗑️ Clear |
36 | 42 | </button> |
37 | 43 | </div> |
38 | 44 | <div class="d-lg-none mt-2"> |
39 | | - <button class="btn btn-primary" type="submit" name="action" value="submit"> Submit</button> |
| 45 | + <button class="btn btn-primary" type="submit" name="action" value="submit">🚀 Submit Answer</button> |
40 | 46 | <button class="btn btn-secondary" |
41 | | - onclick="document.getElementById('answerfield').value='';event.preventDefault();"> Clear |
| 47 | + onclick="document.getElementById('answerfield').value='';event.preventDefault();">🗑️ Clear |
42 | 48 | </button> |
43 | 49 | </div> |
44 | 50 | <div class="col-12 mt-3"> |
45 | | - <button class="btn btn-secondary" type="submit" name="action" value="reset" |
46 | | - th:attr="data-cy='reset-btn'">Reset |
| 51 | + <button class="btn btn-warning" type="submit" name="action" value="reset" |
| 52 | + th:attr="data-cy='reset-btn'">🔄 Reset Challenge |
47 | 53 | </button> |
48 | | - <a th:if="${hintsEnabled==true}" th:attr="data-cy='show-hints-btn'" class="btn btn-secondary" |
| 54 | + <a th:if="${hintsEnabled==true}" th:attr="data-cy='show-hints-btn'" class="btn btn-info" |
49 | 55 | data-bs-toggle="collapse" |
50 | 56 | href="#collapseHint" role="button" |
51 | 57 | aria-expanded="false" aria-controls="collapseHint"> |
52 | | - Show hints |
| 58 | + 💡 Show Hints |
53 | 59 | </a> |
54 | | - <a th:if="${reasonEnabled==true}" th:attr="data-cy='whats-wrong-btn'" class="btn btn-secondary" |
| 60 | + <a th:if="${reasonEnabled==true}" th:attr="data-cy='whats-wrong-btn'" class="btn btn-info" |
55 | 61 | data-bs-toggle="collapse" |
56 | 62 | href="#collapseExplain" role="button" |
57 | 63 | aria-expanded="false" aria-controls="collapseExplain"> |
58 | | - What's wrong? |
| 64 | + 🔍 What's Wrong? |
59 | 65 | </a> |
60 | 66 | </div> |
61 | 67 | <div th:if="${hintsEnabled==true}" th:attr="data-cy='hint-paragraph'" |
|
0 commit comments