naltun / eyes

👀 🖥️ Golang rewrite of eyes.sh. Let's you perform domain/IP address information gathering. Wasn't it esr who said "With enough eyeballs, all your IP info are belong to us?" 🔍 🕵️
GNU General Public License v2.0
51 stars 8 forks source link

Added httpgrabber module #6

Closed sahitpj closed 5 years ago

sahitpj commented 5 years ago

here is the HttpGrabber module, I am still to add ports option and probably making a cleaner output, but here is the basic outline.

Let me know if this is cool, so i can optimize it and add more functions

naltun commented 5 years ago

This is the current output. image

Can we have it looks like this? image

The second example is from eyes.sh. Notice how it doesn't redirect. If I am not mistaken you used a net/http function that redirects (upto x10) by default? If so, that's great. I'm loving Go.

If we can prettify the output, then I think we're good man. :smiley:

sahitpj commented 5 years ago

Yeah sure thing, I will work on making it look better

sahitpj commented 5 years ago

Heyy @naltun I finshed the Httpgrabber module, let me know if they are any more changes you want me to make

naltun commented 5 years ago

@sahitpj Mate, I like this. :smiley: Can you do me a favor and post a screenshot of the output in this thread?

Edit: Also, let's remove the TravisCI file for now and we'll tackle that next, although separately. Looking very good.

sahitpj commented 5 years ago
screenshot 2018-09-17 21 43 57
naltun commented 5 years ago

@sahitpj Awesome. I think we're almost done with this.

I've two things left. 1) Let's remove the brackets for the output when doing the range, eg. Cache-Control : [max-age=600].

2) When Cloudflare is reached, the head grab stops and gets from the current location (eg., Cloudflare). Is there any way we can continue through this initial request to the domain requested and make the HTTP head grab there?

sahitpj commented 5 years ago

@naltun I will fix the first one

Regarding the second one, isn't it stopping at Cloudflare itself? If not where is it continuing to?

naltun commented 5 years ago

@sahitpj Shouldn't it eventually proceed to the domain that we're scanning?

sahitpj commented 5 years ago

@naltun I thinking this should be it, because the same GET, function allows you to use a Handler, which means that your response to a GET/POST is to the same thing.

This is what is described, let me look around else where and see

naltun commented 5 years ago

@sahitpj Man, it's looking awesome. I think we're just about there to merge this in. Let me know what you find.

sahitpj commented 5 years ago

Haven't found anything man, why don't we work on that as an enhancement and merge it for now. What say ? @naltun

naltun commented 5 years ago

@sahitpj I think that's a great idea. Starting tomorrow let's have a quick convo in the Gitter chatroom and come up with an outline for what we need to do, and make some priorities.

naltun commented 5 years ago

Congrats @sahitpj on a job very well done. :) I am looking forward to more to come. And, finally, thank you for your effort. I gratefully appreciate it.