bruteforce_su is a tool that attempts to brute-force user authentication via su using a provided password dictionary. It automates password guessing by simulating user input and monitoring process behavior.
Caution
This tool is strictly for educational and research purposes. Unauthorized use of brute-force tools is illegal and unethical.
- Automated brute-force: Tries passwords from a dictionary file.
- Process monitoring: Ensures execution control through timeout.
- Safe execution: Handles errors in process management and I/O.
- Customizable timeout: Allows specifying a timeout for login attempts.
To build bruteforce_su, you need:
- A C compiler that supports C17 or later.
- A POSIX-compliant system (Linux, macOS, BSD).
- Root privileges for
suaccess testing.
Clone the repository and compile the program:
$ git clone https://github.com/your-repo/bruteforce_su.git
$ cd bruteforce_su
$ make