diff --git a/src/it/java/org/owasp/webgoat/LabelAndHintIntegrationTest.java b/src/it/java/org/owasp/webgoat/LabelAndHintIntegrationTest.java index 7ddc3b79a..fb3b8488e 100644 --- a/src/it/java/org/owasp/webgoat/LabelAndHintIntegrationTest.java +++ b/src/it/java/org/owasp/webgoat/LabelAndHintIntegrationTest.java @@ -90,13 +90,13 @@ public class LabelAndHintIntegrationTest extends IntegrationTest { System.err.println("key: " + key + " in (" +lang+") is missing from default properties"); Assertions.fail(); } - /*if (!jsonPath.getString(ESCAPE_JSON_PATH_CHAR+key+ESCAPE_JSON_PATH_CHAR).equals(propsLang.get(key))) { + if (!jsonPath.getString(ESCAPE_JSON_PATH_CHAR+key+ESCAPE_JSON_PATH_CHAR).equals(propsLang.get(key))) { System.out.println("key: " + key + " in (" +lang+") has incorrect translation in label service"); System.out.println("actual:"+jsonPath.getString(ESCAPE_JSON_PATH_CHAR+key+ESCAPE_JSON_PATH_CHAR)); System.out.println("expected: "+propsLang.getProperty(key)); System.out.println(); - //Assertions.fail(); - }*/ + Assertions.fail(); + } } } diff --git a/src/main/resources/i18n/messages.properties b/src/main/resources/i18n/messages.properties index 0c76dea40..ebac2bc2f 100644 --- a/src/main/resources/i18n/messages.properties +++ b/src/main/resources/i18n/messages.properties @@ -51,7 +51,7 @@ show.hints=Show hints lesson.overview=Lesson overview reset.lesson=Reset lesson sign.in=Sign in -register.new=Register new user +register.new=or register yourself as a new user sign.up=Sign up register.title=Register @@ -63,3 +63,12 @@ password.size=Password should at least contain 6 characters password.diff=The passwords do not match. security.enabled=Security enabled, you can try the previous challenges and see the effect! security.disabled=Security enabled, you can try the previous challenges and see the effect! +termsofuse=Terms of use +register.condition.1=While running this program your machine will be extremely vulnerable to attack.\ + You should disconnect from the Internet while using this program. WebGoat's default configuration binds to localhost to minimize the exposure. +register.condition.2=This program is for educational purposes only. If you attempt \ +these techniques without authorization, you are very likely to get caught. If \ +you are caught engaging in unauthorized hacking, most companies will fire you. \ +Claiming that you were doing security research will not work as that is the \ +first thing that all hackers claim. +terms.agree=Agree with the terms and conditions diff --git a/src/main/resources/i18n/messages_nl.properties b/src/main/resources/i18n/messages_nl.properties index 065b566ff..2f4dff687 100644 --- a/src/main/resources/i18n/messages_nl.properties +++ b/src/main/resources/i18n/messages_nl.properties @@ -22,13 +22,16 @@ # projects. #

# -lesson.completed=Gefeliciteerd, je hebt de les succesvol afgerond. +lesson.completed=Gefeliciteerd, je hebt deze les succesvol afgerond. +assignment.solved=Gefeliciteerd, je hebt deze opdracht succesvol afgerond. +assignment.not.solved=Sorry de oplossing is niet correct, probeer het nog eens. RestartLesson=Herstart de les SolutionVideos=Video oplossingen ErrorGenerating=Fout opgetreden tijdens generatie InvalidData=Ongeldige invoer Go!=Ga snel aan de slag! password=Wachtwoord +password.confirm=Herhaal wachtwoord username=Gebruikersnaam logged_out=Je bent succesvol uitgelogd. invalid_username_password=Ongeldige gebruikersnaam/wachtwoord combinatie @@ -46,4 +49,14 @@ contact=Neem contact met ons op show.hints=Toon hints lesson.overview=Overzicht les reset.lesson=Herstart les -sign.in=Log in +sign.in=Inloggen +terms.agree=Ik ga akkoord met de voorwaarden +sign.up=Registreer +register.title=Aanmelden als nieuwe gebruiker +register.new=of aanmelden als nieuwe gebruiker +termsofuse=Gebruiksvoorwaarden +register.condition.1=Wanneer u WebGoat runt op uw computer, bent u kwetsbaar voor cyber aanvallen. \ + Zorg dat u geen verbinding heeft met internet en dat toegang tot WebGoat alleen lokaal mogelijk is om het aanvalsoppervlak te verkleinen. +register.condition.2=WebGoat is bedoeld als educatieve applicatie op het gebied van secure software development. \ + Gebruik wat u leert om applicaties beter te maken en niet om zonder toestemming applicaties te schaden. \ + In dat laatste geval loopt u risico op rechtsvervoling en ontslag. diff --git a/src/main/resources/lessons/vulnerable_components/i18n/WebGoatLabels.properties b/src/main/resources/lessons/vulnerable_components/i18n/WebGoatLabels.properties index 87c13198c..a34913df0 100644 --- a/src/main/resources/lessons/vulnerable_components/i18n/WebGoatLabels.properties +++ b/src/main/resources/lessons/vulnerable_components/i18n/WebGoatLabels.properties @@ -1,7 +1,6 @@ vulnerable-components.title=Vulnerable Components EnterYourName=Enter your Name -Go!=Go! vulnerable.hint=Did you search for CVE-2013-728 and read https://x-stream.github.io/CVE-2013-7285.html vulnerable-components.close=The payload send could not be deserialized to a Contact class. Please try again. vulnerable-components.success=You successfully tried to exploit the CVE-2013-7285 vulnerability -vulnerable-components.fromXML=You created contact {0}. This means you did not exploit the remote code execution. \ No newline at end of file +vulnerable-components.fromXML=You created contact {0}. This means you did not exploit the remote code execution. diff --git a/src/main/resources/webgoat/templates/login.html b/src/main/resources/webgoat/templates/login.html index 733bcd7c6..9e0940ae3 100644 --- a/src/main/resources/webgoat/templates/login.html +++ b/src/main/resources/webgoat/templates/login.html @@ -32,11 +32,11 @@

+ id="exampleInputEmail1" th:placeholder="#{username}" name='username' />
-
@@ -49,4 +49,4 @@ - \ No newline at end of file + diff --git a/src/main/resources/webgoat/templates/registration.html b/src/main/resources/webgoat/templates/registration.html index fc8a4e517..cf9b8a69f 100644 --- a/src/main/resources/webgoat/templates/registration.html +++ b/src/main/resources/webgoat/templates/registration.html @@ -31,14 +31,14 @@
+ id="username" th:placeholder="#{username}" name='username'/>
Username error
-
Password error @@ -47,7 +47,7 @@
-
Password error @@ -55,22 +55,11 @@
- +
-

- While running this program your machine will be extremely - vulnerable to attack. You should disconnect from the Internet while using - this program. WebGoat's default configuration binds to localhost to minimize - the exposure. -

-

- This program is for educational purposes only. If you attempt - these techniques without authorization, you are very likely to get caught. If - you are caught engaging in unauthorized hacking, most companies will fire you. - Claiming that you were doing security research will not work as that is the - first thing that all hackers claim. -

+

Condition1

+

Condition2

@@ -79,8 +68,8 @@
@@ -99,4 +88,4 @@ - \ No newline at end of file +