Skip to content

ozzi-/hiJack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hiJack

hiJack will (using crt.sh - certificate transparency) collect subdomains of your target. if the target subdomains contain any cnames that are not registered, it will let you know.

Inspired by @seckle_ch talk at bsides zuerich https://twitter.com/seckle_ch/status/912221121910575105

Usage

Example of a target which adds an additional subdomain file (1 host per line) and a specific DNS resolver /Desktop$ java -jar hijack.jar oz-web.com /home/ozzi/additionalSubdomainFile 172.0.100.100

Starting
3 subdomains found via crt.sh dork
Testing for AXFR transfer with [ns3.hosttech.ch, ns2.hosttech.ch, ns1.hosttech.ch]
All AXFR transfers failed
1 subdomains provided via list /home/ozzi/list, effectively added: 1
4 total number of subdomains that will be checked
[www.b.oz-web.com, www.oz-web.com, b.oz-web.com, c.oz-web.com]

Found potential hijack: c.oz-web.com. CNAME gibtsnicht1337.ch.
Done