Changement total de l'infra réseau

This commit is contained in:
Pierre Coimbra
2020-05-02 13:55:38 +02:00
parent c32b5f161c
commit 6df6fca32b
36 changed files with 473 additions and 608 deletions

View File

@@ -4,9 +4,9 @@ Vous trouverez ici toute la documentation relative au fonctionnement et à la co
Cela comprend le reverse proxy CTF, l'environnement Web, l'environnement Système et CTFd.
## Réseau
Les services de la zone CTF devront avoir les interfaces réseaux suivantes :
Les services de la zone CTF devront avoir l'interface réseau suivante :
- Bridge Interne VLAN 40 (CTF)
- Bridge Admin VLAN 100 (ADMIN)
# Table des matières
1. [Reverse Proxy NGINX](nginx_ctf.md)

View File

@@ -35,7 +35,7 @@ adduser systeme docker
su systeme
```
#### /usr/local/bin/dockersh
```
```python
#!/usr/bin/env python3
# PYTHON_ARGCOMPLETE_OK
import os
@@ -180,7 +180,7 @@ docker built -t debmod .
Usage : ./createImg <systemeXX> <dockerfile>
```
```bash
#!/bin/bash
if [ "$#" -lt "2" ]
then
@@ -199,7 +199,7 @@ fi
Usage ./deployEnv <systemeXX>
```
```bash
#!/bin/bash
if [ "$#" -eq "0" ]
then
@@ -239,7 +239,7 @@ systeme7 -> history
Extraire l'archive des challenge dans /home/systeme/SystemeChall/
### Script qui utilisera les deux autres pour tout déployer
```
```bash
#!/bin/bash
declare -a path=(easyshell pwn_my_home overflow shellcode1 shellcode2 shellcode3 history)
for i in `seq 0 6`;

View File

@@ -11,15 +11,15 @@ Ce service n'est pas redondé car non vital. Il portera le numéro 145 sur Beta.
#### /root/.wgetrc
```
http_proxy = http://10.0.3.252:3128/
https_proxy = http://10.0.3.252:3128/
http_proxy = http://10.0.0.252:3128/
https_proxy = http://10.0.0.252:3128/
use_proxy = on
```
#### /etc/apt/apt.conf.d/01proxy
```
Acquire::http {
Proxy "http://10.0.3.252:9999";
Proxy "http://10.0.0.252:9999";
};
```