Skip to content

Commit

Permalink
Update Cloudtopolis.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelGMSec authored Nov 10, 2020
1 parent 728f515 commit 2726e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cloudtopolis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ echo -e "\e[32;1m[+] Installing Hashtopolis..\e[0;1m"
sudo docker run --name hashtopolis --link mysql:mysql -v $(pwd)/Cloudtopolis/inc:/var/www/html/inc -v $(pwd)/Cloudtopolis/import:/var/www/html/import -v $(pwd)/Cloudtopolis/files:/var/www/html/files -e H8_USER="admin" -e H8_PASS="Cl0udt0p0l1s!" -d -p 8000:80 kpeiruza/hashtopolis

if [[ $CustomVPS ]] ; then

echo -e "\e[0m"
echo -e "\e[32;1m[+] Installing SSH Access..\e[0;1m"

Expand All @@ -92,6 +91,7 @@ fi

sudo docker run --name ssh --link hashtopolis:hashtopolis -p 2222:22 -d -t kartoza/ssh
sleep 3
fi

CloudtopolisDB="$(pwd)/Cloudtopolis/mysql/hashtopolis"

Expand All @@ -103,6 +103,7 @@ if [ ! -d $CloudtopolisDB ] ; then
until [ -d $CloudtopolisDB ] ; do [ -d $CloudtopolisDB ] ; done
fi

if [[ $CustomVPS ]] ; then
SshHost="$(echo $IP)"
SshPort="2222"
SshUser="root"
Expand All @@ -115,7 +116,6 @@ echo -e "SshHost = '$SshHost'"
echo -e "SshPort = '$SshPort'"
echo -e "SshUser = '$SshUser'"
echo -e "SshPass = '$SshPass'"

fi

echo -e "\e[0m"
Expand Down

0 comments on commit 2726e2b

Please sign in to comment.