First
This commit is contained in:
commit
865127a0a9
5 changed files with 40 additions and 0 deletions
2
Rapport.md
Normal file
2
Rapport.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Protocole Cryptographique
|
||||||
|
## Introduction
|
14
compose.yml
Normal file
14
compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
services:
|
||||||
|
webserver:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "5000:5000"
|
||||||
|
volumes:
|
||||||
|
- .:/code
|
||||||
|
attacker:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "5001:5001"
|
||||||
|
volumes:
|
||||||
|
- .:/code
|
||||||
|
|
0
docker/apache2/default-ssl.conf
Normal file
0
docker/apache2/default-ssl.conf
Normal file
12
dockerfile
Normal file
12
dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
FROM ubuntu:lastest AS webserver
|
||||||
|
RUN apt-get update && apt-get install -y apache2
|
||||||
|
|
||||||
|
WORKDIR /var/www/html
|
||||||
|
COPY ./public/ .
|
||||||
|
|
||||||
|
CMD ["apache2ctl", "-D", "FOREGROUND"]
|
||||||
|
|
||||||
|
FROM alpine:latest AS attacker
|
||||||
|
RUN apk add --no-cache curl
|
||||||
|
|
||||||
|
CMD ["curl", "webserver:80"]
|
12
public/index.html
Normal file
12
public/index.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Serveur Web - Honnete</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Page d'accueil</h1>
|
||||||
|
<p>Le serveur web est honnête.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Add a link
Reference in a new issue