/security-unit-tests

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Java Security Unit Tests

A web application that contains several unit tests for the purpose of Java security

Overview

The purpose of this web app is to test the following vulnerabilities in Java (click to view their respective code):

The code can be analyzed by static code tools or deployed as a web application and analyzed via dynamic tools. The underlying Java code can also be used as examples for how to make Java code safe/unsafe. You can also find detailed comments in the code with each test explaining why it is safe/unsafe.

Installation

Please see the SETUP_INSTRUCTIONS.txt file for information on deploying the web app as well as instructions for running the test crawler that will run all the tests programmatically.

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.