Fix invalid entries in the ESET processing script

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-12-16 22:32:39 -05:00
parent 501004c61b
commit c70b45a4ee

View file

@ -5,6 +5,7 @@
processHashes() { processHashes() {
local name=$(basename $1); local name=$(basename $1);
if [ -f $1/samples.$2 ]; then if [ -f $1/samples.$2 ]; then
dos2unix $1/samples.$2
while IFS= read -r line while IFS= read -r line
do do
echo "$line":0:ESET."$name" >> ./eset.$3; echo "$line":0:ESET."$name" >> ./eset.$3;