Commit cd20d561 authored by YUSHIQIAN's avatar YUSHIQIAN

modify target script

parent 3c2a8a7f
#! /bin/bash
for i in {1..32}
do
echo "targeting bit $i ..."
./dpa /datas/teaching/courses/HWSec/labs/data/HWSecTraces10000x00800.hws 10000 $i >> lab2_32bits_target.txt
echo "done!"
echo "/n"
done
\ No newline at end of file
file="target.txt"
if [ -f "$file"]
then
rm $file
fi
for i in $(seq 32)
do
echo "targeting bit $i ..."
./dpa /datas/teaching/courses/HWSec/labs/data/HWSecTraces10000x00800.hws 10000 $i >> $file
echo "done!"
echo "\n"
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment