omg-payloads/payloads/library/execution/Persistent_Reverse_Shell-Te...
aleff-github 72ac8927b3 payload 2023-08-03 10:35:53 +02:00
..
README.md payload 2023-08-03 10:35:53 +02:00
connection.py payload 2023-08-03 10:35:53 +02:00
payload.txt Persistent Reverse Shell - Telegram Based 2023-08-03 10:35:04 +02:00

README.md

Persistent Reverse Shell - Telegram Based

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

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