Files
my-flipper-shits/GNU-Linux/Execution/Telegram_Persistent_Reverse_Shell_Linux/README.md
T
2025-07-04 07:09:11 +00:00

2.1 KiB

Persistent Reverse Shell - Telegram Based

A script used to configure a persistent reverse shell on a Linux computer trough a pre-configured Telegram Bot.

Hits

Category: Execution


Dependencies

  • Internet Connection

Description

A script used to configure a persistent reverse shell on a Linux computer trough a pre-configured Telegram Bot.

This payload is based on Telegram Persistent Connection payload for create the Telegram connection.

The script accept the /reverse command using the format /reverse <shell_command> and split /reverse from <shell_command> trough the extract_command() function, then execute the command acquired acquiring the output trough the function run_command().

Because Telegram uses a limited size per message, the script divides the output of the command into a theoretically infinite chunk of 1000 characters in length that will be sent one by one through the Telegram Bot.

Credits

Aleff :octocat:


Github

Linkedin