@@ -117,6 +117,7 @@ This can give you some extra info about what habu is doing.
117
117
- [ fernet.genkey] ( #habufernetgenkey )
118
118
- [ fernet] ( #habufernet )
119
119
- [ forkbomb] ( #habuforkbomb )
120
+ - [ gateway.find] ( #habugatewayfind )
120
121
- [ hasher] ( #habuhasher )
121
122
- [ ip2asn] ( #habuip2asn )
122
123
- [ ip] ( #habuip )
@@ -141,6 +142,8 @@ This can give you some extra info about what habu is doing.
141
142
- [ vhosts] ( #habuvhosts )
142
143
- [ virustotal] ( #habuvirustotal )
143
144
- [ webid] ( #habuwebid )
145
+ - [ web.report] ( #habuwebreport )
146
+ - [ web.screenshot] ( #habuwebscreenshot )
144
147
- [ whois.domain] ( #habuwhoisdomain )
145
148
- [ whois.ip] ( #habuwhoisip )
146
149
- [ xor] ( #habuxor )
@@ -799,6 +802,40 @@ Options:
799
802
```
800
803
801
804
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
+
802
839
## habu.hasher
803
840
804
841
@@ -1580,6 +1617,45 @@ Options:
1580
1617
```
1581
1618
1582
1619
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
+
1583
1659
## habu.whois.domain
1584
1660
1585
1661
0 commit comments