aboul3la / Sublist3r

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

TypeError While trying to hunt subdomains.\ #360

Open anoshkekal opened 1 year ago

anoshkekal commented 1 year ago
sublist3r -d tesla.com

                 ____        _     _ _     _   _____                         
                / ___| _   _| |__ | (_)___| |_|___ / _ __                    
                \___ \| | | | '_ \| | / __| __| |_ \| '__|                   
                 ___) | |_| | |_) | | \__ \ |_ ___) | |                      
                |____/ \__,_|_.__/|_|_|___/\__|____/|_|                      

                # Coded By Ahmed Aboul-Ela - @aboul3la                       

[-] Enumerating subdomains now for tesla.com                                 
[-] Searching now in Baidu..
[-] Searching now in Yahoo..
[-] Searching now in Google..
[-] Searching now in Bing..
[-] Searching now in Ask..
[-] Searching now in Netcraft..
[-] Searching now in DNSdumpster..
[-] Searching now in Virustotal..
[-] Searching now in ThreatCrowd..
[-] Searching now in SSL Certificates..
[-] Searching now in PassiveDNS..
[!] Error: Virustotal probably now is blocking our requests
HTTPSConnectionPool(host='dnsdumpster.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5598f3b910>: Failed to establish a new connection: [Errno 111] Connection refused'))
Process DNSdumpster-8:
Traceback (most recent call last):
  File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3/dist-packages/sublist3r.py", line 269, in run
    domain_list = self.enumerate()
                  ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sublist3r.py", line 649, in enumerate
    token = self.get_csrftoken(resp)
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sublist3r.py", line 644, in get_csrftoken
    token = csrf_regex.findall(resp)[0]
            ^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'int'