evilsocket / xray

XRay is a tool for recon, mapping and OSINT gathering from public networks.
GNU General Public License v3.0
2.21k stars 299 forks source link

.co.za not supported? #8

Closed vysecurity closed 7 years ago

vysecurity commented 7 years ago

When using .co.za domain, it thinks za is the TLD and co is the domain...

evilsocket commented 7 years ago

I opened an issue on the repo of the library I use for domain parsing, let's wait and hope for a fix, otherwise I'll just implement my own version ;)

ehsandeep commented 7 years ago

yes i noticed this @evilsocket, for eg: if i gave input as -domain test.site.com it will scan for site.com only and i supposed it will scan for low level subdomain of test.site.com, may be the same reason, it's looking for TLD only to scan.

ehsandeep commented 7 years ago

sorry, the above comment is meant for dnssearch .

evilsocket commented 7 years ago

Well dnssearch is basically the XRAY prototype/poc, they share the same bugs :D

ehsandeep commented 7 years ago

yeah i see XRAY == dnssearch + shodan data for output of dnssearch with UI

ehsandeep commented 7 years ago

@evilsocket you can include censys.io data as well for more result may be!

evilsocket commented 7 years ago

mmm yeah, plus a more banner grabbers (the info is not from Shodan) ... regarding censys, I can't find anything that Shodan already doesn't give me ... actually, I'll implement a nmap wrapper at some point so people without a Shodan key can use the tool as well.

evilsocket commented 7 years ago

Also @madaratech please, don't go off topic, Github Issues != Forum Board

evilsocket commented 7 years ago

Fixed:

Use go get -u github.com/bobesa/go-domain-util/domainutil to update

vysecurity commented 7 years ago

That links dead...

evilsocket commented 7 years ago

That's not "a link", but a Go repo, the "go get -u ..." command works fine ;)

vysecurity commented 7 years ago

So I updated, built again and did it again. .co.za still doesn't work hmm.

evilsocket commented 7 years ago

did u recompile xray?

vysecurity commented 7 years ago

Yes, so: go get -u github.com/bobesa/go-domain-util/domainutil make get_glide make install_dependencies make build

mv build/xray . ./xray .... commands

h3ct0rjs commented 7 years ago

same for me @vysec I confirm it.

evilsocket commented 7 years ago

It works perfectly fine for me after updating the library and recompiling:

schermata 2017-07-11 alle 11 44 00

h3ct0rjs commented 7 years ago

@evilsocket after testing in another clean enviroment is working...strange. What about @vysec ?

evilsocket commented 7 years ago

did you try to rm -rf vendor before make build again?

h3ct0rjs commented 7 years ago

Hmmm ok. but as I have mention previously it work in my new devEnviroment, so you can mark this issue as closed. Thanks @evilsocket