Files
rdp-brute/main.py

51 lines
1.5 KiB
Python

#!/usr/bin/env python3
"""
FastRDP-NG v2.0 - Next Generation RDP Scanner & Password Sprayer
===============================================================
Blazing-fast async RDP scanner with Windows GUI.
Scans thousands of IPs per second, finds live RDP hosts,
then sprays top 50 common passwords.
Usage:
python main.py # Launch GUI
"""
import sys
import os
# Force UTF-8 encoding to handle Unicode box-drawing characters in banner
try:
# Python 3.7+ on Windows: reconfigure stdout to UTF-8
sys.stdout.reconfigure(encoding='utf-8')
except (AttributeError, ValueError):
pass
# Add project dir to path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from gui import FastRDPGUI
def main():
print("""
╔══════════════════════════════════════════╗
║ FastRDP-NG v2.0 ║
║ Next-Gen RDP Scanner & Password Sprayer ║
╚══════════════════════════════════════════╝
""")
# Check if tkinter is available
try:
import tkinter
except ImportError:
print("[!] ERROR: tkinter not found! GUI mode requires tkinter.")
print(" On Windows, reinstall Python with 'tcl/tk and IDLE' checked.")
sys.exit(1)
app = FastRDPGUI()
app.run()
if __name__ == "__main__":
main()