Telegram bot for Hacking & Pentesting

Arbaz Hussain
2 min readJul 22, 2017
  • Motivation :

For lazy people like me ,I Always wanted to run tool’s directly from Messenger instead of Powering on the PC ,Running on VM or from the SSH.

  • HackBot Installation:

git clone
cd hackbot
pip install lxml
pip install telepot
pip install json
pip install urllib2
pip install requests
pip install bs4
  • Paste the API key in api.txt in hackbot (Paste it on first line ).
  • And Run , python
  • Hackbot Usage : (Note : All letter’s should be small letter’s)
  • type help
  1. Run Built-in tools of OS (directly Command Execution)
  2. Run Directory-tools :

create a folder with name “pentest” on Desktop because it will look for directory-tools under /root/Desktop/pentest/ folder

add tools under pentest folder
  • now type

tool foldername python

  • tool sub python -d
  • Just put all tools under Desktop/pentest/

and use it tool foldername scripttype scriptname

scripttype -> Python , Ruby , Perl etc..

Scriptname -> , test.rb etc…


This project is made for educational and ethical testing purposes only. It is the end user’s responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.