aboul3la / Sublist3r

Fast subdomains enumeration tool for penetration testers
GNU General Public License v2.0
9.47k stars 2.07k forks source link

Error when running basic scan #334

Open JPwnage opened 1 year ago

JPwnage commented 1 year ago

python sublist3r -v -d example.com -t 5


HTTPSConnectionPool(host='dnsdumpster.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f1bf95b6170>, 'Connection to dnsdumpster.com timed out. (connect timeout=25)'))
Process DNSdumpster-8:
Traceback (most recent call last):
  File "/usr/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/home/kali/Sublist3r/sublist3r.py", line 269, in run
    domain_list = self.enumerate()
  File "/home/kali/Sublist3r/sublist3r.py", line 651, in enumerate
    token = self.get_csrftoken(resp)
  File "/home/kali/Sublist3r/sublist3r.py", line 642, in get_csrftoken
    soup = BeautifulSoup(resp,features="html.parser")
  File "/usr/lib/python3/dist-packages/bs4/__init__.py", line 313, in __init__
    elif len(markup) <= 256 and (
TypeError: object of type 'int' has no len()

I have already tried the fix found here: https://github.com/aboul3la/Sublist3r/issues/33#issuecomment-542613643 I have also tried installing sublist3r from the kali repo and from git. Can someone point in the right direction?