(fix): i forgot hex is two characters majority of the tme

This commit is contained in:
bfu4 2022-03-31 11:27:22 -04:00
parent 520fc4291b
commit ccc256a3cc
No known key found for this signature in database
GPG Key ID: FD1D952871D22043

View File

@ -25,7 +25,7 @@ function fuzz_kinda() {
for i in ${indices[@]}; do
# generate a random string
str=$(xxd -l "$i" -ps /dev/urandom)
printf "$str" | $_input_bin
printf "${str:0:$i}" | $_input_bin
done
}