Skip to content

Multi-threaded SSH brute-force tool using Paramiko. Supports custom IPs/ports, retry logic, and logs successful credentials. For educational and authorized penetration testing only.

License

Notifications You must be signed in to change notification settings

Talkhestani/ssh-bruter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH Brute-force Tool | ابزار حمله بروت فورس SSH

An SSH brute-force tool using paramiko with support for pipenv.
ابزار حمله بروت فورس بر روی سرورهای SSH با استفاده از paramiko و پشتیبانی از pipenv.


🚀 Features | ویژگی‌ها

  • Multi-threaded credential testing | تست چند credential با Threading
  • IP and custom port support | پشتیبانی از پورت‌های دلخواه
  • Logs successful credentials to hits.txt | ذخیره موفقیت‌ها در فایل hits.txt
  • Retry mechanism on temporary errors | تلاش مجدد در صورت بروز خطاهای موقت

📁 Project Structure | ساختار پروژه

project/
│
├── assets/
│   ├── username.txt       # List of usernames | لیست نام کاربری‌ها
│   ├── password.txt       # List of passwords | لیست پسوردها
│   └── ips.txt            # List of IPs and ports | لیست IPها و پورت‌ها
│
├── hits.txt               # Successful credentials | کرنشیال‌های موفق
├── main.py                # Main script | اسکریپت اصلی
├── Pipfile                # Pipenv dependencies | وابستگی‌های Pipenv
└── README.md              # This file | این فایل

📦 Installation | نصب

  1. Install pipenv if not already installed | اگر pipenv نصب نیست، نصب کنید:
pip install pipenv
  1. Install the environment and dependencies | نصب محیط مجازی و وابستگی‌ها:
pipenv install

If no Pipfile exists, run: | اگر Pipfile موجود نیست، اجرا کنید:

pipenv install paramiko termcolor

✅ Setup Files | آماده‌سازی فایل‌ها

Create the following files in assets/: | فایل‌های زیر را در مسیر assets/ بسازید:

  • username.txt : One username per line | هر خط یک نام کاربری
  • password.txt : Passwords list | لیست پسوردها
  • ips.txt : IP addresses (format: IP or IP:PORT) | آدرس‌های IP (فرمت: IP یا IP:PORT)

Example ips.txt: | نمونه ips.txt:

192.168.1.10
192.168.1.20:2222

▶️ Run | اجرا

Run the tool with pipenv: | اجرای ابزار با pipenv:

pipenv run python main.py

📝 Output | خروجی

Successful credentials will be saved to hits.txt: | کرنشیال‌های موفق در hits.txt ذخیره می‌شوند:

192.168.1.10:22 - root:toor
192.168.1.20:2222 - admin:admin123

⚠️ Legal Notice | هشدار قانونی

This tool is only for educational or authorized penetration testing.
استفاده فقط در آموزش یا تست نفوذ با مجوز مجاز است.

Unauthorized use is illegal. | استفاده‌ی غیرمجاز غیرقانونی است.


🧩 Dependencies | وابستگی‌ها

About

Multi-threaded SSH brute-force tool using Paramiko. Supports custom IPs/ports, retry logic, and logs successful credentials. For educational and authorized penetration testing only.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages