Hypatia/scripts/0stalkerware.sh
Tad a545ae6b63
Parser updates
Signed-off-by: Tad <tad@spotco.us>
2023-12-28 18:14:28 -05:00

12 lines
372 B
Bash

#!/bin/bash
#License: CC0
#Description: Hypatia conversion script for https://github.com/AssoEchap/stalkerware-indicators (CC BY 4.0)
while IFS=, read -r col1SHA col2Package col3Certificate col4Version col5Name
do
if [ -n "$col1SHA" ] && [ -n "$col5Name" ]; then
echo "$col1SHA:0:$col5Name" >> ./stalkerware.hsb;
fi;
done < samples.csv;
sed -i '1d' stalkerware.hsb;