Closed HITECHPR closed 6 years ago
hi could you post the what command did you use, and also full debugging messages I have the latest version of kali as well, and it is working fine after I did downgrade mitmproxy. try pip2 install mitmproxy==0.18.2 thx
Can't rollback cryptography, nothing uninstalled. Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-6zc_jy/cryptography/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-3rD6aH-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-6zc_jy/cryptography/
I have included the entire output in log file.
Which libssl version installed on your system? in order to make it work it has to be version 1.0. I had to downgrade mine by issuing apt-get install libssl1.0
That fixed it but the order is apt-get install libssl1.0 pip2 install mitmproxy==0.18.2
Now I get to play....where's the documentation....especially the karma thing. Thanks and keep up the good work.
of course, Just like I mentioned on #315 ticket
So now I switched from a VM to a Raspberry PI3 (Image also downloaded from Kali). Same Procedure,same error with extra. Applied both libssl1.0 and pip2 mitmprox==0.18.2 Same error message about mitmprox New error on startup :0: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name opentype'. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.
I tried manually install the service_identity module and it state that it is already installed. Thanks
I Think this is already far out of the discussion, but I only able to give you suggestion. The problem you have seems related the python package brough by Pi. Maybe you can try sudo pip uninstall service_identity . And then re install it using pip. But do it with your own risk.
I'm also on a Raspberry PI 3 and did apt-get install libssl1.0 pip2 install mitmproxy==0.18.2
I got the same error as HITECHPR after starting "wifi-pumpkin"
:0: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name opentype'. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.
By doing: pip install --upgrade service_identity
The error message goes away when starting pumpkin "wifi-pumpkin"
Before AND after doing the service_identity upgrade, the pumpkin application runs, but when I connect my device to the pumpkin's SSID, the device does not show up in the connected devices list (except the first time it connects) even though the device says it's connected and the pumpkin activity section shows activity when you try to go to a site on a browser. Also, the device won't connect to the Internet even though the PI can connect via its Ethernet connection to my router.
I noticed that upgrading service_identity upgrades the following components that installing mitmproxy 0.18.2 downgrades:
cryptography-2.1.4 idna-2.6 ipaddress-1.0.19 pyasn1-0.4.2 pyopenssl-17.5.0 six-1.11.0
Note: those are the upgraded component versions.
I'm not sure if the service_identity issue is related to issue I'm having. I'm wondering if HITECHPR tried upgrading or reinstalling service_identity and if so, does pumpkin then work without issues?
One more thing. Everytime I install mitmproxy, I get "Failed building wheel for Pillow." Not sure if that is significant. Got any ideas of what to try next?
root@kali# pip2 install mitmproxy==0.18.2
Collecting mitmproxy==0.18.2
Using cached mitmproxy-0.18.2-py2.py3-none-any.whl
Requirement already satisfied: lxml<=3.6.0,>=3.5.0 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Requirement already satisfied: cssutils<1.1,>=1.0.1 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Requirement already satisfied: brotlipy<0.7,>=0.5.1 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Collecting pyOpenSSL<17.0,>=16.0 (from mitmproxy==0.18.2)
Using cached pyOpenSSL-16.2.0-py2.py3-none-any.whl
Requirement already satisfied: pyparsing<2.2,>=2.1.3 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Collecting six<1.11,>=1.10 (from mitmproxy==0.18.2)
Using cached six-1.10.0-py2.py3-none-any.whl
Requirement already satisfied: blinker<1.5,>=1.4 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Requirement already satisfied: backports.ssl-match-hostname<3.6,>=3.5.0.1 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Collecting cryptography<1.6,>=1.3 (from mitmproxy==0.18.2)
Requirement already satisfied: construct<2.6,>=2.5.2 in /usr/local/lib/python2.7/dist-packages/construct-2.5.2-py2.7.egg (from mitmproxy==0.18.2)
Requirement already satisfied: jsbeautifier<1.7,>=1.6.3 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Requirement already satisfied: requests<2.12,>=2.9.1 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Requirement already satisfied: tornado<4.5,>=4.3 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Requirement already satisfied: pyperclip<1.6,>=1.5.22 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Requirement already satisfied: certifi>=2015.11.20.1 in ./dist-packages (from mitmproxy==0.18.2)
Collecting Pillow<3.5,>=3.2 (from mitmproxy==0.18.2)
Using cached Pillow-3.4.2.tar.gz
Collecting hyperframe<5,>=4.0.1 (from mitmproxy==0.18.2)
Using cached hyperframe-4.0.2-py2.py3-none-any.whl
Collecting pyasn1<0.2,>=0.1.9 (from mitmproxy==0.18.2)
Using cached pyasn1-0.1.9-py2.py3-none-any.whl
Collecting h2<2.5,>=2.4.1 (from mitmproxy==0.18.2)
Using cached h2-2.4.4-py2.py3-none-any.whl
Collecting passlib<1.7,>=1.6.5 (from mitmproxy==0.18.2)
Using cached passlib-1.6.5-py2.py3-none-any.whl
Requirement already satisfied: ipaddress<1.1,>=1.0.15; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Requirement already satisfied: Flask<0.12,>=0.10.1 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Collecting configargparse<0.12,>=0.10 (from mitmproxy==0.18.2)
Requirement already satisfied: enum34<2,>=1.0.4; python_version == "2.7" in ./dist-packages (from mitmproxy==0.18.2)
Collecting typing==3.5.2.2; python_version == "2.7" (from mitmproxy==0.18.2)
Requirement already satisfied: click<7.0,>=6.2 in /usr/local/lib/python2.7/dist-packages (from mitmproxy==0.18.2)
Collecting watchdog<0.9,>=0.8.3 (from mitmproxy==0.18.2)
Collecting html2text<=2016.9.19,>=2016.1.8 (from mitmproxy==0.18.2)
Collecting urwid<1.4,>=1.3.1 (from mitmproxy==0.18.2)
Requirement already satisfied: cffi>=1.0.0 in /usr/local/lib/python2.7/dist-packages (from brotlipy<0.7,>=0.5.1->mitmproxy==0.18.2)
Requirement already satisfied: idna>=2.0 in /usr/local/lib/python2.7/dist-packages (from cryptography<1.6,>=1.3->mitmproxy==0.18.2)
Requirement already satisfied: setuptools>=11.3 in ./dist-packages (from cryptography<1.6,>=1.3->mitmproxy==0.18.2)
Requirement already satisfied: editorconfig>=0.12.0 in /usr/local/lib/python2.7/dist-packages (from jsbeautifier<1.7,>=1.6.3->mitmproxy==0.18.2)
Requirement already satisfied: singledispatch in /usr/local/lib/python2.7/dist-packages (from tornado<4.5,>=4.3->mitmproxy==0.18.2)
Requirement already satisfied: backports-abc>=0.4 in /usr/local/lib/python2.7/dist-packages (from tornado<4.5,>=4.3->mitmproxy==0.18.2)
Collecting hpack<3,>=2.2 (from h2<2.5,>=2.4.1->mitmproxy==0.18.2)
Using cached hpack-2.3.0-py2.py3-none-any.whl
Requirement already satisfied: itsdangerous>=0.21 in /usr/local/lib/python2.7/dist-packages (from Flask<0.12,>=0.10.1->mitmproxy==0.18.2)
Requirement already satisfied: Werkzeug>=0.7 in /usr/local/lib/python2.7/dist-packages (from Flask<0.12,>=0.10.1->mitmproxy==0.18.2)
Requirement already satisfied: Jinja2>=2.4 in /usr/local/lib/python2.7/dist-packages (from Flask<0.12,>=0.10.1->mitmproxy==0.18.2)
Collecting argh>=0.24.1 (from watchdog<0.9,>=0.8.3->mitmproxy==0.18.2)
Using cached argh-0.26.2-py2.py3-none-any.whl
Collecting pathtools>=0.1.1 (from watchdog<0.9,>=0.8.3->mitmproxy==0.18.2)
Collecting PyYAML>=3.10 (from watchdog<0.9,>=0.8.3->mitmproxy==0.18.2)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.0.0->brotlipy<0.7,>=0.5.1->mitmproxy==0.18.2)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python2.7/dist-packages (from Jinja2>=2.4->Flask<0.12,>=0.10.1->mitmproxy==0.18.2)
Building wheels for collected packages: Pillow
Running setup.py bdist_wheel for Pillow ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-AmhVTC/Pillow/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpRrhC3Mpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/PIL
copying PIL/SunImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageTk.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageSequence.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageStat.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageFont.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageShow.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/BdfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GdImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/_util.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageEnhance.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/Image.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PyAccess.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ContainerIO.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageMorph.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImagePath.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/init.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/features.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/OleFileIO.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/_binary.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageCms.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FliImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageChops.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageGrab.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageOps.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GimpGradientFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PngImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/WalImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/TarIO.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GifImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageFilter.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PcfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageColor.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageWin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/MspImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageDraw2.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageMode.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageMath.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/CurImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/TiffTags.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ExifTags.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/_tkinter_finder.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageQt.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PSDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageTransform.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/MicImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/JpegPresets.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImagePalette.py -> build/lib.linux-armv7l-2.7/PIL
running egg_info
writing Pillow.egg-info/PKG-INFO
writing top-level names to Pillow.egg-info/top_level.txt
writing dependency_links to Pillow.egg-info/dependency_links.txt
reading manifest file 'Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git' found anywhere in distribution
warning: no previously-included files matching '.pyc' found anywhere in distribution
warning: no previously-included files matching '.so' found anywhere in distribution
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.linux-armv7l-2.7/PIL
running build_ext
Traceback (most recent call last):
File "
Failed building wheel for Pillow
Running setup.py clean for Pillow
Failed to build Pillow
Installing collected packages: six, pyasn1, cryptography, pyOpenSSL, Pillow, hyperframe, hpack, h2, passlib, configargparse, typing, argh, pathtools, PyYAML, watchdog, html2text, urwid, mitmproxy
Found existing installation: six 1.11.0
Uninstalling six-1.11.0:
Successfully uninstalled six-1.11.0
Found existing installation: pyasn1 0.4.2
Uninstalling pyasn1-0.4.2:
Successfully uninstalled pyasn1-0.4.2
Found existing installation: cryptography 2.1.4
Uninstalling cryptography-2.1.4:
Successfully uninstalled cryptography-2.1.4
Found existing installation: pyOpenSSL 17.5.0
Uninstalling pyOpenSSL-17.5.0:
Successfully uninstalled pyOpenSSL-17.5.0
Running setup.py install for Pillow ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-AmhVTC/Pillow/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-zClvZg-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/PIL
copying PIL/SunImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageTk.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageSequence.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageStat.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageFont.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageShow.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/BdfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GdImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/_util.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageEnhance.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/Image.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PyAccess.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ContainerIO.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageMorph.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImagePath.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/init.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/features.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/OleFileIO.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/_binary.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageCms.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FliImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageChops.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageGrab.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageOps.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GimpGradientFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PngImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/WalImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/TarIO.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GifImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageFilter.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PcfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageColor.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageWin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/MspImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageDraw2.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageMode.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageMath.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/CurImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/TiffTags.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ExifTags.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/_tkinter_finder.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageQt.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/PSDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImageTransform.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/MicImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/JpegPresets.py -> build/lib.linux-armv7l-2.7/PIL
copying PIL/ImagePalette.py -> build/lib.linux-armv7l-2.7/PIL
running egg_info
writing Pillow.egg-info/PKG-INFO
writing top-level names to Pillow.egg-info/top_level.txt
writing dependency_links to Pillow.egg-info/dependency_links.txt
reading manifest file 'Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git' found anywhere in distribution
warning: no previously-included files matching '.pyc' found anywhere in distribution
warning: no previously-included files matching '.so' found anywhere in distribution
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.linux-armv7l-2.7/PIL
running build_ext
Traceback (most recent call last):
File "
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-AmhVTC/Pillow/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-zClvZg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-AmhVTC/Pillow/
the error you have is indicating that you are missing libjpeg-dev try to install that library.
I just ran:
sudo apt-get install libjpeg-dev
and successfully installed that library. This allowed me to build the Pillow wheel successfully when running:
pip2 install mitmproxy==0.18.2
Hooray!
Unfortunately, I still have the following issue:
The pumpkin application runs, but when I connect my device to the pumpkin's SSID, the device does not show up in the connected devices list (except the first time it connects) even though the device says it's connected and the pumpkin activity section shows activity when you try to go to a site on a browser. Also, the device will not connect to the Internet even though the PI can connect via its Ethernet connection to my router. Here's the output from two attempts of starting, stopping, and connecting to the pumpkinAP.
root@kali:~# wifi-pumpkin Loading GUI... WiFi-Pumpkin Running!
[] Loading debugging mode [] Current Session::ID [ODc2OTI=] [] Configuring hostapd... [] Enable forwarding in iptables... [] Configuring dhcpd... [] Sharing Internet Connections with NAT... [New Thread 950 (hostapd)] [New Thread 952 (Dns2Proxy)] SSLstrip v0.9 + POC by Leonardo Nve
[*] TCPProxy running on port 80/8080:
TCPProxy::ftp status:On TCPProxy::hexdump status:On TCPProxy::kerberos status:On TCPProxy::summary status:On TCPProxy::imageCap status:On TCPProxy::httpCap status:On TCPProxy::emails status:On
Thread::[hostapd] successfully stopped. Thread::[Dns2Proxy] successfully stopped. Thread::[sslstrip2] successfully stopped. Thread::[TCPProxy] successfully stopped.
[] Loading debugging mode [] Current Session::ID [Njg0OTM=] [] Configuring hostapd... [] Enable forwarding in iptables... [] Configuring dhcpd... [] Sharing Internet Connections with NAT... [New Thread 1033 (hostapd)] [New Thread 1035 (Dns2Proxy)] SSLstrip v0.9 + POC by Leonardo Nve
[*] TCPProxy running on port 80/8080:
TCPProxy::ftp status:On TCPProxy::hexdump status:On TCPProxy::kerberos status:On TCPProxy::summary status:On TCPProxy::imageCap status:On TCPProxy::httpCap status:On TCPProxy::emails status:On
Thread::[hostapd] successfully stopped. Thread::[Dns2Proxy] successfully stopped. Thread::[sslstrip2] successfully stopped. Thread::[TCPProxy] successfully stopped.
this problem I have to dig deeper. seems it caused by wrong type identification or data generated is not expected. for sure @mh4x0f can help with this
@VitaminPi create an new issue for this bug. @yudevan thanks for support :D
mitmproxy==0.18.2 Not Satisfied. Installed is 2.02 (And is what KaliRolling has).
Please tell us details about your environment.