File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,12 +180,21 @@ function nix_util()
180180 # Check to see if we have pip, if not get setuptools and install pip
181181 pypip=$( which pip)
182182 case $pypip in
183- * /usr/bin/pip* )
183+ * /usr/bin/pip* )
184184 pp=1
185185 ;;
186186 esac
187187
188+ if [[ pp != 1 ]]; then
189+ case $pypip in
190+ * /usr/local/bin/pip* )
191+ pp=2
192+ ;;
193+ esac
194+ fi
195+
188196 if [[ $pp != 1 ]]; then
197+ if [[ $pp != 2 ]]; then
189198 warning " Heuristics indicate pip is not installed on this system."
190199 notification " Attempting to resolve."
191200 sleep 2
@@ -201,6 +210,7 @@ function nix_util()
201210
202211 notification " Pip has been succesfully installed."
203212 sleep 2
213+ fi
204214 fi
205215
206216 notification " All Linux utilities required by the installer appear to be present. Proceeding to main menu."
@@ -582,32 +592,32 @@ function list()
582592 printf " %b \n"
583593 ;;
584594 " DNSRecon" )
585- DNSRecon
595+ DNSRecon
586596 tools
587597 printf " %b \n"
588598 ;;
589599 " Sublist3r" )
590- Sublist3r
600+ Sublist3r
591601 tools
592602 printf " %b \n"
593603 ;;
594604 " TekDefense" )
595- TekDefense
605+ TekDefense
596606 tools
597607 printf " %b \n"
598608 ;;
599609 " TheHarvester" )
600- theHarvester
610+ theHarvester
601611 tools
602612 printf " %b \n"
603613 ;;
604614 " IOC-Parser" )
605- ioc_parser
615+ ioc_parser
606616 tools
607617 printf " %b \n"
608618 ;;
609619 " PyParser-CVE" )
610- pyparser
620+ pyparser
611621 tools
612622 printf " %b \n"
613623 ;;
@@ -616,7 +626,7 @@ function list()
616626 printf " %b \n"
617627 ;;
618628 " Harbinger" )
619- harbinger
629+ harbinger
620630 tools
621631 printf " %b \n"
622632 ;;
@@ -631,7 +641,7 @@ function list()
631641 printf " %b \n"
632642 ;;
633643 " Spiderfoot" )
634- Spiderfoot
644+ Spiderfoot
635645 tools
636646 printf " %b \n"
637647 ;;
@@ -659,7 +669,7 @@ function install_all()
659669 inquisitor
660670 BirdWatcher
661671 Spiderfoot
662- mimir_install
672+ mimir_install
663673 }
664674
665675# Function to interact with online OSINT/Threat Intel resources.
@@ -742,7 +752,7 @@ function main_menu()
742752 gecko=$( which geckodriver)
743753
744754 case $gecko in
745- * /usr/bin /geckodriver* )
755+ * /usr/sbin /geckodriver* )
746756 gdriver=1
747757 ;;
748758 esac
You can’t perform that action at this time.
0 commit comments