ecstatic-nobel / OSweep

Don't Just Search OSINT. Sweep It.
https://splunkbase.splunk.com/app/4569/
MIT License
311 stars 65 forks source link

entropy package missing #6

Open TheFausap opened 4 years ago

TheFausap commented 4 years ago

Hello, I'm still using python 2.7, but it seems entropy package disappeared from pip repository. Is there any other place where to download it?

thanks, Fausto

soufianetahiri commented 4 years ago

Facing the same issue. I think used only by the phishing catcher module.

You can get it from here https://github.com/raphaelvallat/entropy

(but did not resolve the problem for me as x0rz phishing catcher's don't seem to be fully working... https://github.com/x0rz/phishing_catcher/issues/53)

TheFausap commented 4 years ago

thanks!

vollkorn1982 commented 3 years ago

@soufianetahiri I believe this is not the correct package. EntroPy-Package (https://pypi.org/project/EntroPy-Package/) has a different function signature than the original package of 'entropy' and is altogether very different. I worked with the original entropy package as well and am trying to find it again right now.

Anyone reading here, who still has entropy==0.10 or so in their environment and could paste the code somewhere?

vollkorn1982 commented 3 years ago

Ah, here is, er, was the original project: https://web.archive.org/web/20170223005354/https://github.com/natano/python-entropy/

soufianetahiri commented 3 years ago

Awsome! Thanks, @vollkorn1982 EDIT: Quite useless ^^ :D

vollkorn1982 commented 3 years ago

Ah, I found a fork of the original project: https://github.com/modzero/python-entropy The code in commit 6249acd912fc5e8faff8f35e2b63147ed9c90a80 seems to be the unmodified original code. It worked for my project to get it working again by using that repo.

soufianetahiri commented 3 years ago

Thanks! It worked for me but not for the OSweep module :)

soufianetahiri commented 3 years ago

I managed to fix it.

PR made: https://github.com/ecstatic-nobel/OSweep/pull/10

image

vollkorn1982 commented 3 years ago

That should work, but you forgot to remove the wrong dependency 'entropy' from bin/requirements.txt.

Just out of curiosity, why did using that repo not work for you like the following change?

bin/requirements.txt:

bs4
git+git://github.com/jshlbrd/python-entropy@6249acd#egg=entropy
HTMLParser
pylev
PySocks
PyYAML
requests
requests_oauthlib
six
tld
tweepy
validators
soufianetahiri commented 3 years ago

Yep thanx for bin/requirements.txt I've missed it. I have no idea but for some reason it keeps on throwing the missing shannon_entropy attribute. Anyway no single module is working as for now I just abandoned Osweep! I'll probably try to make something from scratch based on what was done here.