diff --git a/utils/hexstream2cipher.sh b/utils/hexstream2cipher.sh index 60c5afc..d346499 100755 --- a/utils/hexstream2cipher.sh +++ b/utils/hexstream2cipher.sh @@ -16,7 +16,7 @@ for ((i=0; i $grepstr --> " - cip=$(grep -i ${grepstr} $mapfile | awk '{ print $3 }') + cip=$(grep -i -E "^ *${grepstr}" $mapfile | awk '{ print $3 }') echo $cip if "$first"; then ciphers="$cip"