diff --git a/install.sh b/install.sh index db7c6e63..625c534d 100755 --- a/install.sh +++ b/install.sh @@ -648,6 +648,10 @@ eval strip -s "$HOME"/go/bin/* $DEBUG_STD eval $SUDO cp "$HOME"/go/bin/* /usr/local/bin/ $DEBUG_STD +if [ "$web" = true ]; then + install_webserver +fi + printf "${yellow} Remember set your api keys:\n - amass (~/.config/amass/config.ini)\n - subfinder (~/.config/subfinder/provider-config.yaml)\n - GitLab (~/Tools/.gitlab_tokens)\n - SSRF Server (COLLAB_SERVER in reconftw.cfg or env var) \n - Blind XSS Server (XSS_SERVER in reconftw.cfg or env var) \n - notify (~/.config/notify/provider-config.yaml) \n - theHarvester (~/Tools/theHarvester/api-keys.yaml or /etc/theHarvester/api-keys.yaml)\n - WHOISXML API (WHOISXML_API in reconftw.cfg or env var)\n\n\n${reset}" printf "${bgreen} Finished!${reset}\n\n" printf "\n\n${bgreen}#######################################################################${reset}\n" diff --git a/reconftw.sh b/reconftw.sh index c06fddfd..1fccc2c1 100755 --- a/reconftw.sh +++ b/reconftw.sh @@ -2827,8 +2827,8 @@ function webserver(){ if [ "$ipAddress" != "" ]; then printf "\n ${bblue}Starting web server... ${reset}\n" - cd web $SUDO source .venv/bin/activate + cd web # $SUDO service postgresql start $SUDO screen -S ReconftwWebserver -X kill &>/dev/null $SUDO screen -dmS ReconftwWebserver python3 manage.py runserver $ipAddress:8001 &>/dev/null