v2.0 streaming redesign: concurrent scan+spray, RDP connect button, live stats fix, terminal output
This commit is contained in:
50
main.py
Normal file
50
main.py
Normal file
@@ -0,0 +1,50 @@
|
||||
#!/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()
|
||||
Reference in New Issue
Block a user