This commit is contained in:
mgeeky 2019-04-24 12:59:17 +02:00
parent 5a73aea723
commit f94d4a1481

View File

@ -222,7 +222,7 @@ mkdir Data
cd Covenant
dotnet build
docker build -t covenant .
echo "docker run -it -p 7443:7443 -p 80:80 -p 443:443 --name covenant -v $ROOT_DIR/tools/redteam/Covenant/Data:/Data covenant --username Admin --computername 0.0.0.0" > start-covenant-docker.sh
echo "docker run -it -p 7443:7443 -p 80:80 -p 443:443 --name covenant -v $ROOT_DIR/tools/redteam/Covenant/Data:/app/Data covenant --username Admin --computername 0.0.0.0" > start-covenant-docker.sh
chmod +x start-covenant-docker.sh
cd ../..
git_clone https://github.com/cobbr/Elite.git
@ -232,9 +232,11 @@ mkdir Data
cd Elite
dotnet build
docker build -t elite .
echo "docker run -it --rm --name elite -v $ROOT_DIR/tools/redteam/Elite/Data:/Data elite --username Admin --computername"'$1' > start-elite-docker.sh
echo "docker run -it --rm --name elite -v $ROOT_DIR/tools/redteam/Elite/Data:/app/Data elite --username Admin --computername"'$1' > start-elite-docker.sh
chmod +x start-elite-docker.sh
cd ../..
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
popd