typing errors

pull/371/head
aleff-github 2023-10-18 08:42:31 +02:00
parent 7c8310ce64
commit d5b87f9c37
1 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
# Telegram Persistent Connection
A script used to configure a persistent connection on a Linux computer trough a pre-configured Telegram Bot.
A script used to configure a persistent connection on a Linux computer through a pre-configured Telegram Bot.
**Category**: Execution
## Description
A script used to configure a persistent connesction on a Linux computer trough a pre-configured Telegram Bot.
A script used to configure a persistent connesction on a Linux computer through a pre-configured Telegram Bot.
Opens a shell, download the python script trough the `curl` command outputing the file into a `connection.py` file using `-o` option, then run it and set the run of the program as a default command every times a shell is runned.
Opens a shell, download the python script through the `curl` command outputing the file into a `connection.py` file using `-o` option, then run it and set the run of the program as a default command every times a shell is runned.
This payload is intended as a basic reference point for developing payloads on a persistent connection Telegram based.
@ -20,7 +20,7 @@ This payload is intended as a basic reference point for developing payloads on a
### Settings
- **Telegram Bot**: You should configure a bot trough Telegram. If you don't know how to do this, follow the guide about [Telegram Bot guide](#telegram-bot-guide). When you have create your personal Telegram Bot you should get the Telegram bot ID that you must put into the variable BOT_TOKEN at line 4 in the Python file as you can read in the line 3 comment.
- **Telegram Bot**: You should configure a bot through Telegram. If you don't know how to do this, follow the guide about [Telegram Bot guide](#telegram-bot-guide). When you have create your personal Telegram Bot you should get the Telegram bot ID that you must put into the variable BOT_TOKEN at line 4 in the Python file as you can read in the line 3 comment.
- **Python Script**: Download, edit as you want and upload the python script somewhere you want and put the file link into the file payload.txt replacing the example link.
- **Persistence**: I preferred to create a mechanism that would allow you to create *some* persistence, not quite total, but you can have a high level of persistence. In this specific case, no permissions are needed, because it is sufficient to insert some lines in the .bashrc file that allow to keep the connection to Telegram open from the first time the user opens the terminal. Most of other mechanism needs the sudo permissions.