How mhdgning131/teletunnel works
TeleTunnel is a Windows remote-administration program controlled through a Telegram bot. An authorized Telegram user sends commands; the bot filters messages by configured user ID, dispatches supported operations to local capabilities, and returns results through Telegram. The README documents reconnaissance, command execution, clipboard and file operations, keylogging, and TCP tunneling. Most implementation resides in one C++ source file. The excerpts show portions of the HTTP helper, system reporting, keylogger, and stream manager; other feature nodes and their dispatch links reflect documented capabilities, not inspected implementations.
Main entry points: TeleTunnel v2.cpp Bot and dispatcher · config.h Bot configuration · json.hpp JSON parsing
Components 18
Telegram control
- Bot and dispatcher
TeleTunnel v2.cpp - Bot configuration
config.h - WinINet HTTP
TeleTunnel v2.cpp - JSON parsing
nlohmann/json.hpp
Host operations
- Reconnaissance
TeleTunnel v2.cpp - System report
TeleTunnel v2.cpp - Desktop capture
TeleTunnel v2.cpp - Process listing
TeleTunnel v2.cpp - Directory browser
TeleTunnel v2.cpp - Command execution
TeleTunnel v2.cpp - Clipboard manager
TeleTunnel v2.cpp
File operations
- File transfer and drops
TeleTunnel v2.cpp
Keylogging and tunnels
- Keylogger
TeleTunnel v2.cpp - TCP stream manager
TeleTunnel v2.cpp
Other components
- Authorized user
- Telegram API
- Windows host APIs
- Internal services
Connections 27
- Authorized user → Telegram API: sends commands
- Telegram API → Bot and dispatcher: delivers updates
- Bot and dispatcher → Bot configuration: reads credentials
- Bot and dispatcher → JSON parsing: parses updates
- Bot and dispatcher → WinINet HTTP: requests API
- WinINet HTTP → Telegram API: sends requests
- Bot and dispatcher → Reconnaissance: dispatches
- Reconnaissance → System report: collects report
- Reconnaissance → Desktop capture: captures screen
- Reconnaissance → Process listing: lists processes
- Reconnaissance → Directory browser: browses paths
- Bot and dispatcher → Command execution: dispatches
- Bot and dispatcher → Clipboard manager: dispatches
- Bot and dispatcher → File transfer and drops: dispatches
- Bot and dispatcher → Keylogger: dispatches
- Bot and dispatcher → TCP stream manager: dispatches
- System report → Windows host APIs: reads host data
- Desktop capture → Windows host APIs: captures desktop
- Process listing → Windows host APIs: reads processes
- Directory browser → Windows host APIs: reads directories
- Command execution → Windows host APIs: runs commands
- Clipboard manager → Windows host APIs: accesses clipboard
- File transfer and drops → Windows host APIs: reads and writes files
- Keylogger → Windows host APIs: captures keystrokes
- TCP stream manager → Internal services: connects TCP
- Bot and dispatcher → Telegram API: returns results
- Authorized user → File transfer and drops: uploads files