anshumanbh / tko-subs

A tool that can help detect and takeover subdomains with dead DNS records
MIT License
741 stars 137 forks source link

timeout for subdomain #10

Closed random-robbie closed 6 years ago

random-robbie commented 6 years ago

Can it ignore any issue like this?

root@76dd0dde8be2:/go/src/app# ./tko-subs -domains=domains.txt -data=providers-data.csv -output=output.csv
Get https://dl-origin.ubnt.com: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
panic: Get https://dl-origin.ubnt.com: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

goroutine 70 [running]:
main.scanforeachDomain(0xc4200c8bc0, 0x12, 0xc420094780, 0x14, 0x14, 0xc420015b60)
    /go/src/app/tko-subs.go:258 +0x976
created by main.main
    /go/src/app/tko-subs.go:423 +0x32a
root@76dd0dde8be2:/go/src/app# 
anshumanbh commented 6 years ago

would prolly need some code changes. I will take a look whenever I get some time.

anshumanbh commented 6 years ago

This should be fixed with the latest code push. If not, please create a new bug. Thanks!