-
Notifications
You must be signed in to change notification settings - Fork 8
/
step2-marvin.sh
34 lines (28 loc) · 912 Bytes
/
step2-marvin.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
if [[ -e rsa1024_repeat ]]; then
echo "directory rsa1024_repeat exists!"
exit 1
fi
mkdir rsa1024_repeat
PYTHONPATH=tlsfuzzer/ marvin-venv/bin/python \
tlsfuzzer/scripts/marvin-ciphertext-generator.py \
-o rsa1024_repeat --repeat 1000 \
--srv-key rsa1024/key.pem --srv-cert rsa1024/cert.pem
if [[ -e rsa2048_repeat ]]; then
echo "directory rsa2048_repeat exists!"
exit 1
fi
mkdir rsa2048_repeat
PYTHONPATH=tlsfuzzer/ marvin-venv/bin/python \
tlsfuzzer/scripts/marvin-ciphertext-generator.py \
-o rsa2048_repeat --repeat 1000 \
--srv-key rsa2048/key.pem --srv-cert rsa2048/cert.pem
if [[ -e rsa4096_repeat ]]; then
echo "directory rsa4096_repeat exists!"
exit 1
fi
mkdir rsa4096_repeat
PYTHONPATH=tlsfuzzer/ marvin-venv/bin/python \
tlsfuzzer/scripts/marvin-ciphertext-generator.py \
-o rsa4096_repeat --repeat 1000 \
--srv-key rsa4096/key.pem --srv-cert rsa4096/cert.pem