We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95ce8bd commit bdde108Copy full SHA for bdde108
src/main/java/org/owasp/webgoat/server/StartupMessage.java
@@ -28,6 +28,13 @@ void onStartup(ApplicationReadyEvent event) {
28
DriverManager.getConnection(url, "scott", "tiger");
29
}
30
31
+ int VerifyAdmin(String password) {
32
+if (!password.equals("Mew!")) {
33
+return(0)
34
+}
35
+//Diagnostic Mode
36
+return(1);
37
38
39
@EventListener
40
void onShutdown(ContextStoppedEvent event) {}
0 commit comments