Skip to content

Commit 27fb019

Browse files
authored
Updated
1 parent a318313 commit 27fb019

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

0install

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,21 @@ function download_templates(){
536536
mv Gf-Patterns/*.json .gf
537537
fi
538538
}
539+
#install_dirsearch
540+
function install_dirsearch(){
541+
cd /opt
542+
if [ -d "dirsearch" ]
543+
then
544+
echo -e "$pl2 dirsearch is installed"
545+
else
546+
echo -e "$pl1 dirsearch is not installed installing"
547+
git clone https://github.com/maurosoria/dirsearch
548+
cd
549+
sudo echo "alias dirsearch = "python3 /opt/dirsearch/dirsearch.py" >> .bashrc
550+
sudo echo "alias dirsearch = "python3 /opt/dirsearch/dirsearch.py" >> .zshrc
551+
echo "$pl Now You can Execute Dirsearch using dirsearch command"
552+
fi
553+
}
539554
#install_pip3
540555
function install_pip(){
541556
if command -v pip3 &>/dev/null;
@@ -577,4 +592,5 @@ install_otxurls
577592
install_subjs
578593
install_awscheck
579594
install_gau
595+
install_dirsearch
580596
download_templates

0 commit comments

Comments
 (0)