A powerful Windows automation bot built on Bale Messenger platform.
Control your Windows machine remotely by executing PowerShell commands, managing files/folders, and installing software via Chocolatey or Winget. Includes auto-start via registry and admin-only access control.
β οΈ Use this project only for educational purposes or on machines you own/have permission to control!
- π Admin-only access (restricted by chat ID)
- π₯ Upload/download files and folders through Bale Bot
- π§βπ» Execute unlimited PowerShell commands for admins
- π¦ Compress folders into ZIP before sending
- π Option to receive files/folders zipped or uncompressed
- π₯οΈ Auto-start with Windows Registry entry
- π¦ Install programs silently using Chocolatey or Winget
- π Support for custom download directories
git clone https://github.com/matinhajiseftjani400/Remote-PowSH.git
cd Remote-PowSH
pip install -r requirements.txt- On Linux/macOS:
export BOT_TOKEN=your_bale_bot_token_here- On Windows (CMD):
set BOT_TOKEN=your_bale_bot_token_herepython main.pyTo restrict bot control, set your chat ID(s) in main.py:
ADMIN_CHAT_IDS = {123456789} # Replace with your chat ID(s)Send a message to this Bale bot π @id_number_mrn_bot It replies with your chat ID number. Use that number above.
Send command to bot:
install <program_name>
Example:
install firefox
Bot tries Winget first, then falls back to Chocolatey automatically.
π MIT license
ΩΨ§Ψ±Ψ³Ϋ