Skip to content

Commit 7dd293a

Browse files
committed
docs
1 parent 5f45922 commit 7dd293a

File tree

2 files changed

+80
-1
lines changed

2 files changed

+80
-1
lines changed

README.md

+76
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ This can give you some extra info about what habu is doing.
117117
- [fernet.genkey](#habufernetgenkey)
118118
- [fernet](#habufernet)
119119
- [forkbomb](#habuforkbomb)
120+
- [gateway.find](#habugatewayfind)
120121
- [hasher](#habuhasher)
121122
- [ip2asn](#habuip2asn)
122123
- [ip](#habuip)
@@ -141,6 +142,8 @@ This can give you some extra info about what habu is doing.
141142
- [vhosts](#habuvhosts)
142143
- [virustotal](#habuvirustotal)
143144
- [webid](#habuwebid)
145+
- [web.report](#habuwebreport)
146+
- [web.screenshot](#habuwebscreenshot)
144147
- [whois.domain](#habuwhoisdomain)
145148
- [whois.ip](#habuwhoisip)
146149
- [xor](#habuxor)
@@ -799,6 +802,40 @@ Options:
799802
```
800803

801804

805+
## habu.gateway.find
806+
807+
808+
``` {.sourceCode .bash}
809+
Usage: habu.gateway.find [OPTIONS] NETWORK
810+
811+
Try to reach an external IP using any host has a router.
812+
813+
Useful to find routers in your network.
814+
815+
First, uses arping to detect alive hosts and obtain MAC addresses.
816+
817+
Later, create a network packet and put each MAC address as destination.
818+
819+
Last, print the devices that forwarded correctly the packets.
820+
821+
Example:
822+
823+
# habu.find.gateway 192.168.0.0/24
824+
192.168.0.1 a4:08:f5:19:17:a4 Sagemcom
825+
192.168.0.7 b0:98:2b:5d:22:70 Sagemcom
826+
192.168.0.8 b0:98:2b:5d:1f:e8 Sagemcom
827+
828+
Options:
829+
-i TEXT Interface to use
830+
--host TEXT Host to reach (default: 8.8.8.8)
831+
--tcp Use TCP instead of ICMP
832+
--dport INTEGER RANGE Destination port for TCP (default: 80)
833+
--timeout INTEGER Timeout in seconds (default: 5)
834+
-v Verbose output
835+
--help Show this message and exit.
836+
```
837+
838+
802839
## habu.hasher
803840

804841

@@ -1580,6 +1617,45 @@ Options:
15801617
```
15811618

15821619

1620+
## habu.web.report
1621+
1622+
1623+
``` {.sourceCode .bash}
1624+
Usage: habu.web.report [OPTIONS] [F]
1625+
1626+
Uses Firefox to take a screenshot of the websites. (you need firefox
1627+
installed, obviously)
1628+
1629+
Makes a report that includes the HTTP headers.
1630+
1631+
The expected format is one url per line.
1632+
1633+
Creates a directory called 'report' with the content inside.
1634+
1635+
$ echo https://www.portantier.com | habu.web.report
1636+
1637+
Options:
1638+
-v Verbose output
1639+
--help Show this message and exit.
1640+
```
1641+
1642+
1643+
## habu.web.screenshot
1644+
1645+
1646+
``` {.sourceCode .bash}
1647+
Usage: habu.web.screenshot [OPTIONS] URL
1648+
1649+
Uses Firefox to take a screenshot (you need firefox installed, obviously)
1650+
1651+
$ habu.web.screenshot https://www.portantier.com
1652+
1653+
Options:
1654+
-o TEXT Output file. (default: screenshot.png)
1655+
--help Show this message and exit.
1656+
```
1657+
1658+
15831659
## habu.whois.domain
15841660

15851661

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='habu',
8-
version='0.0.92',
8+
version='0.0.94',
99
description='Python Network Hacking Toolkit',
1010
long_description=readme,
1111
long_description_content_type='text/markdown',
@@ -59,6 +59,7 @@
5959
habu.fernet=habu.cli.cmd_fernet:cmd_fernet
6060
habu.fernet.genkey=habu.cli.cmd_fernet_genkey:cmd_fernet_genkey
6161
habu.forkbomb=habu.cli.cmd_forkbomb:cmd_forkbomb
62+
habu.gateway.find=habu.cli.cmd_gateway_find:cmd_gateway_find
6263
habu.hasher=habu.cli.cmd_hasher:cmd_hasher
6364
habu.ip=habu.cli.cmd_ip:cmd_ip
6465
habu.ip2asn=habu.cli.cmd_ip2asn:cmd_ip2asn
@@ -83,6 +84,8 @@
8384
habu.vhosts=habu.cli.cmd_vhosts:cmd_vhosts
8485
habu.virustotal=habu.cli.cmd_virustotal:cmd_virustotal
8586
habu.webid=habu.cli.cmd_webid:cmd_webid
87+
habu.web.report=habu.cli.cmd_web_reportt:cmd_web_report
88+
habu.web.screenshot=habu.cli.cmd_web_screenshot:cmd_web_screenshot
8689
habu.whois.domain=habu.cli.cmd_whois_domain:cmd_whois_domain
8790
habu.whois.ip=habu.cli.cmd_whois_ip:cmd_whois_ip
8891
habu.xor=habu.cli.cmd_xor:cmd_xor

0 commit comments

Comments
 (0)