Skip to content

Commit

Permalink
Update Cloudtopolis.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelGMSec authored Aug 21, 2024
1 parent 9327e80 commit 33c0f40
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 @@ -91,15 +91,15 @@ echo -e "\e[37;1mDone!"

docker tag mysql:5.7 cloudtopolis/database > /dev/null 2>&1
docker rmi mysql:5.7 > /dev/null 2>&1
CloudtopolisDB="$(pwd)/Cloudtopolis/mysql/mysql.sock"
CloudtopolisDB="$(pwd)/Cloudtopolis/mysql/sys"

echo -e "\e[0m"
echo -e "\e[32;1m[+] Installing Hashtopolis..\e[37;1m"
sudo docker build -t joelgmsec/cloudtopolis . > /dev/null 2>&1
sudo docker run --rm --name cloudtopolis --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="$RAND" -d -p 8000:80 joelgmsec/cloudtopolis > /dev/null 2>&1
echo -e "\e[37;1mDone!"

if [ ! -e $CloudtopolisDB ] ; then
if [ ! -d $CloudtopolisDB ] ; then
echo -e "\e[0m"
echo -e "\e[31;1m[!] Cloudtopolis database not found!"
sleep 1
Expand Down

0 comments on commit 33c0f40

Please sign in to comment.