forked from wwce/terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
616 changed files
with
65,449 additions
and
1,742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
aws/Jenkins_proj-master/WebInDeploy/scripts/initialize_attacker.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
apt-get update | ||
apt-get update | ||
apt install docker.io python3-pip build-essential libssl-dev libffi-dev -y --force-yes | ||
pip3 install docker-compose | ||
cd /var/tmp | ||
echo "version: '3'" > docker-compose.yml | ||
echo "services:" >> docker-compose.yml | ||
echo " attacker:" >> docker-compose.yml | ||
echo " image: pglynn/kali:latest" >> docker-compose.yml | ||
echo " ports:" >> docker-compose.yml | ||
echo " - \"443:443\"" >> docker-compose.yml | ||
echo " - \"5000:5000\"" >> docker-compose.yml | ||
docker-compose up -d |
17 changes: 17 additions & 0 deletions
17
aws/Jenkins_proj-master/WebInDeploy/scripts/initialize_webserver.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
apt-get update | ||
apt-get update | ||
apt install docker.io python3-pip build-essential libssl-dev libffi-dev -y --force-yes | ||
pip3 install docker-compose | ||
cd /var/tmp | ||
echo "version: '3'" > docker-compose.yml | ||
echo "services:" >> docker-compose.yml | ||
echo " jenkins:" >> docker-compose.yml | ||
echo " image: pglynn/jenkins:latest" >> docker-compose.yml | ||
echo " environment:" >> docker-compose.yml | ||
echo " JAVA_OPTS: \"-Djava.awt.headless=true\"" >> docker-compose.yml | ||
echo " JAVA_OPTS: \"-Djenkins.install.runSetupWizard=false\"" >> docker-compose.yml | ||
echo " ports:" >> docker-compose.yml | ||
echo " - \"50000:50000\"" >> docker-compose.yml | ||
echo " - \"8080:8080\"" >> docker-compose.yml | ||
docker-compose up -d |
Oops, something went wrong.