Skip to content

Commit

Permalink
Merge pull request #6 from Aciid/currentdir-patch
Browse files Browse the repository at this point in the history
Update autoenum.sh
  • Loading branch information
Gr1mmie authored Mar 14, 2022
2 parents 2638abe + 0faf795 commit c8f3768
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions autoenum.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
dir=$(dirname $(readlink -f $0))

if [ ! -x "$(command -v nmap)" ];then
echo "[+] nmap not detected...Installing"
Expand Down Expand Up @@ -80,12 +81,12 @@ if [ ! -x "$(command -v tput)" ];then
sudo apt-get install tput -y > installing;rm installing
fi

source functions/banner.sh
source functions/upgrade.sh
source functions/scans.sh
source functions/enum.sh
source functions/help_general.sh
source functions/menu.sh
source $dir/functions/banner.sh
source $dir/functions/upgrade.sh
source $dir/functions/scans.sh
source $dir/functions/enum.sh
source $dir/functions/help_general.sh
source $dir/functions/menu.sh


if [[ $1 == '-nr' ]];then nr=1;fi
Expand Down

0 comments on commit c8f3768

Please sign in to comment.