aboul3la / Sublist3r

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

Add Sublist3r to pip #193

Open carloosamarante opened 4 years ago

carloosamarante commented 4 years ago

Could you please, add sublist3r as a library on pip https://pypi.org/project/pip/?

knassar702 commented 4 years ago

hi @carloosamarante you can install sublist3r in pip using setup.py file

Command "

$ sudo python setup.py install

after that you can import sublist3r module in your python script

carloosamarante commented 4 years ago

oh @knassar702 thanks for reply, i'll check. I was using like git submodule, but this way would be better :fist_oncoming:

jayvdb commented 4 years ago

I've drafted a package for openSUSE.

https://build.opensuse.org/package/show/home:jayvdb:py-new/python-Sublist3r

I need a PyPI release to submit into openSUSE package collection, as they require the rpm package name is the same as the name reserved in PyPI, given Python has no other naming authority.

ogajduse commented 4 years ago

@aboul3la I would package Sublist3r into Fedora if you would do a PyPi release. Please consider doing it as I see the interest also from the openSUSE community.

narayan8291 commented 4 years ago

@aboul3la Is there a plan to release the library to Python Package Index? I would like to do pip install sublist3r

Rather than having the sublist3r.py file itself in the directory and using it using, import sublist3r

@ogajduse +1 for your requirement 👍

tannart commented 3 years ago

@aboul3la Do you have any plans to add Sublist3r to pypi?

If you don't want the hassle of doing it I'd be happy to do it on your behalf, as would I'm sure many other members of the community.

Alternatively if you have some kind of ideological objection to pypi please let us know and close the ticket.

tannart commented 3 years ago

As my above comment has now gone 3 weeks without a reponse I've taken the liberty of making the necessary changes (submitted as a merge request) and uploading sublist3r as a package to pypi, available here.

To anyone else in the thread the package is now available through pip.

e.g. pip install Sublist3r

jayvdb commented 3 years ago

Note that PyPI v1.0 is going to be a problematic release, as there are already tags for 1.0 and 1.1 , so the next version available for a consistent PyPI version and GitHub tag is 1.2.

There should be a few other packaging fixes added before cutting 1.2.

tannart commented 3 years ago

Happy to defer to you on any packaging fixes required, I'm not particularly well versed in packaging for PyPI to be honest, it just seemed crazy to me that it hadn't been done earlier given how straightforward it is and how much additional convenience it would provide for the userbase.

jayvdb commented 3 years ago

I'll be happy to add some packaging improvements once https://github.com/aboul3la/Sublist3r/pull/276 is merged.

ogajduse commented 3 years ago

Well done! Ping me once you do the packaging improvements. I will do the release as a RPM package for Fedora and Centos community.