Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jsmoreira02/hazard

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.
https://github.com/jsmoreira02/hazard

brute-force bugbounty ctf-challenges cybersecurity-tool dictionary-attack hacking-tool network-security rust

Last synced: about 10 hours ago
JSON representation

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.

Awesome Lists containing this project

README

        

![Captura_de_imagem_20240707_125436-removebg-preview](https://github.com/Jsmoreira02/Hazard/assets/103542430/c2f4971c-aa5b-4eff-9cd5-c9be68aeb223)







# 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](https://github.com/Jsmoreira02/Hazard/assets/103542430/184da502-43ad-41ad-a3a7-01f8a0076e57)

## Installation:

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

or

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

## Requirements:
**Debian/Ubuntu-based distributions**
```bash
sudo apt-get install -y pkg-config libssl-dev libmariadb-dev libmysqld-dev libsmbclient-dev libsmbclient libpq-dev
```
**Fedora/RHEL-based distributions**
```bash
sudo dnf install -y pkg-config openssl-devel mariadb-devel mysql-devel libsmbclient-devel libsmbclient postgresql-devel
```
**Arch Linux-based distributions**
```bash
sudo pacman -Sy --needed pkg-config openssl mariadb mysql smbclient postgresql-libs
```

## More info:

- **Colored Documentation** => [Colored](https://crates.io/crates/colored)
- **Clap Documentation** => [Clap](https://docs.rs/clap/latest/clap/)
- **Rust SSH Documentation** => [ssh2](https://docs.rs/ssh2/latest/ssh2/)
- **Rust FTP Documentation** => [ftp-client](https://docs.rs/ftp/latest/ftp/)
- **Pavao (Rust Samba client)** => [Pavao](https://docs.rs/pavao/latest/pavao/)
- **Rust SQL database client** => [diesel](https://docs.rs/diesel/latest/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***