aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/scan.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/scan.sh')
-rw-r--r--scripts/scan.sh2
1 files changed, 1 insertions, 1 deletions
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
25do 25do
26 read -p "Scan pattern (hex): " pattern 26 read -p "Scan pattern (hex): " pattern
27 newscan=$(mktemp) 27 newscan=$(mktemp)
28 ./hack.out ${pid} scan ${pattern} > ${newscan} 2> /dev/null 28 ./trainer ${pid} scan ${pattern} > ${newscan} 2> /dev/null
29 if [ ! -f ${scanfile} ] 29 if [ ! -f ${scanfile} ]
30 then 30 then
31 mv ${newscan} ${scanfile} 31 mv ${newscan} ${scanfile}