Bot Bounty
January 19, 2022 ยท View on GitHub
Python Script for Telegram Bot is specially builded for pentest & bug bounty. It's like a telegram shell.
You will be notified when your task(command line) is finished with results. This bot make long time tasks by you, taking off the need of your attention if it's finished.
Preview ๐
![]() | ![]() |
|---|---|
![]() | ![]() |
Getting Started
- Developed with Python 3.8.5
๐จ Prerequisites
You need to install the Python Telegram bot api used for this bot(pyTelegramBotAPI).
$ pip3 install pyTelegramBotAPI
๐ฅพ Steps to run your bot ๐ฅพ
Create a bot with @botfather and replace the API Token gaven by @botfather in the script config.py at line 2:
TOKEN = 'XXXXXX:XXXXXXXXXXXXXXXX'
At same file(config.py) add the ID number(s) of the user(s) who is/are authorized at line 4:
authorizedUsers = [123456789, 987654321]
to know which is your User ID go to @userinfobot
Now just run the script:
$ python3 bot.py
Tip
If your output is too large, you should save it in a file with no output.
E.g.:
\nmapadv example.com > resultScan.txt\nmapadv example.com -oN resultScan.txt\exec echo 'awesome bot!' > yesItIs.txt
Available commands
โโโ /start # starts/reset the bot
โ โโโ Main Menu # keyboard personalized options
โ โโโ info serv
โ โ โโโ Temp # temperature of your device
โ โ โโโ Hard Disk Space
โ โ โโโ RAM # info of your RAM
โ โ โโโ CPU # Usage of your CPU
โ โโโ ip route
โ โโโ public ip
โ โโโ active processes
โ โโโ netstat # by services
โ โโโ who # who is logged on your device
โโโ /exec # execute a command line that you give E.g.:
โ # /exec echo 'awesome bot!')
โโโ /amassenum # /amassenum example.com -> $ amass enum -d example.com
โโโ /nmapadv # /nmapadv example.com -> $ nmap -sC -sV -Pn -p-
โโโ /help # show list of commands avaibles
๐ฅ Security Logger
There is a logFileBot.txt file where will log all commands sended by user(s). In addition, if it's the case someone trying to use your bot without your authorization.
Author
Contributors ๐ค๐ผ
- no one until now... You can be here! :D Open to new commands, suggests, changes or improvements.
License
This project is licensed under the GNU General Public License v3.0
Acknowledgments
- To Va5c0, for his previus work.




