Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Fix permission denied for mv cmd

Bilel Eljaamii5fc12ec17e58
diff --git a/update.sh b/update.sh
index b485e35..119a968 100755
--- a/update.sh
+++ b/update.sh
@@ -47,7 +47,7 @@ for repo in ${repos}; do
cd "$dir/$(basename $repo)"
eval git pull origin master $DEBUG_STD
if [ "massdns" = "$(basename $repo)" ]; then
- make $DEBUG_STD && sudo cp bin/massdns /usr/bin/
+ make && sudo cp bin/massdns /usr/bin/
elif [ "Gf-Patterns" = "$(basename $repo)" ]; then
cp *.json ~/.gf
elif [ "gf" = "$(basename $repo)" ]; then
@@ -57,7 +57,7 @@ for repo in ${repos}; do
fi
if [ "True" = "$IS_ARM" ] && [ "git-hound" = "$(basename $repo)" ]
then
- go build && chmod 754 git-hound && mv git-hound /usr/local/bin/
+ go build && chmod 754 git-hound && sudo mv git-hound /usr/local/bin/
fi
fi
printf "${bblue}\n Updating ${repo} is finished ${reset}\n"