File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff 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
540555function install_pip(){
541556 if command -v pip3 & > /dev/null;
@@ -577,4 +592,5 @@ install_otxurls
577592install_subjs
578593install_awscheck
579594install_gau
595+ install_dirsearch
580596download_templates
You can’t perform that action at this time.
0 commit comments