Skip to content

Commit

Permalink
Merge pull request #684 from six2dez/dev
Browse files Browse the repository at this point in the history
fix web installer
  • Loading branch information
six2dez authored Apr 25, 2023
2 parents 9eb3d5a + 0e48954 commit 7d5b5ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion reconftw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d5b5ab

Please sign in to comment.