Small tool to Grab subdomains using Shodan api.
Last updated Jul 4, 2026
562
Stars
73
Forks
1
Issues
0
Stars/day
Attention Score
39
Language breakdown
Go 100.0%
▸ Files
click to expand
README
shosubgo
Small tool to Grab subdomains using Shodan api.Get your shodan api FREE with limit usage:
Install
$ go install github.com/incogbyte/shosubgo@latest
verify inside your $GOPATH the folder "bin"
Usage
go run main.go -d target.com -s YourAPIKEY / go run main.go -f file -s YourAPIKEY
If you want the tool to fail instantly on any error, use -fail flag:
$ go run main.go -d target.com -s YourAPIKEY
Error fetching subdomains for domain target.com: invalid API key
$ go run main.go -d target.com -s YourAPIKEY -fail Error fetching subdomains for domain target.com: invalid API key exit status 1
Usage download from releases:
https://github.com/incogbyte/shosubgo/releases/tag/1.1
# From Download Releases
./shosubgo_linux -d target.com -s YourAPIKEY ./shosubgo_linux -f file -s YourAPIKEY

Mentions
- Quoted in the vídeo https://www.youtube.com/watch?v=qLTe6Z10vj8 h@cktivitycon 2020: The Bug Hunter's Methodology v4: Recon Edition by @Jhaddix
- Mentioned at @SANSOffensive con :) 2024 by @Jhaddix
🔗 More in this category