Skip to content

Regenerating Diffie Hellman (DH) Parameters

freqyXin edited this page Sep 10, 2019 · 1 revision

By default, EAPHammer uses a 2048 bit DH file that is located at certs/dh_file. Since generating DH parameters can be time consuming, the DH file is generated once when ./kali-setup is run. If you need to regenerate the 2048 bit DH file for whatever reason, you can do so with the following command:

./eaphammer --cert-wizard dh

If you need a DH file with a different key length, you can generate one by using --cert-wizard dh in conjunction with the --key-length flag:

./eaphammer --cert-wizard dh --key-length 1024

EAPHammer Wiki

Clone this wiki locally