Skip to content

Compiling

ic0ns edited this page Sep 6, 2017 · 4 revisions

For execution of specific tests you need to rely on the resources provided with TLS-Attacker. TLS-Attacker is dependent on our ModifiableVariable package which is currently not available in the maven central repository. You can grab a copy by running:

$ git clone https://github.com/RUB-NDS/ModifiableVariable.git
$ cd ModifiableVariable
$ ./mvnw clean install

The best way to use TLS-Attacker is to download (or clone) the project source files and compile it with these commands:

$ cd TLS-Attacker
$ ./mvnw clean package

If you want to use TLS-Attacker as a library in other projects you will need to install TLS-Attacker:

$ cd TLS-Attacker
$ ./mvnw clean install

Note that this process may take some time since TLS-Attacker will execute its integration tests. You can skip these tests by executing:

$ cd TLS-Attacker
$ ./mvnw clean install -DskipITs

The resources folder contains a script to generate keys and certificates for TLS-Attacker to allow deeper investigations. You can generate a set of your own keys with the provided script (Linux only):

$ cd resources
$ ./keygen.sh
Clone this wiki locally