sensepost / Snoopy

Snoopy: A distributed tracking and data interception framework
MIT License
596 stars 160 forks source link

pip issue - PIL installation no longer working #9

Open louwersj opened 9 years ago

louwersj commented 9 years ago

When you try to run install.sh it will try to execute pip and install PIL. However some things have changed and due to this the installation will fail on line 116.

Line 116 of install.sh (AS-IS) pip install lxml beautifulsoup requests PIL mitmproxy ipaddr publicsuffix twisted cryptacular Flask_SQLAlchemy

To resolve this issue lijne 116 needs to be changed to the below: pip install lxml beautifulsoup requests mitmproxy ipaddr publicsuffix twisted cryptacular Flask_SQLAlchemy

And a second line needs to be added to be able to install PIL seperatly. New line shown below: pip install PIL --allow-external PIL --allow-unverified PIL

This will give the following codeblock: 116 pip install lxml beautifulsoup requests mitmproxy ipaddr publicsuffix twisted cryptacular Flask_SQLAlchemy 117 pip install PIL --allow-external PIL --allow-unverified PIL 118 if [ "$?" -ne 0 ]; then echo "[!] Failed :("; exit 1; fi 119

Regards, Johan

aljawo commented 8 years ago

Hi Johan. Not sure how involved you are with this but no matter what THANKS!

I am trying to install the framework (14.04) and even after the changes with PIP I still have issues after your note. In the end I googled how to install PIP manually and commented that line out of the script so it could go on...

Let's see how it goes with the rest.

thanks !!

nemanjan00 commented 8 years ago

Change line 116 in install.sh to this:

pip install lxml beautifulsoup requests mitmproxy ipaddr publicsuffix twisted cryptacular Flask_SQLAlchemy
pip install --no-index -f http://dist.plone.org/thirdparty/ -U PIL

I think it installed this way... (I do not really remmember if I changed anything else and did it fully work)

aljawo commented 8 years ago

Thanks. But tried it separately and still get an error:

Could not find a version that satisfies the requirement PIL (from versions: ) No matching distribution found for PIL

nemanjan00 commented 8 years ago

It seams like PIL is depracted and Pillow is fork that is still maintained...

Try installing Pillow instead...

aljawo commented 8 years ago

Thanks Sir! I had installed Pillow just in case.. My server menu runs but status shows Stopped. That is why I went and check if it could be an issue with some python module.


2016-09-01 15:50:31 INFO snoopy_server.py: Main Snoopy Process starting. Divert all power to the engines! 2016-09-01 15:50:31 INFO prox_guid.py: Starting proximity calculator... 2016-09-01 15:50:31 INFO facebook.py: Starting Facebook stalker 2016-09-01 15:50:31 INFO ssid_to_loc.py: Starting Wigle GeoLocator 2016-09-01 15:50:31 INFO pytail.py: Staring database population engine 2016-09-01 15:50:31 INFO init.py: create_all() complete 2016-09-01 15:50:31 INFO _internal.py: * Running on http://0.0.0.0:5000/