Home

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 šŸ‘€

/start command/help command
/nmapadv command/amassenum command

Getting Started

šŸ”Ø 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.:

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 šŸ¤˜šŸ¼

License

This project is licensed under the GNU General Public License v3.0

Acknowledgments