aboul3la / Sublist3r

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

Unable to run the sublist3r #233

Open Harish761 opened 4 years ago

Harish761 commented 4 years ago

getting below error.

Screenshot 2020-04-30 at 1 16 50 AM
x0k017 commented 4 years ago

Hey @Harish761! It is not working because pip 21.0 has dropped support for python2.7. Please follow the below steps to resolve your problem :

  1. Install older version of pip : wget https://bootstrap.pypa.io/get-pip.py
  2. Install: pip install dnspython Happy Hunting :)
ChrisLycan commented 4 years ago

I had the same issue, punch this in while in the Sublist3r dir: python setup.py

then see if it's up and running

iam-v0id commented 4 years ago

try running this python3 install -r requiments.txt

raspher commented 4 years ago

Python scripts/apps should not be executed in pure system mode (system python environment), due to ^ problems. Some scripts depends on different packages that may collide. Here you have a solution, where you can specify that version of python you use in virtual environment. https://virtualenv.pypa.io/en/latest/

And first article from google how to use it, for me it looks more friendly than pure documentation of functions https://docs.python-guide.org/dev/virtualenvs/#lower-level-virtualenv

As this project is using deprecated version of python, maintainer should create simple instruction how to setup virtual environment with supported versions of python.

There are lot of python virtual environment creators, virtualenv is just my choice.

walldoggydogg911 commented 3 years ago

I am having the same issue. Hashish761. I just freshly installed Kali, freshly installed Sublist3r, and, boom...doesn't work. Many of the python tools like Sherlock, Photon, The Harvester, SkipTracer, and Userrecon, and just not working, even after a fresh install of Kali. Is it due to Python/PIP end of life issues?

gbiagomba commented 3 years ago

@walldoggydogg911 i believe though kali ships with python 2 and 3, but pip no longer supports version 2. Did you try "pip3 install -r requirements?"? And did you try "python3 setup.py install"? Lastly, since you are running kali you may be able to just run "apt install sublist3r -y" to download the package and dependencies.