2
2
3
3
Git CTF 🚩 but good this time.
4
4
5
- - [ make-git-better-2] ( #make-git-better-2 )
6
- - [ Dependencies] ( #dependencies )
7
- - [ Build] ( #build )
8
- - [ Ansible] ( #ansible )
9
- - [ How to build the challenge Docker manually] ( #how-to-build-the-challenge-docker-manually )
10
- - [ Create the hook script] ( #create-the-hook-script )
11
- - [ powershell] ( #powershell )
12
- - [ sh] ( #sh )
13
- - [ Build and run docker image] ( #build-and-run-docker-image )
14
- - [ Build docker] ( #build-docker )
15
- - [ Run docker] ( #run-docker )
16
- - [ Copy ssh key (for outside cloning)] ( #copy-ssh-key-for-outside-cloning )
17
- - [ Useful oneliner] ( #useful-oneliner )
18
- - [ Connect to the running instance] ( #connect-to-the-running-instance )
19
- - [ How to build the web content] ( #how-to-build-the-web-content )
20
- - [ Build the level browser] ( #build-the-level-browser )
21
- - [ Set up docker-tcp-switchboard] ( #set-up-docker-tcp-switchboard )
22
- - [ Test] ( #test )
23
- - [ Unit tests] ( #unit-tests )
24
- - [ Test levels] ( #test-levels )
25
- - [ Develop] ( #develop )
26
- - [ Add a new stage] ( #add-a-new-stage )
5
+ * [ Dependencies] ( #dependencies )
6
+ * [ Build] ( #build )
7
+ * [ Ansible] ( #ansible )
8
+ * [ How to build the challenge Docker manually] ( #how-to-build-the-challenge-docker-manually )
9
+ * [ Create the hook script] ( #create-the-hook-script )
10
+ * [ powershell] ( #powershell )
11
+ * [ sh] ( #sh )
12
+ * [ Build and run docker image] ( #build-and-run-docker-image )
13
+ * [ Build docker] ( #build-docker )
14
+ * [ Run docker] ( #run-docker )
15
+ * [ Copy ssh key (for outside cloning)] ( #copy-ssh-key-for-outside-cloning )
16
+ * [ Useful oneliner] ( #useful-oneliner )
17
+ * [ Connect to the running instance] ( #connect-to-the-running-instance )
18
+ * [ How to build the web content] ( #how-to-build-the-web-content )
19
+ * [ Build the level browser] ( #build-the-level-browser )
20
+ * [ Set up docker-tcp-switchboard] ( #set-up-docker-tcp-switchboard )
21
+ * [ Test] ( #test )
22
+ * [ Unit tests] ( #unit-tests )
23
+ * [ Test levels] ( #test-levels )
24
+ * [ Develop] ( #develop )
25
+ * [ Add a new stage] ( #add-a-new-stage )
27
26
28
27
## Dependencies
29
28
@@ -45,6 +44,12 @@ ansible-playbook -v -i hosts build.yaml
45
44
```
46
45
47
46
Make sure that you have Ansible configured correctly with your SSH keys.
47
+ [ Here's the docs] ( https://docs.ansible.com/ansible/latest/inventory_guide/connection_details.html ) .
48
+
49
+ > Note: Remember to expose 22 to your IP. If you're like me with AWS EC2, you
50
+ > need to add a rule to the security group. Like this:
51
+ >
52
+ > ` aws ec2 authorize-security-group-ingress --group-id PUT_HERE --protocol tcp --port 22 --cidr "$(curl -s https://wtfismyip.com/json | jq -r '.YourFuckingIPAddress')/32" `
48
53
49
54
### How to build the challenge Docker manually
50
55
0 commit comments