This is a simple demo of "Key Reinstallation Attacks".
For more information, please refer to https://papers.mathyvanhoef.com/ccs2017.pdf.
cd build
cmake ..
make
./AP "master_key" "ap_port"
./Adversary "ap_ip" "ap_port" "adv_port"
./Client "adv_ip" "adv_port" "master_key" "file_path"