From 56e54ea9c5b45547ee5358806a7fd9ba65d5897c Mon Sep 17 00:00:00 2001 From: xer0dayz <1N3@hushmail.com> Date: Mon, 12 Dec 2022 10:33:04 -0700 Subject: [PATCH] Sn1per by @sn1persecurity - https://sn1persecurity.com --- CHANGELOG.md | 1 + install.sh | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13fad72..79e5feb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## CHANGELOG: +* v9.1 - Fixed issue with dirsearch installation/command syntax update * v9.1 - Updated Nuclei sc0pe templates * v9.1 - Fixed issue with Nuclei sc0pe parsers not working * v9.1 - Fixed issue with GAU installer/commmand not working diff --git a/install.sh b/install.sh index 87d3a49..d06da57 100755 --- a/install.sh +++ b/install.sh @@ -139,6 +139,9 @@ gem install public_suffix 2> /dev/null > /dev/null echo -e "$OKBLUE[*]$RESET Setting up Ruby...$RESET" dpkg-reconfigure ruby +echo -e "$OKBLUE[*]$RESET Upgrading Pip...$RESET" +python3 -m pip install --upgrade pip + echo -e "$OKBLUE[*]$RESET Cleaning up old extensions...$RESET" rm -Rf $PLUGINS_DIR 2> /dev/null mkdir $PLUGINS_DIR 2> /dev/null @@ -193,7 +196,14 @@ git clone https://github.com/defparam/smuggler.git # DIRSEARCH INSTALLER echo -e "$OKBLUE[*]$RESET Installing Dirsearch...$RESET" -git clone https://github.com/maurosoria/dirsearch.git +cd $PLUGINS_DIR +rm -Rf dirsearch/ 2> /dev/null +wget https://github.com/maurosoria/dirsearch/archive/refs/tags/v0.4.2.tar.gz +tar -zxvf v0.4.2.tar.gz +mv dirsearch-0.4.2/ dirsearch/ +cd dirsearch/ +pip3 install -r requirements.txt +cd $PLUGINS_DIR # SECRETFINDER INSTALLER echo -e "$OKBLUE[*]$RESET Installing SecretFinder...$RESET"