@@ -96,7 +96,7 @@ declare -A repos=(
9696 [" fav-up" ]=" pielco11/fav-up"
9797 [" massdns" ]=" blechschmidt/massdns"
9898 [" Oralyzer" ]=" r0075h3ll/Oralyzer"
99- [" testssl" ]=" drwetter/testssl.sh"
99+ [" testssl.sh " ]=" drwetter/testssl.sh"
100100 [" commix" ]=" commixproject/commix"
101101 [" JSA" ]=" w9w/JSA"
102102 [" CloudHunter" ]=" belane/CloudHunter"
@@ -231,7 +231,7 @@ function install_tools() {
231231 chmod +x ./nomore403
232232 ;;
233233 " ffufPostprocessing" )
234- git reset --hard origin/main & > /dev/null
234+ git reset --hard origin/master & > /dev/null
235235 git pull & > /dev/null
236236 go build -o ffufPostprocessing main.go & > /dev/null
237237 chmod +x ./ffufPostprocessing
@@ -242,13 +242,16 @@ function install_tools() {
242242 go build -o misconfig-mapper & > /dev/null
243243 chmod +x ./misconfig-mapper
244244 ;;
245+ " trufflehog" )
246+ go install & > /dev/null
247+ ;;
245248 esac
246249
247250 # Copy gf patterns if applicable
248251 if [[ $repo == " gf" ]]; then
249252 cp -r examples ${HOME} /.gf & > /dev/null
250253 elif [[ $repo == " Gf-Patterns" ]]; then
251- mv ./* .json ${HOME} /.gf & > /dev/null
254+ cp ./* .json ${HOME} /.gf & > /dev/null
252255 fi
253256
254257 # Return to the main directory
@@ -507,15 +510,6 @@ function initial_setup() {
507510 eval git -C " ${dir} /sqlmap" pull $DEBUG_STD
508511 fi
509512
510- # testssl.sh
511- if [[ ! -d " ${dir} /testssl.sh" ]]; then
512- # printf "${yellow}Cloning testssl.sh...${reset}\n"
513- eval git clone --depth 1 https://github.com/drwetter/testssl.sh.git " ${dir} /testssl.sh" $DEBUG_STD
514- else
515- # printf "${yellow}Updating testssl.sh...${reset}\n"
516- eval git -C " ${dir} /testssl.sh" pull $DEBUG_STD
517- fi
518-
519513 # massdns
520514 if [[ ! -d " ${dir} /massdns" ]]; then
521515 # printf "${yellow}Cloning and compiling massdns...${reset}\n"
0 commit comments