Closed ghost closed 8 years ago
Thanks @elvinguitar for reporting these issues.
Regarding issue #3 it's fixed now in commit cb3467a48b6dbbc2e34c3f6c693556e859633671
For issues #1 and #2 i can't see them happening now, so can you show me an example and a test case that demonstrate these issues?
I'm using the latest commit and so far I can't reproduce issues 1 & 2. I'll let you know if I encountered issues 1 & 2 again. By the way, I observed that sometimes when the tool is using Baidu to search for subdomains, it freezes and when I interrupt it using Ctrl+C, it gives the following error:
Yahoo: hangouts.google.com
Baidu: translate.google.com
^CProcess BaiduEnum-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "sublist3r.py", line 202, in run
Traceback (most recent call last):
File "sublist3r.py", line 709, in <module>
main()
File "sublist3r.py", line 681, in main
domain_list = self.enumerate()
enum.join()
File "/usr/lib/python2.7/multiprocessing/process.py", line 145, in join
res = self._popen.wait(timeout)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
File "sublist3r.py", line 187, in enumerate
return self.poll(0)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
self.should_sleep()
pid, sts = os.waitpid(self.pid, flag)
File "sublist3r.py", line 434, in should_sleep
KeyboardInterrupt
time.sleep(random.randint(2, 5))
KeyboardInterrupt
I'm not sure why Baidu was freezing with you. does it happen with different domains or a specific domain ? and how frequently it occurred ?
It happens on different domains. sometimes it freezes, sometimes not. Now I'm getting this error:
HTTPSConnectionPool(host='dnsdumpster.com', port=443): Read timed out. (read timeout=10)
Process DNSdumpster-7:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "sublist3r.py", line 556, in run
domain_list = self.enumerate()
File "sublist3r.py", line 610, in enumerate
post_resp = self.req('POST', self.base_url, params)
File "sublist3r.py", line 589, in req
resp = self.session.post(url, data=params, headers=headers, timeout=self.timeout)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 518, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 585, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 479, in send
raise ReadTimeout(e, request=request)
ReadTimeout: HTTPSConnectionPool(host='dnsdumpster.com', port=443): Read timed out. (read timeout=10)
Sometimes there is a problem with the dnsdumpster.com website like it could be down or overloaded which cause this problem to occurs,but it's not permanent.
It will work fine if you tried again after few mins.