-
Notifications
You must be signed in to change notification settings - Fork 140
Config
TLS-Attacker offers you alot of different features which you can access threw its Config. The Config is a set of predefined default Values and behavior options which are hard coded in TLS-Attacker and additionally stored in TLS-Core/src/main/resources/default_config.xml
. If you did not specify a config file, TLS-Attacker will load the default_config.xml
. If you do specify your config file, TLS-Attacker will load your Config and fill all missing values with its hard coded values and will use them. Commandline options provided by you will overwrite config options provided by you.
CommandLine > Config > Default
Alot of the available Config options just change default values TLS-Attacker assumes. Eg.
<defaultDhGenerator>2</defaultDhGenerator>
Changes the DH Generator TLS-Attacker uses. If you now create a custom config file like: Eg.
<Config>
<defaultDhGenerator>5</defaultDhGenerator>
</Config>
You can now load this config file and execute it with the Client like this:
java -jar TLS-Client.jar -connect 127.0.0.1:4433 -cipher TLS_DH_RSA_WITH_AES_128_CBC_SHA -config <config.file>
TLS-Attacker will now use your newly specified Dh-Generator of 5.