Skip to content

Commit bf783a8

Browse files
committed
Refactor everything to be just in the owasp.benchmark project.
1 parent 1d98e66 commit bf783a8

File tree

21,051 files changed

+146280
-145925
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

21,051 files changed

+146280
-145925
lines changed

pom.xml

Lines changed: 578 additions & 304 deletions
Large diffs are not rendered by default.

src/main/java/org/owasp/webgoat/benchmark/helpers/DatabaseHelper.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
2-
* OWASP WebGoat Benchmark Edition (WBE)
2+
* OWASP Benchmark Project
33
*
44
* This file is part of the Open Web Application Security Project (OWASP)
5-
* WebGoat Benchmark Edition (WBE) project. For details, please see
6-
* <a href="https://www.owasp.org/index.php/WBE">https://www.owasp.org/index.php/WBE</a>.
5+
* Benchmark Project. For details, please see
6+
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
77
*
8-
* The WBE is free software: you can redistribute it and/or modify it under the terms
8+
* The Benchmark is free software: you can redistribute it and/or modify it under the terms
99
* of the GNU General Public License as published by the Free Software Foundation, version 2.
1010
*
11-
* The WBE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
11+
* The Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
1212
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
* GNU General Public License for more details
1414
*
1515
* @author Juan Gama <a href="https://www.aspectsecurity.com">Aspect Security</a>
1616
* @created 2015
1717
*/
1818

19-
package org.owasp.webgoat.benchmark.helpers;
19+
package org.owasp.benchmark.helpers;
2020

2121
import java.sql.Connection;
2222
import java.sql.DriverManager;

src/main/java/org/owasp/webgoat/benchmark/helpers/ExpressionEvaluator.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
2-
* OWASP WebGoat Benchmark Edition (WBE)
2+
* OWASP Benchmark Project
33
*
44
* This file is part of the Open Web Application Security Project (OWASP)
5-
* WebGoat Benchmark Edition (WBE) project. For details, please see
6-
* <a href="https://www.owasp.org/index.php/WBE">https://www.owasp.org/index.php/WBE</a>.
5+
* Benchmark Project. For details, please see
6+
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
77
*
8-
* The WBE is free software: you can redistribute it and/or modify it under the terms
8+
* The Benchmark is free software: you can redistribute it and/or modify it under the terms
99
* of the GNU General Public License as published by the Free Software Foundation, version 2.
1010
*
11-
* The WBE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
11+
* The Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
1212
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
* GNU General Public License for more details
1414
*
1515
* @author Juan Gama <a href="https://www.aspectsecurity.com">Aspect Security</a>
1616
* @created 2015
1717
*/
1818

19-
package org.owasp.webgoat.benchmark.helpers;
19+
package org.owasp.benchmark.helpers;
2020

2121
import java.util.Map;
2222

src/main/java/org/owasp/webgoat/benchmark/helpers/SeparateClassRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
2-
* OWASP WebGoat Benchmark Edition (WBE)
2+
* OWASP Benchmark Project
33
*
44
* This file is part of the Open Web Application Security Project (OWASP)
5-
* WebGoat Benchmark Edition (WBE) project. For details, please see
6-
* <a href="https://www.owasp.org/index.php/WBE">https://www.owasp.org/index.php/WBE</a>.
5+
* Benchmark Project. For details, please see
6+
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
77
*
8-
* The WBE is free software: you can redistribute it and/or modify it under the terms
8+
* The Benchmark is free software: you can redistribute it and/or modify it under the terms
99
* of the GNU General Public License as published by the Free Software Foundation, version 2.
1010
*
11-
* The WBE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
11+
* The Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
1212
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
* GNU General Public License for more details
1414
*
1515
* @author Dave Wichers <a href="https://www.aspectsecurity.com">Aspect Security</a>
1616
* @created 2015
1717
*/
1818

19-
package org.owasp.webgoat.benchmark.helpers;
19+
package org.owasp.benchmark.helpers;
2020

2121
import javax.servlet.http.Cookie;
2222
import javax.servlet.http.HttpServletRequest;

src/main/java/org/owasp/webgoat/benchmark/helpers/SourceUtils.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
2-
* OWASP WebGoat Benchmark Edition (WBE)
2+
* OWASP Benchmark Project
33
*
44
* This file is part of the Open Web Application Security Project (OWASP)
5-
* WebGoat Benchmark Edition (WBE) project. For details, please see
6-
* <a href="https://www.owasp.org/index.php/WBE">https://www.owasp.org/index.php/WBE</a>.
5+
* Benchmark Project. For details, please see
6+
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
77
*
8-
* The WBE is free software: you can redistribute it and/or modify it under the terms
8+
* The Benchmark is free software: you can redistribute it and/or modify it under the terms
99
* of the GNU General Public License as published by the Free Software Foundation, version 2.
1010
*
11-
* The WBE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
11+
* The Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
1212
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
* GNU General Public License for more details
1414
*
1515
* @author Dave Wichers <a href="https://www.aspectsecurity.com">Aspect Security</a>
1616
* @created 2015
1717
*/
1818

19-
package org.owasp.webgoat.benchmark.helpers;
19+
package org.owasp.benchmark.helpers;
2020

2121
import javax.servlet.http.Cookie;
2222
import javax.servlet.http.HttpServletRequest;

src/main/java/org/owasp/webgoat/benchmark/helpers/Thing1.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
2-
* OWASP WebGoat Benchmark Edition (WBE)
2+
* OWASP Benchmark Project
33
*
44
* This file is part of the Open Web Application Security Project (OWASP)
5-
* WebGoat Benchmark Edition (WBE) project. For details, please see
6-
* <a href="https://www.owasp.org/index.php/WBE">https://www.owasp.org/index.php/WBE</a>.
5+
* Benchmark Project. For details, please see
6+
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
77
*
8-
* The WBE is free software: you can redistribute it and/or modify it under the terms
8+
* The Benchmark is free software: you can redistribute it and/or modify it under the terms
99
* of the GNU General Public License as published by the Free Software Foundation, version 2.
1010
*
11-
* The WBE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
11+
* The Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
1212
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
* GNU General Public License for more details
1414
*
1515
* @author Nick Sanidas <a href="https://www.aspectsecurity.com">Aspect Security</a>
1616
* @created 2015
1717
*/
1818

19-
package org.owasp.webgoat.benchmark.helpers;
19+
package org.owasp.benchmark.helpers;
2020

2121
public class Thing1 implements ThingInterface {
2222

src/main/java/org/owasp/webgoat/benchmark/helpers/Thing2.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
2-
* OWASP WebGoat Benchmark Edition (WBE)
2+
* OWASP Benchmark Project
33
*
44
* This file is part of the Open Web Application Security Project (OWASP)
5-
* WebGoat Benchmark Edition (WBE) project. For details, please see
6-
* <a href="https://www.owasp.org/index.php/WBE">https://www.owasp.org/index.php/WBE</a>.
5+
* Benchmark Project. For details, please see
6+
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
77
*
8-
* The WBE is free software: you can redistribute it and/or modify it under the terms
8+
* The Benchmark is free software: you can redistribute it and/or modify it under the terms
99
* of the GNU General Public License as published by the Free Software Foundation, version 2.
1010
*
11-
* The WBE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
11+
* The Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
1212
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
* GNU General Public License for more details
1414
*
1515
* @author Nick Sanidas <a href="https://www.aspectsecurity.com">Aspect Security</a>
1616
* @created 2015
1717
*/
1818

19-
package org.owasp.webgoat.benchmark.helpers;
19+
package org.owasp.benchmark.helpers;
2020

2121
public class Thing2 implements ThingInterface {
2222

src/main/java/org/owasp/webgoat/benchmark/helpers/ThingFactory.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
2-
* OWASP WebGoat Benchmark Edition (WBE)
2+
* OWASP Benchmark Project
33
*
44
* This file is part of the Open Web Application Security Project (OWASP)
5-
* WebGoat Benchmark Edition (WBE) project. For details, please see
6-
* <a href="https://www.owasp.org/index.php/WBE">https://www.owasp.org/index.php/WBE</a>.
5+
* Benchmark Project. For details, please see
6+
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
77
*
8-
* The WBE is free software: you can redistribute it and/or modify it under the terms
8+
* The Benchmark is free software: you can redistribute it and/or modify it under the terms
99
* of the GNU General Public License as published by the Free Software Foundation, version 2.
1010
*
11-
* The WBE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
11+
* The Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
1212
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
* GNU General Public License for more details
1414
*
1515
* @author Nick Sanidas <a href="https://www.aspectsecurity.com">Aspect Security</a>
1616
* @created 2015
1717
*/
1818

19-
package org.owasp.webgoat.benchmark.helpers;
19+
package org.owasp.benchmark.helpers;
2020

2121
import java.io.InputStream;
2222
import java.lang.reflect.Constructor;
@@ -36,7 +36,7 @@ public static ThingInterface createThing() {
3636
return new Thing2();
3737
}
3838
props.load(thingproperties);
39-
String which = "org.owasp.webgoat.benchmark.helpers." + props.getProperty("thing");
39+
String which = "org.owasp.benchmark.helpers." + props.getProperty("thing");
4040

4141
Class thing = Class.forName(which);
4242
Constructor thingConstructor = thing.getConstructor();

src/main/java/org/owasp/webgoat/benchmark/helpers/ThingInterface.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
2-
* OWASP WebGoat Benchmark Edition (WBE)
2+
* OWASP Benchmark Project
33
*
44
* This file is part of the Open Web Application Security Project (OWASP)
5-
* WebGoat Benchmark Edition (WBE) project. For details, please see
6-
* <a href="https://www.owasp.org/index.php/WBE">https://www.owasp.org/index.php/WBE</a>.
5+
* Benchmark Project. For details, please see
6+
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
77
*
8-
* The WBE is free software: you can redistribute it and/or modify it under the terms
8+
* The Benchmark is free software: you can redistribute it and/or modify it under the terms
99
* of the GNU General Public License as published by the Free Software Foundation, version 2.
1010
*
11-
* The WBE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
11+
* The Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
1212
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
* GNU General Public License for more details
1414
*
1515
* @author Nick Sanidas <a href="https://www.aspectsecurity.com">Aspect Security</a>
1616
* @created 2015
1717
*/
1818

19-
package org.owasp.webgoat.benchmark.helpers;
19+
package org.owasp.benchmark.helpers;
2020

2121
public interface ThingInterface {
2222
public String doSomething( String i);

0 commit comments

Comments
 (0)