Awesome
Bot Bounty
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
- Drayko Esobar - If you like my work, please...<a href="https://www.buymeacoffee.com/drayko" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
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.