Skip to content

Hazard is a dictionary brute-force attack, constructed using the Rust language for the most sensitive network protocols and services, including FTP, SSH, PostgreSQL, MySQL, and Samba (SMB networking protocol). Its design prioritizes ease of use and a clean interface, making it suitable for use in Capture the Flag (CTF) or Pentest Services.

License

Notifications You must be signed in to change notification settings

Jsmoreira02/Hazard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Captura_de_imagem_20240707_125436-removebg-preview

Hazard

Hazard is dictionary bruteforce tool, built for a simple and user-friendly interface, supporting the most common (and sensitive) network protocols such as ssh, ftp, samba, mysql, postgresql.

"A brute force attack is a hacking method that uses trial and error to crack passwords, login credentials, and encryption keys. It is a simple yet reliable tactic for gaining unauthorized access to individual accounts and organizations’ systems and networks. The hacker tries multiple usernames and passwords, often using a computer to test a wide range of combinations, until they find the correct login information."

Usage:

Example: hazard ssh -t targetIP -f ../../rockyou.txt --showPasswords -n 10

hazard-ezgif com-video-to-gif-converter

Installation:

  git clone https://github.com/Jsmoreira02/Hazard.git
  cd Hazard
  bash install_dependecies.sh

or

  curl -o install_dependecies.sh https://raw.githubusercontent.com/Jsmoreira02/Hazard/main/install_dependecies.sh && bash install_dependecies.sh

Requirements:

Debian/Ubuntu-based distributions

sudo apt-get install -y pkg-config libssl-dev libmariadb-dev libmysqld-dev libsmbclient-dev libsmbclient libpq-dev

Fedora/RHEL-based distributions

sudo dnf install -y pkg-config openssl-devel mariadb-devel mysql-devel libsmbclient-devel libsmbclient postgresql-devel

Arch Linux-based distributions

sudo pacman -Sy --needed pkg-config openssl mariadb mysql smbclient postgresql-libs

More info:

  • Colored Documentation => Colored
  • Clap Documentation => Clap
  • Rust SSH Documentation => ssh2
  • Rust FTP Documentation => ftp-client
  • Pavao (Rust Samba client) => Pavao
  • Rust SQL database client => diesel

Warning:

I am not responsible for any illegal use or damage caused by this tool. It was written for fun, not evil and is intended to raise awareness about cybersecurity.

Have a good hack :D

About

Hazard is a dictionary brute-force attack, constructed using the Rust language for the most sensitive network protocols and services, including FTP, SSH, PostgreSQL, MySQL, and Samba (SMB networking protocol). Its design prioritizes ease of use and a clean interface, making it suitable for use in Capture the Flag (CTF) or Pentest Services.

Topics

Resources

License

Stars

Watchers

Forks