Skip to content

Commit 1360e2d

Browse files
authored
Merge pull request #924 from pgrenaud/misc-fixes
Miscellaneous fixes
2 parents 5503e7c + 3d61386 commit 1360e2d

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

install.sh

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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"

reconftw.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function tools_installed() {
122122
["dorks_hunter"]="${tools}/dorks_hunter/dorks_hunter.py"
123123
["fav-up"]="${tools}/fav-up/favUp.py"
124124
["Corsy"]="${tools}/Corsy/corsy.py"
125-
["testssl"]="${tools}/testssl.sh/testssl.sh"
125+
["testssl.sh"]="${tools}/testssl.sh/testssl.sh"
126126
["CMSeeK"]="${tools}/CMSeeK/cmseek.py"
127127
["OneListForAll"]="$fuzz_wordlist"
128128
["lfi_wordlist"]="$lfi_wordlist"

0 commit comments

Comments
 (0)