aboul3la / Sublist3r

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

No module named 'dnslib' #238

Closed ChrisLycan closed 4 years ago

ChrisLycan commented 4 years ago

at first I was getting no module named 'dns' out of the subbrute folder provided, then I had noticed that the subbrute wasn't up to date with my separate install of subbrute so I imported over the files seeing as the dns module was in the separate install

now I come up with this Traceback (most recent call last): File "sublist3r.py", line 21, in from subbrute import subbrute File "/home/hermes/Sublist3r/subbrute/subbrute.py", line 10, in import dnslib ImportError: No module named 'dnslib'

Any ideas where to get the dnslib module? or is it incorrectly referring to the dnslib folder thinking it should be a module?

ChrisLycan commented 4 years ago

tried moving dnslib folder into Sublist3r folder, fixed that importation error, now I'm getting

Traceback (most recent call last): File "sublist3r.py", line 22, in import dns.resolver ImportError: No module named 'dns'

ChrisLycan commented 4 years ago

Fixed, hadn't ran setup.py

ChrisLycan commented 4 years ago

python setup.py (while cd into the Sublist3r dir in terminal)

On Thu, May 21, 2020, 6:59 AM hntrgo notifications@github.com wrote:

Fixed, hadn't ran setup.py

How do you fix it?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/aboul3la/Sublist3r/issues/238#issuecomment-632102146, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKABEZBMQEARFBJFGTNAOTRSUXU3ANCNFSM4NFZXMJQ .

ChrisLycan commented 4 years ago

Try running one of the commands listed here dependent on which version of python you have. It should give you the setuptools module that you're missing before running setup.py

https://stackoverflow.com/questions/14426491/python-3-importerror-no-module-named-setuptools#14426553

On Thu, May 21, 2020, 7:51 AM hntrgo notifications@github.com wrote:

[image: Screenshot_2020-05-21 Screenshot 2020-05-21 07 28 45 png (PNG Image, 1366 × 638 pixels) - Scaled (79%)] https://user-images.githubusercontent.com/65719493/82571380-bc20e380-9b37-11ea-9bce-a3807fbb614e.png tahat s what i get !!!

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/aboul3la/Sublist3r/issues/238#issuecomment-632129987, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKABE4ERGWIL6YM2KV67BLRSU5YZANCNFSM4NFZXMJQ .

ChrisLycan commented 4 years ago

No problem man, I hope you get it up n running, a big hint when you run into errors is look at what the code spits back out at you before moving forward. It traces back to the file and what line the issue is on, then reports the error it's having. Which you then can search up to see if anyone online has the solution for.

On Sat, May 23, 2020, 10:59 AM hntrgo notifications@github.com wrote:

Thanks for the reply i will try

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/aboul3la/Sublist3r/issues/238#issuecomment-633106659, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKABE66FCVSWKBCVOPM2BDRTAFHLANCNFSM4NFZXMJQ .