diff --git a/marvin-toolkit/README.md b/marvin-toolkit/README.md index 7c2180a1..eb8df822 100644 --- a/marvin-toolkit/README.md +++ b/marvin-toolkit/README.md @@ -3,9 +3,7 @@ This document describes the procedure for replicating the analysis for the Marvi ```bash docker build -t marvin:latest . -docker run -d --rm \ +docker run --rm \ --name marvin \ - -v /home/ec2-user/RSA/marvin-toolkit/keys:/home/rustcrypto/marvin-toolkit/keys \ - -v /home/ec2-user/RSA/marvin-toolkit/results:/home/rustcrypto/marvin-toolkit/results \ marvin:latest ``` diff --git a/marvin-toolkit/entrypoint.sh b/marvin-toolkit/entrypoint.sh index bd9fc931..f1969c80 100644 --- a/marvin-toolkit/entrypoint.sh +++ b/marvin-toolkit/entrypoint.sh @@ -78,7 +78,7 @@ echo # Generate ciphertexts PYTHONPATH=tlsfuzzer ./marvin-venv/bin/python ./step2.py \ --c keys/cert.pem -o rsa${size} \ +-c keys/cert.pem -o rsa${size}_repeat \ --repeat 100000 --verbose \ no_structure no_padding=48 signature_padding=8 \ valid_repeated_byte_payload="246 0xff" \ @@ -89,11 +89,11 @@ valid=0 valid=192 valid=246 # Run decryptions and analyze data ./example/rust-crypto/target/release/rust-crypto \ - -i rsa${size}/ciphers.bin \ - -o rsa${size}/raw_times.csv -k keys/pkcs8.pem -n $size_bytes + -i rsa${size}_repeat/ciphers.bin \ + -o rsa${size}_repeat/raw_times.csv -k keys/pkcs8.pem -n $size_bytes PYTHONPATH=tlsfuzzer marvin-venv/bin/python3 tlsfuzzer/tlsfuzzer/extract.py \ --l rsa${size}/log.csv --raw-times rsa${size}/raw_times.csv \ --o rsa${size}/ \ +-l rsa${size}_repeat/log.csv --raw-times rsa${size}_repeat/raw_times.csv \ +-o rsa${size}_repeat/ \ --clock-frequency 1000 PYTHONPATH=tlsfuzzer marvin-venv/bin/python3 tlsfuzzer/tlsfuzzer/analysis.py \ --o rsa${size}/ --verbose \ No newline at end of file +-o rsa${size}_repeat/ --verbose \ No newline at end of file