From 6bf809731abfd1893e73f6c6b35d0a22dacd6fb2 Mon Sep 17 00:00:00 2001 From: Orfeas <38209077+0xfea5@users.noreply.github.com> Date: Tue, 23 Apr 2024 19:38:50 +0300 Subject: Small changes to the Makefile and the scripts --- scripts/read.sh | 2 +- scripts/scan.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/read.sh b/scripts/read.sh index 38535e6..f26ba11 100644 --- a/scripts/read.sh +++ b/scripts/read.sh @@ -8,4 +8,4 @@ fi scanfile=${SCANFILE:-/tmp/scanfile} pid="$1" -watch -d -n 1 "xargs -r -a ${scanfile} ./hack.out ${pid} read 8 > /tmp/out 2> /dev/null && pr -t -m ${scanfile} /tmp/out" +watch -d -n 1 "xargs -r -a ${scanfile} ./trainer ${pid} read 8 > /tmp/out 2> /dev/null && pr -t -m ${scanfile} /tmp/out" diff --git a/scripts/scan.sh b/scripts/scan.sh index c700011..bb4f77c 100644 --- a/scripts/scan.sh +++ b/scripts/scan.sh @@ -25,7 +25,7 @@ while true do read -p "Scan pattern (hex): " pattern newscan=$(mktemp) - ./hack.out ${pid} scan ${pattern} > ${newscan} 2> /dev/null + ./trainer ${pid} scan ${pattern} > ${newscan} 2> /dev/null if [ ! -f ${scanfile} ] then mv ${newscan} ${scanfile} -- cgit v1.2.3