aboul3la / Sublist3r

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

No module named engines.engine #88

Open d1pakda5 opened 7 years ago

d1pakda5 commented 7 years ago

getting this error

File "./sublist3r.py", line 26, in from subscann3r import SubScann3r File "/root/Sublist3r/subscann3r.py", line 13, in from engines.engine import Engines ImportError: No module named engines.engine

Plazmaz commented 7 years ago

So this error actually stems from my fork of the repo, which hasn't been merged yet, so I'll try to help you diagnose it. How did you download sublist3r and what version of python are you using? (we can open an issue on my fork as well if it bothers you @aboul3la)

Plazmaz commented 7 years ago

Should be resolved in latest version(please let me know otherwise). In the future, you should open issues about my fork on the page for that repo: https://github.com/Plazmaz/Sublist3r/

d1pakda5 commented 7 years ago

@Plazmaz the issue fixed but another syntax error is there now

Traceback (most recent call last): File "sublist3r.py", line 26, in from subscann3r import SubScann3r File "C:\Users\Dipak\Desktop\scripts\Sublist3r\subscann3r.py", line 6, in from engines.engine import Engines File "C:\Users\Dipak\Desktop\scripts\Sublist3r\engines\engine.py", line 28 def init(self, base_url: str, engine_name: str, domain: str, subdomains: list = None, q: list = None, lock: threading.Lock = threading.Lock(), ^ SyntaxError: invalid syntax

Plazmaz commented 7 years ago

@dipadas going back to the original question, what version of python are you using? EDIT: Scratch that, was able to reproduce. Working on a fix now.

Plazmaz commented 7 years ago

Alright, the issue should be resolved.

d1pakda5 commented 7 years ago

@Plazmaz its Fixed thanks :)

d1pakda5 commented 7 years ago

again this issue arises [-] Searching now in Baidu.. [-] Searching now in Google.. [-] Searching now in Virustotal.. [-] Searching now in Yahoo.. [-] Searching now in Netcraft.. [-] Searching now in SSL Certificates.. [-] Searching now in Ask.. [-] Searching now in ThreatCrowd.. [-] Searching now in DNSdumpster.. [-] Searching now in Bing.. [-] Searching now in PassiveDNS.. Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36 Traceback (most recent call last): File "./sublist3r.py", line 98, in takeover_check=takeover_check, engines=engines) File "./sublist3r.py", line 79, in main return scanner.scan() File "/root/Sublist3r/subscann3r.py", line 111, in scan subdomains = sorted(subdomains, key=Util.subdomain_sorting_key) TypeError: unbound method subdomain_sorting_key() must be called with Util instance as first argument (got unicode instance instead)