Compare commits

..

8 Commits

Author SHA1 Message Date
b0da2c76f5 Actualiser README.md 2026-04-20 13:43:00 +00:00
e7d69102b5 Actualiser .gitea/workflows/master.yml
All checks were successful
Docker Build and Push for Main Branch / docker (push) Successful in 12m9s
2026-04-20 07:50:01 +00:00
cca068d9d1 Actualiser .dockerignore
Some checks failed
Docker Build and Push for Main Branch / docker (push) Has been cancelled
2026-04-20 07:49:39 +00:00
fd2634ce29 Téléverser les fichiers vers "reports"
Some checks failed
Docker Build and Push for Main Branch / docker (push) Has been cancelled
2026-04-20 07:48:54 +00:00
3b681c8cf6 Actualiser docker-compose.yml 2026-04-19 21:41:07 +00:00
765edabd7a Actualiser app/video.mp4
All checks were successful
Docker Build and Push for Main Branch / docker (push) Successful in 12m25s
2026-04-19 21:40:51 +00:00
3a727762b2 Actualiser stream.sh
Some checks failed
Docker Build and Push for Main Branch / docker (push) Has been cancelled
2026-04-19 21:40:22 +00:00
fc910b5fdf fix(docs): Updated docs 2026-04-15 18:05:49 +00:00
8 changed files with 7 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
.gitignore
docker-compose.yml
LICENSE
reports

View File

@@ -8,6 +8,7 @@ on:
- "LICENSE"
- "docker-compose.yml"
- "video.mp4"
- "reports/"
branches:
- master

View File

@@ -2,7 +2,7 @@
Fake cam is a simple docker container running a fake webcam. It is used for educational purposes to teach ethical hacking.
> Default creds are : admin | cam123
> Default creds are : admin | xxxxxx
## Requirements
@@ -41,14 +41,13 @@ curl -u admin:cam123 http://<ip>:3301
1. Install required tools
```bash
apt install hydra curl nmap zip unzip -y
apt install hydra curl nmap -y
```
2. Download the [wordlist](./wordlist.txt)
```bash
wget https://git.phorge.fr/l-nmch/fake-cam/raw/branch/master/wordlist.txt
unzip rockyou.txt.zip
```
3. Find open ports:

View File

@@ -6,7 +6,7 @@ services:
ports:
- "3301:80"
volumes:
- ./video.mp4:/video.mp4:ro
- ./app:/app:ro
deploy:
resources:
limits:

BIN
reports/rendu-attaque.odt Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,7 +1,7 @@
#!/bin/sh
echo "🎬 Démarrage du stream HLS optimisé (segments 2s)..."
ffmpeg -re -stream_loop -1 -i /video.mp4 \
ffmpeg -re -stream_loop -1 -i /app/video.mp4 \
-c:v libx264 -preset veryfast -b:v 1500k -maxrate 1500k -bufsize 3000k \
-c:a aac -b:a 128k -ar 44100 \
-force_key_frames "expr:gte(t,n_forced*2)" \