Hacking with Habu

https://img.shields.io/pypi/l/habu.svg https://img.shields.io/pypi/pyversions/habu.svg

“An open sourced set of simple tools to learn about hacking”

Some key aspects:

  1. Command line applications
  2. Developed in Python
  3. Designed to be simple to use and understand


If you want to collaborate with the project or simply learn how Habu is developed, read the “Development Guide”. (not written yet)

Operating System Compatibility and Issues

Habu is developed with GNU/Linux systems in mind, but with a lot of efforts to make it compatible with any Unix-like system and even with Microsoft Windows.

Please, if you find that some tool doesn’t work with your OS, don’t hesitate to report the issue through Github (https://github.com/fportantier/habu/issues).


Some of the tools need elevated permissions to run correctly, so, it’s recommended to run these tools with the root user (or use sudo/doas) on Unix, or with elevated permissions through UAC on Microsoft Windows.

Quick Installation or Upgrade

$ pip3 install --upgrade habu
$ habu.version

For detailed (or alternative) installation steps, read “Detailed Installation” section.

This Guide

The purpouse of this guide is not only learn how to use Habu, but also learn a lot of hacking concepts.

Feel free to jump to any section of your interest but, if you want to learn from the most basic concepts, read this guide in an ordered way.

Usage Videos

The following Youtube Playlist has videos that shows the installation and usage and various Habu tools:


Telegram Group

If you want to discuss some Habu features, possible improvements, etc, you can use the Habu Telegram Group: https://t.me/python_habu

The User Guide

This part of the documentation, guides you through the usage of Habu tools and teachs you a lot of concepts about hacking.

TODO (well we written soon):

  • Development Overview
  • Installation (detailed)
  • Subdomain Discovery
  • Web Technologies Enumeration
  • Integration With External Services
    • AsyDNS
    • VirusTotal
  • Address Resolution Protocol (ARP)
    • ping
    • sniff
    • poison
  • Classic Network Attacks
    • land
    • synflood
  • Enumeration
  • Extracting Data From Logs
  • Cryptography Functions
    • Hash functions
    • Hash identification
    • Fernet
    • XOR
    • Group Policy Preferences (GPP) Decryption
    • Broken Cryptography Decrypt
      • Cisco 7
  • Other Hacking Techniques
    • Crack SNMP
    • Crack Luhn
    • DHCP Starvation
    • DHCP Discover
    • TCP Flags
    • TCP Scan
    • ISN variation detection
    • Protocol Scan
    • Social Network Username Discovery
    • Virtual Hosting Discovery
    • Web Headers
    • Data about IP Addresses
    • Data about Domain Names
  • Protocol Servers
    • Fake FTP Server

Command Reference

The complete command reference can be found in https://github.com/fportantier/habu/blob/master/README.rst#commands-index

Indices and tables