Small python code which can be handy when using telegram and you don't want to use VPS again and again. By configuring the code in your VPS, You can execute commands and get your output within telegram. It can also be very useful in performing Recon.
-
Clone this repo and install requirements by:
pip3 install -r requirements.txt
. -
If you are using poetry, navigate to the repository directory and use
poetry install
. -
Goto @BotFather and create newbot, you will be given a unique token.
-
Send "/id" to @MissRose_bot to recieve your chat id to be used for authentication.
-
Create a .env file and follow the sample.env to set the token and id as environment variables.
-
Navigate to the repo directory and run the program with
python3 main.py
-
You are ready to go, type /start on bot's DM to get started.
- /cmd {yourCommand}
- /send {desiredfilename}
Let me know if i need to provide video tutorial for setup, I will be more than happy to help you out.
Pull Requests are also appreciated if you have idea to improve. ๐