Skip to content

Python Script for Telegram Bot is specially built for pentest & bug bounty. It's like a telegram shell.

Notifications You must be signed in to change notification settings

Drayko/Bot-Bounty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • 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...Buy Me A Coffee

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.