Skip to content

Commit

Permalink
Better messages
Browse files Browse the repository at this point in the history
  • Loading branch information
xuganyu96 committed Dec 11, 2023
1 parent 22fa3de commit 4932750
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions marvin-toolkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ This document describes the procedure for replicating the analysis for the Marvi
docker build -t marvin:latest .
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
```
5 changes: 4 additions & 1 deletion marvin-toolkit/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,15 @@ no_header_with_payload=48 zero_byte_in_padding="48 4" \
valid=0 valid=192 valid=246

# Run decryptions and analyze data
echo "Starting decryption"
./example/rust-crypto/target/release/rust-crypto \
-i rsa${size}_repeat/ciphers.bin \
-o rsa${size}_repeat/raw_times.csv -k keys/pkcs8.pem -n $size_bytes
echo "Decryptions finished"
PYTHONPATH=tlsfuzzer marvin-venv/bin/python3 tlsfuzzer/tlsfuzzer/extract.py \
-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}_repeat/ --verbose
-o rsa${size}_repeat/ --verbose
cp -r rsa${size}_repeat results

0 comments on commit 4932750

Please sign in to comment.