Skip to main content

A Python automation tool for OS detection and login attempts using nmap, hydra, and xfreerdp/sshpass.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

os_bruteforcer-1.0.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

os_bruteforcer-1.0.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file os_bruteforcer-1.0.2.tar.gz.

File metadata

  • Download URL: os_bruteforcer-1.0.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for os_bruteforcer-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e1792d852eec414b66dce34c4e61e8455f24ec38d131992dd8257ed99526e9d0
MD5 55c60d613051379dd4ed01e2d6bd12ef
BLAKE2b-256 fed5b098a3583fba71fa386f786878c615662d34a9c6821356a813764763a28b

See more details on using hashes here.

File details

Details for the file os_bruteforcer-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: os_bruteforcer-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for os_bruteforcer-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93bd96f18135f6bcc7497ae80e548339849dddbe79fbf8f340cd9f8cb3c6d0d0
MD5 19a2ba4165b144a77e8d35295b708c44
BLAKE2b-256 57464622733dd8a98cae0b5dd7854adc97a78d0c75e74992e55a716cf6c9579a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page