Skip to main content

OS Bruteforcer

A Python automation tool for OS detection and login attempts using nmap, hydra, and xfreerdp/sshpass.
Designed for educational and authorized penetration testing only.


Features

  • Detects target OS (Windows / macOS) via nmap
  • Performs automated brute-force attacks with hydra
    • RDP for Windows targets
    • SSH for macOS targets
  • Connects automatically on successful login:
    • xfreerdp for Windows
    • sshpass for macOS
  • Flexible password file path (no hardcoded directories)

Project Tree

.
├── assets
│   └── pass.txt
├── LICENSE
├── README.md
├── requirements.txt
├── setup.sh
└── src
    ├── animation.py
    └── OS_Bruteforcer.py

Usage (Github)

1-Clone the repository:

git clone https://github.com/cyb2rS2c/OS_BruteForcer.git
cd OS_BruteForcer

2-Run the script:

chmod +x setup.sh;source ./setup.sh

3-Follow the prompts:

  • Enter the target IP (Windows or macOS)
  • The script uses pass.txt in the assets/ folder by default.
  • You can replace pass.txt or modify the script to use a custom wordlist.

Screenshots

View - screenshots

Disclaimer

This tool is intended only for educational purposes and authorized penetration testing. Do not use it on systems you do not own or have explicit permission to test.

Author

cyb2rS2c - GitHub Profile

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for OS-BruteForcer 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OS-BruteForcer 1.0.2
File Size Uploaded
os_bruteforcer-1.0.2.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for OS-BruteForcer 1.0.2
File Interpreter ABI Platform
os_bruteforcer-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.4 kB

Release files / os_bruteforcer-1.0.2.tar.gz

Download URL os_bruteforcer-1.0.2.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e1792d852eec414b66dce34c4e61e8455f24ec38d131992dd8257ed99526e9d0
BLAKE2b-256 checksum
How to use checksums
fed5b098a3583fba71fa386f786878c615662d34a9c6821356a813764763a28b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / os_bruteforcer-1.0.2-py3-none-any.whl

Download URL os_bruteforcer-1.0.2-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93bd96f18135f6bcc7497ae80e548339849dddbe79fbf8f340cd9f8cb3c6d0d0
BLAKE2b-256 checksum
How to use checksums
57464622733dd8a98cae0b5dd7854adc97a78d0c75e74992e55a716cf6c9579a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page