Telegram bot for Hacking & Pentesting

Arbaz Hussain
Jul 22, 2017 · 2 min read

  • 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:

https://github.com/arbazkiraak/hackbot

git clone https://github.com/arbazkiraak/hackbot.git
cd hackbot
pip install lxml
pip install telepot
pip install json
pip install urllib2
pip install requests
pip install bs4
Bot API
  • Paste the API key in api.txt in hackbot (Paste it on first line ).
  • And Run , python hackbot.py

  • 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 scriptname.py

  • tool sub python sublist3r.py -d site.com
  • Just put all tools under Desktop/pentest/

and use it tool foldername scripttype scriptname

scripttype -> Python , Ruby , Perl etc..

Scriptname -> test.py , test.rb etc…

Output


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.

)

Arbaz Hussain

Written by

~Kiraak-Boy~

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade