Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error - non HTTP services #13

Open
Hax0rG1rl opened this issue Jul 7, 2018 · 0 comments
Open

Fatal error - non HTTP services #13

Hax0rG1rl opened this issue Jul 7, 2018 · 0 comments

Comments

@Hax0rG1rl
Copy link

Hi there,

I run into an issue while using your tool. Basically what's happening is the discovery process found a SIP-related subdomain which naturally doesn't have port 80 open. Because of this, the tool exited with such error:

Traceback (most recent call last):
	15: from sub_brute.rb:174:in `<main>'
	14: from sub_brute.rb:135:in `createURI'
	13: from sub_brute.rb:135:in `open'
	12: from sub_brute.rb:136:in `block in createURI'
	11: from sub_brute.rb:136:in `each_line'
	10: from sub_brute.rb:138:in `block (2 levels) in createURI'
	 9: from sub_brute.rb:100:in `find_subs'
	 8: from /usr/lib/ruby/2.5.0/net/http.rb:485:in `get_response'
	 7: from /usr/lib/ruby/2.5.0/net/http.rb:609:in `start'
	 6: from /usr/lib/ruby/2.5.0/net/http.rb:909:in `start'
	 5: from /usr/lib/ruby/2.5.0/net/http.rb:920:in `do_start'
	 4: from /usr/lib/ruby/2.5.0/net/http.rb:935:in `connect'
	 3: from /usr/lib/ruby/2.5.0/timeout.rb:103:in `timeout'
	 2: from /usr/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
	 1: from /usr/lib/ruby/2.5.0/net/http.rb:936:in `block in connect'
/usr/lib/ruby/2.5.0/net/http.rb:939:in `rescue in block in connect': Failed to open TCP connection to sip.domain.com:80 (Cannot assign requested address - connect(2) for "sip.domain.com" port 80) (Errno::EADDRNOTAVAIL)

Any idea how to bypass such a situation while using your tool?

And thank you for your work building it.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant