aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/scan.sh
diff options
context:
space:
mode:
authorOrfeas <38209077+0xfea5@users.noreply.github.com>2024-04-23 19:38:50 +0300
committerOrfeas <38209077+0xfea5@users.noreply.github.com>2024-04-23 19:38:50 +0300
commit6bf809731abfd1893e73f6c6b35d0a22dacd6fb2 (patch)
tree2badb20131925d49384ae4f81924f02bcff58617 /scripts/scan.sh
parentAdded the presentation (diff)
downloadlinux-game-trainer-6bf809731abfd1893e73f6c6b35d0a22dacd6fb2.tar.gz
linux-game-trainer-6bf809731abfd1893e73f6c6b35d0a22dacd6fb2.zip
Small changes to the Makefile and the scripts
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}