Compare commits
8 Commits
a3be4bf77a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| b0da2c76f5 | |||
| e7d69102b5 | |||
| cca068d9d1 | |||
| fd2634ce29 | |||
| 3b681c8cf6 | |||
| 765edabd7a | |||
| 3a727762b2 | |||
| fc910b5fdf |
@@ -1,3 +1,4 @@
|
|||||||
.gitignore
|
.gitignore
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
LICENSE
|
LICENSE
|
||||||
|
reports
|
||||||
@@ -8,6 +8,7 @@ on:
|
|||||||
- "LICENSE"
|
- "LICENSE"
|
||||||
- "docker-compose.yml"
|
- "docker-compose.yml"
|
||||||
- "video.mp4"
|
- "video.mp4"
|
||||||
|
- "reports/"
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
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
|
## Requirements
|
||||||
|
|
||||||
@@ -41,14 +41,13 @@ curl -u admin:cam123 http://<ip>:3301
|
|||||||
1. Install required tools
|
1. Install required tools
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apt install hydra curl nmap zip unzip -y
|
apt install hydra curl nmap -y
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Download the [wordlist](./wordlist.txt)
|
2. Download the [wordlist](./wordlist.txt)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://git.phorge.fr/l-nmch/fake-cam/raw/branch/master/wordlist.txt
|
wget https://git.phorge.fr/l-nmch/fake-cam/raw/branch/master/wordlist.txt
|
||||||
unzip rockyou.txt.zip
|
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Find open ports:
|
3. Find open ports:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3301:80"
|
- "3301:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./video.mp4:/video.mp4:ro
|
- ./app:/app:ro
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
BIN
reports/rendu-attaque.odt
Normal file
BIN
reports/rendu-attaque.odt
Normal file
Binary file not shown.
BIN
reports/rendu-remédiation.odt
Normal file
BIN
reports/rendu-remédiation.odt
Normal file
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "🎬 Démarrage du stream HLS optimisé (segments 2s)..."
|
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:v libx264 -preset veryfast -b:v 1500k -maxrate 1500k -bufsize 3000k \
|
||||||
-c:a aac -b:a 128k -ar 44100 \
|
-c:a aac -b:a 128k -ar 44100 \
|
||||||
-force_key_frames "expr:gte(t,n_forced*2)" \
|
-force_key_frames "expr:gte(t,n_forced*2)" \
|
||||||
|
|||||||
Reference in New Issue
Block a user