Git Product home page Git Product logo

Comments (44)

ktrue avatar ktrue commented on August 26, 2024 1

Ok, the fresh install was completed successfully on a RPi 2 B+ in about 50 minutes elapsed. Running the bin/install.sh took 40 minutes. Now I have a 'hot standby' for the honeypot :)

from dshield.

jullrich avatar jullrich commented on August 26, 2024

thx. I guess another dependency that needs to be addressed.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

interesting ... pls have a look at this thread and report if it helped:
http://stackoverflow.com/questions/30861493/how-to-fix-python-valueerrorbad-marshal-data

from dshield.

ktrue avatar ktrue commented on August 26, 2024

I tried the:

sudo find /usr -name '*.pyc' -delete

and ran
cd dshield
sudo bin/install.sh

again. I selected to reinstall mySQL in the options. Got the following abort:

User cowrie already exists in OS. Making no changes
cowrie mysql database already exists. not touching it.
Adding / updating cowrie user in MySQL.
+ checking cowrie dependency: module 'twisted' ...
  ERR: is installed in v14.0.2 but must at least be v16.6.0, will be updated
Downloading/unpacking twisted==16.6.0
  Downloading Twisted-16.6.0.tar.bz2 (3.0MB): 3.0MB downloaded
  Running setup.py (path:/tmp/pip-build-fFluj6/twisted/setup.py) egg_info for package twisted
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 14, in <module>
        from setuptools.command.sdist import sdist
      File "/usr/lib/python2.7/dist-packages/setuptools/command/sdist.py", line 9, in <module>
        from setuptools import svn_utils
      File "/usr/lib/python2.7/dist-packages/setuptools/svn_utils.py", line 5, in <module>
        import xml.dom.pulldom
      File "/usr/lib/python2.7/xml/dom/__init__.py", line 139, in <module>
        from domreg import getDOMImplementation,registerDOMImplementation
      File "/usr/lib/python2.7/xml/dom/domreg.py", line 5, in <module>
        from xml.dom.minicompat import *  # isinstance, StringTypes
      File "/usr/lib/python2.7/xml/dom/minicompat.py", line 27
    SyntaxError: Non-ASCII character '\xec' in file /usr/lib/python2.7/xml/dom/minicompat.py on line 27, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 3, in <module>

  File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 14, in <module>

    from setuptools.command.sdist import sdist

  File "/usr/lib/python2.7/dist-packages/setuptools/command/sdist.py", line 9, in <module>

    from setuptools import svn_utils

  File "/usr/lib/python2.7/dist-packages/setuptools/svn_utils.py", line 5, in <module>

    import xml.dom.pulldom

  File "/usr/lib/python2.7/xml/dom/__init__.py", line 139, in <module>

    from domreg import getDOMImplementation,registerDOMImplementation

  File "/usr/lib/python2.7/xml/dom/domreg.py", line 5, in <module>

    from xml.dom.minicompat import *  # isinstance, StringTypes

  File "/usr/lib/python2.7/xml/dom/minicompat.py", line 27

SyntaxError: Non-ASCII character '\xec' in file /usr/lib/python2.7/xml/dom/minicompat.py on line 27, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-fFluj6/twisted
Storing debug log for failure in /root/.pip/pip.log
Error upgrading 'twisted'. Aborting.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

can't reproduce on my end ...

pls try:

sudo /etc/init.d/cowrie stop
sudo pip list
sudo find /usr -name '.pyc' -ls
sudo find /usr -name '
.pyc' -delete
sudo find /usr -name '*.pyc' -ls
cd dshield
sudo bin/install.sh
sudo pip list

and provide the output, thanks.

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Here's the output (I did change the '.pyc' to '*.pyc' in the above commands.
I did the cowrie stop, but forgot the initial pip list (sorry...)

pi@TRP2HP:~/dshield $ sudo find /usr -name '*.pyc' -ls
130756    4 -rw-r--r--   1 root     root          131 Apr 18 15:54 /usr/lib/pymodules/python2.7/ndg/__init__.pyc
130776    8 -rw-r--r--   1 root     root         6324 Apr 18 15:54 /usr/lib/pymodules/python2.7/ndg/httpsclient/subj_alt_name.pyc
130759    4 -rw-r--r--   1 root     root          621 Apr 18 15:54 /usr/lib/pymodules/python2.7/ndg/httpsclient/__init__.pyc
130775   12 -rw-r--r--   1 root     root         8624 Apr 18 15:54 /usr/lib/pymodules/python2.7/ndg/httpsclient/ssl_peer_verification.pyc
  3867   16 -rw-r--r--   1 root     root        15254 Apr 18 15:54 /usr/lib/python2.7/weakref.pyc
  3937   16 -rw-r--r--   1 root     root        13462 Apr 18 15:54 /usr/lib/python2.7/csv.pyc
  3898    8 -rw-r--r--   1 root     root         6634 Apr 18 15:54 /usr/lib/python2.7/getopt.pyc
  3925    4 -rw-r--r--   1 root     root         2825 Apr 18 15:54 /usr/lib/python2.7/plat-arm-linux-gnueabihf/DLFCN.pyc
  3320   20 -rw-r--r--   1 root     root        19956 Apr 18 15:54 /usr/lib/python2.7/plat-arm-linux-gnueabihf/_sysconfigdata_nd.pyc
  3908    8 -rw-r--r--   1 root     root         4729 Apr 18 15:54 /usr/lib/python2.7/getpass.pyc
  3871   48 -rw-r--r--   1 root     root        46996 Apr 18 15:54 /usr/lib/python2.7/urllib2.pyc
  3960    4 -rw-r--r--   1 root     root         2237 Apr 18 15:57 /usr/lib/python2.7/whichdb.pyc
  3870    4 -rw-r--r--   1 root     root         2191 Apr 18 15:54 /usr/lib/python2.7/atexit.pyc
  3868   56 -rw-r--r--   1 root     root        57302 Apr 18 15:54 /usr/lib/python2.7/logging/__init__.pyc
  3915   28 -rw-r--r--   1 root     root        25842 Apr 18 15:54 /usr/lib/python2.7/logging/config.pyc
  3916   40 -rw-r--r--   1 root     root        39134 Apr 18 15:54 /usr/lib/python2.7/logging/handlers.pyc
  3887    4 -rw-r--r--   1 root     root         2295 Apr 18 15:54 /usr/lib/python2.7/ctypes/_endian.pyc
  3886   20 -rw-r--r--   1 root     root        20198 Apr 18 15:54 /usr/lib/python2.7/ctypes/__init__.pyc
  3920    8 -rw-r--r--   1 root     root         8053 Apr 18 15:54 /usr/lib/python2.7/ctypes/util.pyc
  3949    4 -rw-r--r--   1 root     root         2794 Apr 18 15:57 /usr/lib/python2.7/anydbm.pyc
  2456   28 -rw-r--r--   1 root     root        25358 Apr 18 15:54 /usr/lib/python2.7/_abcoll.pyc
  3546   32 -rw-r--r--   1 root     root        30890 Apr 18 15:54 /usr/lib/python2.7/ssl.pyc
  3921   40 -rw-r--r--   1 root     root        39867 Apr 18 15:54 /usr/lib/python2.7/inspect.pyc
  2843   20 -rw-r--r--   1 root     root        18686 Apr 18 15:54 /usr/lib/python2.7/sysconfig.pyc
  3454   36 -rw-r--r--   1 root     root        36397 Apr 18 15:54 /usr/lib/python2.7/codecs.pyc
  3864   56 -rw-r--r--   1 root     root        53851 Apr 18 15:54 /usr/lib/python2.7/optparse.pyc
  3879   16 -rw-r--r--   1 root     root        15148 Apr 18 15:54 /usr/lib/python2.7/gzip.pyc
  2031   16 -rw-r--r--   1 root     root        13112 Apr 18 15:54 /usr/lib/python2.7/warnings.pyc
  1470    8 -rw-r--r--   1 root     root         4651 Apr 18 16:01 /usr/lib/python2.7/netrc.pyc
  3467   20 -rw-r--r--   1 root     root        19809 Apr 18 15:54 /usr/lib/python2.7/string.pyc
130779    4 -rw-r--r--   1 root     root          334 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/__init__.pyc
130803    4 -rw-r--r--   1 root     root         3352 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/debug.pyc
130791    4 -rw-r--r--   1 root     root          144 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/codec/__init__.pyc
130792    4 -rw-r--r--   1 root     root          148 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/codec/ber/__init__.pyc
130793    4 -rw-r--r--   1 root     root          629 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/codec/ber/eoo.pyc
130801   28 -rw-r--r--   1 root     root        28262 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.pyc
130799    4 -rw-r--r--   1 root     root          148 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/codec/cer/__init__.pyc
130800    4 -rw-r--r--   1 root     root         1598 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/codec/cer/decoder.pyc
130797    4 -rw-r--r--   1 root     root          148 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/codec/der/__init__.pyc
130798    4 -rw-r--r--   1 root     root          360 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/codec/der/decoder.pyc
130789    8 -rw-r--r--   1 root     root         7157 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/namedtype.pyc
130796    4 -rw-r--r--   1 root     root         3428 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/char.pyc
130783   12 -rw-r--r--   1 root     root        11513 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/constraint.pyc
130780    4 -rw-r--r--   1 root     root          143 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/__init__.pyc
130781   48 -rw-r--r--   1 root     root        48094 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/univ.pyc
130787    4 -rw-r--r--   1 root     root         2694 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/tagmap.pyc
130802    4 -rw-r--r--   1 root     root          860 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/useful.pyc
130788    8 -rw-r--r--   1 root     root         7504 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/tag.pyc
130790    4 -rw-r--r--   1 root     root         2566 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/namedval.pyc
130785    4 -rw-r--r--   1 root     root          415 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/error.pyc
130782   16 -rw-r--r--   1 root     root        13104 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/type/base.pyc
130786    4 -rw-r--r--   1 root     root          722 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/error.pyc
130794    4 -rw-r--r--   1 root     root          145 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/compat/__init__.pyc
130795    4 -rw-r--r--   1 root     root         2207 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pyasn1/compat/octets.pyc
130818    4 -rw-r--r--   1 root     root          330 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/status_codes.pyc
130752   12 -rw-r--r--   1 root     root        10687 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/vcs/__init__.pyc
130753    8 -rw-r--r--   1 root     root         8113 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/vcs/git.pyc
130810    8 -rw-r--r--   1 root     root         5834 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/vcs/bazaar.pyc
130806   12 -rw-r--r--   1 root     root        10047 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/vcs/subversion.pyc
130754    8 -rw-r--r--   1 root     root         6589 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/vcs/mercurial.pyc
129745   12 -rw-r--r--   1 root     root         9437 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/__init__.pyc
130809    4 -rw-r--r--   1 root     root         3151 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/pep425tags.pyc
130707   12 -rw-r--r--   1 root     root         9617 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/log.pyc
130750   28 -rw-r--r--   1 root     root        27292 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/util.pyc
130808   20 -rw-r--r--   1 root     root        17873 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/wheel.pyc
130816    8 -rw-r--r--   1 root     root         6212 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/basecommand.pyc
130811   12 -rw-r--r--   1 root     root         9728 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/baseparser.pyc
130815   60 -rw-r--r--   1 root     root        60172 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/req.pyc
130807   32 -rw-r--r--   1 root     root        32655 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/index.pyc
130822    8 -rw-r--r--   1 root     root         6425 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/list.pyc
130827   12 -rw-r--r--   1 root     root        11748 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/zip.pyc
130823    8 -rw-r--r--   1 root     root         5297 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/search.pyc
130812    4 -rw-r--r--   1 root     root         2613 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/__init__.pyc
130825    4 -rw-r--r--   1 root     root         2656 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/uninstall.pyc
130828    8 -rw-r--r--   1 root     root         6322 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/wheel.pyc
130820    8 -rw-r--r--   1 root     root         4471 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/freeze.pyc
130813    4 -rw-r--r--   1 root     root         2226 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/bundle.pyc
130824    4 -rw-r--r--   1 root     root         3313 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/show.pyc
130826    4 -rw-r--r--   1 root     root          551 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/unzip.pyc
130819    4 -rw-r--r--   1 root     root         2381 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/completion.pyc
130821    4 -rw-r--r--   1 root     root         1289 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/help.pyc
130814   12 -rw-r--r--   1 root     root        10035 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/commands/install.pyc
130748    8 -rw-r--r--   1 root     root         5257 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/backwardcompat/__init__.pyc
130755   20 -rw-r--r--   1 root     root        20006 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/download.pyc
130817    8 -rw-r--r--   1 root     root         7960 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/cmdoptions.pyc
129836    4 -rw-r--r--   1 root     root         2939 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/exceptions.pyc
130751    8 -rw-r--r--   1 root     root         5462 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pip/locations.pyc
130832   36 -rw-r--r--   1 root     root        33052 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/dist.pyc
130839   20 -rw-r--r--   1 root     root        20234 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/svn_utils.pyc
129850    8 -rw-r--r--   1 root     root         7357 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/__init__.pyc
130835    4 -rw-r--r--   1 root     root          831 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/command/__init__.pyc
130837   20 -rw-r--r--   1 root     root        18097 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/command/egg_info.pyc
130836    4 -rw-r--r--   1 root     root         2612 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/command/install_scripts.pyc
130838   12 -rw-r--r--   1 root     root         8768 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/command/sdist.pyc
129861    4 -rw-r--r--   1 root     root          173 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/version.pyc
129891    4 -rw-r--r--   1 root     root         2520 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/extension.pyc
130833    8 -rw-r--r--   1 root     root         7188 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/depends.pyc
130834    4 -rw-r--r--   1 root     root         3541 Apr 18 16:01 /usr/lib/python2.7/dist-packages/setuptools/compat.pyc
130804    4 -rw-r--r--   1 root     root          949 Apr 18 15:54 /usr/lib/python2.7/dist-packages/OpenSSL/__init__.pyc
130805    4 -rw-r--r--   1 root     root          253 Apr 18 15:54 /usr/lib/python2.7/dist-packages/OpenSSL/version.pyc
  3458  108 -rw-r--r--   1 root     root       108240 Apr 18 15:54 /usr/lib/python2.7/dist-packages/pkg_resources.pyc
  3479   20 -rw-r--r--   1 root     root        19151 Apr 18 15:54 /usr/lib/python2.7/plistlib.pyc
  3888   76 -rw-r--r--   1 root     root        75112 Apr 18 15:54 /usr/lib/python2.7/tarfile.pyc
  3918   20 -rw-r--r--   1 root     root        18219 Apr 18 15:54 /usr/lib/python2.7/mimetypes.pyc
  3859    8 -rw-r--r--   1 root     root         6550 Apr 18 15:54 /usr/lib/python2.7/quopri.pyc
  3934   24 -rw-r--r--   1 root     root        22538 Apr 18 15:54 /usr/lib/python2.7/Cookie.pyc
  3451    4 -rw-r--r--   1 root     root          232 Apr 18 15:54 /usr/lib/python2.7/sitecustomize.pyc
  3922    8 -rw-r--r--   1 root     root         6212 Apr 18 15:54 /usr/lib/python2.7/dis.pyc
  3923    8 -rw-r--r--   1 root     root         6139 Apr 18 15:54 /usr/lib/python2.7/opcode.pyc
  3889   44 -rw-r--r--   1 root     root        41825 Apr 18 15:54 /usr/lib/python2.7/subprocess.pyc
  3517   52 -rw-r--r--   1 root     root        50208 Apr 18 15:54 /usr/lib/python2.7/urllib.pyc
  3464    4 -rw-r--r--   1 root     root         2101 Apr 18 15:54 /usr/lib/python2.7/keyword.pyc
  1919   24 -rw-r--r--   1 root     root        21712 Apr 18 16:01 /usr/lib/python2.7/BaseHTTPServer.pyc
  3881    4 -rw-r--r--   1 root     root          312 Apr 18 15:54 /usr/lib/python2.7/xml/parsers/__init__.pyc
  3882    4 -rw-r--r--   1 root     root          285 Apr 18 15:54 /usr/lib/python2.7/xml/parsers/expat.pyc
  3880    4 -rw-r--r--   1 root     root         1076 Apr 18 15:54 /usr/lib/python2.7/xml/__init__.pyc
  3964    8 -rw-r--r--   1 root     root         6435 Apr 18 16:01 /usr/lib/python2.7/xml/dom/__init__.pyc
  3966    4 -rw-r--r--   1 root     root         3301 Apr 18 16:01 /usr/lib/python2.7/xml/dom/domreg.pyc
  3943    4 -rw-r--r--   1 root     root         3687 Apr 18 15:54 /usr/lib/python2.7/xml/sax/__init__.pyc
  3946    8 -rw-r--r--   1 root     root         6135 Apr 18 15:54 /usr/lib/python2.7/xml/sax/_exceptions.pyc
  3944   20 -rw-r--r--   1 root     root        19086 Apr 18 15:54 /usr/lib/python2.7/xml/sax/xmlreader.pyc
  3945   16 -rw-r--r--   1 root     root        12978 Apr 18 15:54 /usr/lib/python2.7/xml/sax/handler.pyc
  3947   16 -rw-r--r--   1 root     root        14693 Apr 18 15:54 /usr/lib/python2.7/xml/sax/saxutils.pyc
  3940    4 -rw-r--r--   1 root     root          174 Apr 18 15:54 /usr/lib/python2.7/xml/etree/cElementTree.pyc
  3939    4 -rw-r--r--   1 root     root          127 Apr 18 15:54 /usr/lib/python2.7/xml/etree/__init__.pyc
  3942    8 -rw-r--r--   1 root     root         7566 Apr 18 15:54 /usr/lib/python2.7/xml/etree/ElementPath.pyc
  3941   36 -rw-r--r--   1 root     root        34690 Apr 18 15:54 /usr/lib/python2.7/xml/etree/ElementTree.pyc
  1938    8 -rw-r--r--   1 root     root         7844 Apr 18 16:01 /usr/lib/python2.7/SimpleHTTPServer.pyc
  3909   12 -rw-r--r--   1 root     root        11442 Apr 18 15:54 /usr/lib/python2.7/StringIO.pyc
  3289    4 -rw-r--r--   1 root     root          279 Apr 18 15:54 /usr/lib/python2.7/_sysconfigdata.pyc
  3931   56 -rw-r--r--   1 root     root        54543 Apr 18 15:54 /usr/lib/python2.7/cookielib.pyc
  3460    4 -rw-r--r--   1 root     root          237 Apr 18 15:54 /usr/lib/python2.7/struct.pyc
  3933    8 -rw-r--r--   1 root     root         4452 Apr 18 15:54 /usr/lib/python2.7/_MozillaCookieJar.pyc
  3877   28 -rw-r--r--   1 root     root        25095 Apr 18 15:54 /usr/lib/python2.7/ConfigParser.pyc
  3496    8 -rw-r--r--   1 root     root         4302 Apr 18 15:54 /usr/lib/python2.7/uu.pyc
  2076    4 -rw-r--r--   1 root     root         3199 Apr 18 15:54 /usr/lib/python2.7/linecache.pyc
  3506   28 -rw-r--r--   1 root     root        25482 Apr 18 15:54 /usr/lib/python2.7/random.pyc
  1840   20 -rw-r--r--   1 root     root        19710 Apr 18 15:54 /usr/lib/python2.7/site.pyc
  2991   16 -rw-r--r--   1 root     root        12529 Apr 18 15:54 /usr/lib/python2.7/sre_compile.pyc
  1453   16 -rw-r--r--   1 root     root        14447 Apr 18 16:01 /usr/lib/python2.7/stringprep.pyc
  2579   12 -rw-r--r--   1 root     root         9582 Apr 18 15:54 /usr/lib/python2.7/_weakrefset.pyc
  3874   32 -rw-r--r--   1 root     root        31728 Apr 18 15:54 /usr/lib/python2.7/rfc822.pyc
  3473   20 -rw-r--r--   1 root     root        18867 Apr 18 15:54 /usr/lib/python2.7/pkgutil.pyc
  3453    8 -rw-r--r--   1 root     root         4370 Apr 18 15:54 /usr/lib/python2.7/encodings/__init__.pyc
  3457    4 -rw-r--r--   1 root     root         1950 Apr 18 15:54 /usr/lib/python2.7/encodings/utf_8.pyc
  3924    4 -rw-r--r--   1 root     root         2261 Apr 18 15:54 /usr/lib/python2.7/encodings/ascii.pyc
  1208    8 -rw-r--r--   1 root     root         6376 Apr 18 16:01 /usr/lib/python2.7/encodings/idna.pyc
  3456   12 -rw-r--r--   1 root     root         8768 Apr 18 15:54 /usr/lib/python2.7/encodings/aliases.pyc
  3929    4 -rw-r--r--   1 root     root         3754 Apr 18 15:54 /usr/lib/python2.7/encodings/hex_codec.pyc
  3876   12 -rw-r--r--   1 root     root         9368 Apr 18 15:54 /usr/lib/python2.7/Queue.pyc
  2740    8 -rw-r--r--   1 root     root         5091 Apr 18 15:54 /usr/lib/python2.7/copy_reg.pyc
  3465   16 -rw-r--r--   1 root     root        14528 Apr 18 15:54 /usr/lib/python2.7/heapq.pyc
  3463   28 -rw-r--r--   1 root     root        24703 Apr 18 15:54 /usr/lib/python2.7/collections.pyc
  3914   32 -rw-r--r--   1 root     root        32421 Apr 18 15:54 /usr/lib/python2.7/cgi.pyc
  3858   56 -rw-r--r--   1 root     root        55006 Apr 18 15:54 /usr/lib/python2.7/locale.pyc
  3865   16 -rw-r--r--   1 root     root        15449 Apr 18 15:54 /usr/lib/python2.7/gettext.pyc
  3857   28 -rw-r--r--   1 root     root        27627 Apr 18 15:54 /usr/lib/python2.7/calendar.pyc
  3863   20 -rw-r--r--   1 root     root        19861 Apr 18 15:54 /usr/lib/python2.7/tempfile.pyc
  3936    8 -rw-r--r--   1 root     root         6607 Apr 18 15:54 /usr/lib/python2.7/py_compile.pyc
  1888    4 -rw-r--r--   1 root     root         2731 Apr 18 15:54 /usr/lib/python2.7/stat.pyc
  3461   20 -rw-r--r--   1 root     root        18326 Apr 18 15:54 /usr/lib/python2.7/shutil.pyc
  2842   12 -rw-r--r--   1 root     root        11639 Apr 18 15:54 /usr/lib/python2.7/traceback.pyc
  3088   20 -rw-r--r--   1 root     root        19503 Apr 18 15:54 /usr/lib/python2.7/sre_parse.pyc
  3472    8 -rw-r--r--   1 root     root         6037 Apr 18 15:54 /usr/lib/python2.7/functools.pyc
  3930   16 -rw-r--r--   1 root     root        13676 Apr 18 15:54 /usr/lib/python2.7/json/encoder.pyc
  3926   16 -rw-r--r--   1 root     root        13945 Apr 18 15:54 /usr/lib/python2.7/json/__init__.pyc
  3928    4 -rw-r--r--   1 root     root         2223 Apr 18 15:54 /usr/lib/python2.7/json/scanner.pyc
  3927   12 -rw-r--r--   1 root     root        12070 Apr 18 15:54 /usr/lib/python2.7/json/decoder.pyc
  3951   16 -rw-r--r--   1 root     root        12374 Apr 18 15:57 /usr/lib/python2.7/bsddb/__init__.pyc
  3953    4 -rw-r--r--   1 root     root          590 Apr 18 15:57 /usr/lib/python2.7/bsddb/db.pyc
  3952    4 -rw-r--r--   1 root     root         1623 Apr 18 15:57 /usr/lib/python2.7/bsddb/dbutils.pyc
  1756   16 -rw-r--r--   1 root     root        13888 Apr 18 16:01 /usr/lib/python2.7/numbers.pyc
  2552    8 -rw-r--r--   1 root     root         6121 Apr 18 15:54 /usr/lib/python2.7/abc.pyc
  3917   24 -rw-r--r--   1 root     root        23944 Apr 18 15:54 /usr/lib/python2.7/SocketServer.pyc
  1663    8 -rw-r--r--   1 root     root         7516 Apr 18 16:01 /usr/lib/python2.7/shlex.pyc
  3866   12 -rw-r--r--   1 root     root        12142 Apr 18 15:54 /usr/lib/python2.7/copy.pyc
  3511    8 -rw-r--r--   1 root     root         7011 Apr 18 15:54 /usr/lib/python2.7/hashlib.pyc
  3911   12 -rw-r--r--   1 root     root         9277 Apr 18 15:54 /usr/lib/python2.7/markupbase.pyc
  3878   44 -rw-r--r--   1 root     root        43624 Apr 18 15:54 /usr/lib/python2.7/xmlrpclib.pyc
  3912    8 -rw-r--r--   1 root     root         6365 Apr 18 15:54 /usr/lib/python2.7/htmlentitydefs.pyc
  3950    4 -rw-r--r--   1 root     root          714 Apr 18 15:57 /usr/lib/python2.7/dbhash.pyc
  3665   12 -rw-r--r--   1 root     root        11871 Apr 18 15:54 /usr/lib/python2.7/textwrap.pyc
  3913   16 -rw-r--r--   1 root     root        14190 Apr 18 15:54 /usr/lib/python2.7/tokenize.pyc
  2441   12 -rw-r--r--   1 root     root         8730 Apr 18 15:54 /usr/lib/python2.7/UserDict.pyc
  3508    8 -rw-r--r--   1 root     root         4280 Apr 18 15:54 /usr/lib/python2.7/__future__.pyc
  3098    8 -rw-r--r--   1 root     root         6185 Apr 18 15:54 /usr/lib/python2.7/sre_constants.pyc
  3855    8 -rw-r--r--   1 root     root         4430 Apr 18 15:54 /usr/lib/python2.7/contextlib.pyc
  1903    4 -rw-r--r--   1 root     root         3243 Apr 18 15:54 /usr/lib/python2.7/genericpath.pyc
  3932    8 -rw-r--r--   1 root     root         5522 Apr 18 15:54 /usr/lib/python2.7/_LWPCookieJar.pyc
  3872   36 -rw-r--r--   1 root     root        36418 Apr 18 15:54 /usr/lib/python2.7/httplib.pyc
  3494   28 -rw-r--r--   1 root     root        28581 Apr 18 15:54 /usr/lib/python2.7/email/message.pyc
  3482    4 -rw-r--r--   1 root     root         2860 Apr 18 15:54 /usr/lib/python2.7/email/__init__.pyc
  3856   16 -rw-r--r--   1 root     root        13771 Apr 18 15:54 /usr/lib/python2.7/email/_parseaddr.pyc
  3861   12 -rw-r--r--   1 root     root         8824 Apr 18 15:54 /usr/lib/python2.7/email/quoprimime.pyc
  3500    8 -rw-r--r--   1 root     root         5313 Apr 18 15:54 /usr/lib/python2.7/email/base64mime.pyc
  3860    4 -rw-r--r--   1 root     root         2218 Apr 18 15:54 /usr/lib/python2.7/email/encoders.pyc
  3492    4 -rw-r--r--   1 root     root         3499 Apr 18 15:54 /usr/lib/python2.7/email/errors.pyc
  3498   16 -rw-r--r--   1 root     root        13507 Apr 18 15:54 /usr/lib/python2.7/email/charset.pyc
  3502   12 -rw-r--r--   1 root     root         9131 Apr 18 15:54 /usr/lib/python2.7/email/utils.pyc
  3486    4 -rw-r--r--   1 root     root          128 Apr 18 15:54 /usr/lib/python2.7/email/mime/__init__.pyc
  3490   12 -rw-r--r--   1 root     root        11524 Apr 18 15:54 /usr/lib/python2.7/email/feedparser.pyc
  3488    4 -rw-r--r--   1 root     root         3813 Apr 18 15:54 /usr/lib/python2.7/email/parser.pyc
  3862    4 -rw-r--r--   1 root     root         2356 Apr 18 15:54 /usr/lib/python2.7/email/iterators.pyc
  3459   44 -rw-r--r--   1 root     root        41579 Apr 18 15:54 /usr/lib/python2.7/zipfile.pyc
  3519   16 -rw-r--r--   1 root     root        14464 Apr 18 15:54 /usr/lib/python2.7/urlparse.pyc
  3516   16 -rw-r--r--   1 root     root        16046 Apr 18 15:54 /usr/lib/python2.7/socket.pyc
  3955    4 -rw-r--r--   1 root     root         2457 Apr 18 15:57 /usr/lib/python2.7/commands.pyc
  3466    4 -rw-r--r--   1 root     root         3578 Apr 18 15:54 /usr/lib/python2.7/io.pyc
  3475    4 -rw-r--r--   1 root     root         3022 Apr 18 15:54 /usr/lib/python2.7/symbol.pyc
  3869   44 -rw-r--r--   1 root     root        42515 Apr 18 15:54 /usr/lib/python2.7/threading.pyc
  1841   28 -rw-r--r--   1 root     root        25596 Apr 18 15:54 /usr/lib/python2.7/os.pyc
  3954    8 -rw-r--r--   1 root     root         6489 Apr 18 15:57 /usr/lib/python2.7/dumbdbm.pyc
  3896   40 -rw-r--r--   1 root     root        39437 Apr 18 15:54 /usr/lib/python2.7/distutils/dist.pyc
  3884   16 -rw-r--r--   1 root     root        14904 Apr 18 15:54 /usr/lib/python2.7/distutils/sysconfig.pyc
  1754   12 -rw-r--r--   1 root     root        10736 Apr 18 16:01 /usr/lib/python2.7/distutils/filelist.pyc
  3883    4 -rw-r--r--   1 root     root          383 Apr 18 15:54 /usr/lib/python2.7/distutils/__init__.pyc
  3963   12 -rw-r--r--   1 root     root         9222 Apr 18 16:01 /usr/lib/python2.7/distutils/text_file.pyc
  3901    8 -rw-r--r--   1 root     root         6384 Apr 18 15:54 /usr/lib/python2.7/distutils/spawn.pyc
  3903    8 -rw-r--r--   1 root     root         6774 Apr 18 15:54 /usr/lib/python2.7/distutils/dir_util.pyc
  3895    4 -rw-r--r--   1 root     root          252 Apr 18 15:54 /usr/lib/python2.7/distutils/debug.pyc
  3894    8 -rw-r--r--   1 root     root         7650 Apr 18 15:54 /usr/lib/python2.7/distutils/core.pyc
  3893    4 -rw-r--r--   1 root     root         2762 Apr 18 15:54 /usr/lib/python2.7/distutils/log.pyc
  3899   16 -rw-r--r--   1 root     root        14337 Apr 18 15:54 /usr/lib/python2.7/distutils/util.pyc
  3897   12 -rw-r--r--   1 root     root        11916 Apr 18 15:54 /usr/lib/python2.7/distutils/fancy_getopt.pyc
  3900    4 -rw-r--r--   1 root     root         3172 Apr 18 15:54 /usr/lib/python2.7/distutils/dep_util.pyc
  3902   20 -rw-r--r--   1 root     root        16730 Apr 18 15:54 /usr/lib/python2.7/distutils/cmd.pyc
  3906    4 -rw-r--r--   1 root     root         3556 Apr 18 15:54 /usr/lib/python2.7/distutils/config.pyc
  3891    4 -rw-r--r--   1 root     root          663 Apr 18 15:54 /usr/lib/python2.7/distutils/command/__init__.pyc
  2025    8 -rw-r--r--   1 root     root         5238 Apr 18 16:01 /usr/lib/python2.7/distutils/command/bdist.pyc
  3290    4 -rw-r--r--   1 root     root         2997 Apr 18 16:01 /usr/lib/python2.7/distutils/command/install_scripts.pyc
  3962   20 -rw-r--r--   1 root     root        16670 Apr 18 16:01 /usr/lib/python2.7/distutils/command/sdist.pyc
  3892   20 -rw-r--r--   1 root     root        17983 Apr 18 15:54 /usr/lib/python2.7/distutils/command/install.pyc
  3905    8 -rw-r--r--   1 root     root         7440 Apr 18 15:54 /usr/lib/python2.7/distutils/archive_util.pyc
  3885    8 -rw-r--r--   1 root     root         6245 Apr 18 15:54 /usr/lib/python2.7/distutils/errors.pyc
  3948    8 -rw-r--r--   1 root     root         7178 Apr 18 15:54 /usr/lib/python2.7/distutils/version.pyc
  3904    8 -rw-r--r--   1 root     root         6739 Apr 18 15:54 /usr/lib/python2.7/distutils/file_util.pyc
  3907    8 -rw-r--r--   1 root     root         7403 Apr 18 15:54 /usr/lib/python2.7/distutils/extension.pyc
  3919   24 -rw-r--r--   1 root     root        22730 Apr 18 15:54 /usr/lib/python2.7/uuid.pyc
  3935    8 -rw-r--r--   1 root     root         7004 Apr 18 15:54 /usr/lib/python2.7/compileall.pyc
  3504   12 -rw-r--r--   1 root     root        10852 Apr 18 15:54 /usr/lib/python2.7/base64.pyc
  3938    4 -rw-r--r--   1 root     root         2927 Apr 18 15:54 /usr/lib/python2.7/glob.pyc
  3462    4 -rw-r--r--   1 root     root         3522 Apr 18 15:54 /usr/lib/python2.7/fnmatch.pyc
  3875    4 -rw-r--r--   1 root     root         3061 Apr 18 15:54 /usr/lib/python2.7/bisect.pyc
  1887   12 -rw-r--r--   1 root     root        11567 Apr 18 15:54 /usr/lib/python2.7/posixpath.pyc
  3873   12 -rw-r--r--   1 root     root         8197 Apr 18 15:54 /usr/lib/python2.7/mimetools.pyc
  3910   16 -rw-r--r--   1 root     root        13670 Apr 18 15:54 /usr/lib/python2.7/HTMLParser.pyc
  3474    4 -rw-r--r--   1 root     root         3806 Apr 18 15:54 /usr/lib/python2.7/token.pyc
  2894   16 -rw-r--r--   1 root     root        13370 Apr 18 15:54 /usr/lib/python2.7/re.pyc
  3476   40 -rw-r--r--   1 root     root        37705 Apr 18 15:54 /usr/lib/python2.7/platform.pyc
  2266    4 -rw-r--r--   1 root     root         2494 Apr 18 15:54 /usr/lib/python2.7/types.pyc
  3890   40 -rw-r--r--   1 root     root        38261 Apr 18 15:54 /usr/lib/python2.7/pickle.pyc
  3956    4 -rw-r--r--   1 root     root          680 Apr 18 15:57 /usr/share/apt-listchanges/ALChacks.pyc
  3958   12 -rw-r--r--   1 root     root         8812 Apr 18 15:57 /usr/share/apt-listchanges/DebianFiles.pyc
  3959    8 -rw-r--r--   1 root     root         4254 Apr 18 15:57 /usr/share/apt-listchanges/ALCConfig.pyc
  3957   16 -rw-r--r--   1 root     root        15971 Apr 18 15:57 /usr/share/apt-listchanges/apt_listchanges.pyc
pi@TRP2HP:~/dshield $ sudo find /usr -name '*.pyc' -delete
pi@TRP2HP:~/dshield $ sudo find /usr -name '*.pyc' -ls
pi@TRP2HP:~/dshield $ sudo bin/install.sh

...

User cowrie already exists in OS. Making no changes
cowrie mysql database already exists. not touching it.
Adding / updating cowrie user in MySQL.
+ checking cowrie dependency: module 'twisted' ...
  ERR: is installed in v14.0.2 but must at least be v16.6.0, will be updated
Downloading/unpacking twisted==16.6.0
  Downloading Twisted-16.6.0.tar.bz2 (3.0MB): 3.0MB downloaded
  Running setup.py (path:/tmp/pip-build-RptgbL/twisted/setup.py) egg_info for package twisted
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 14, in <module>
        from setuptools.command.sdist import sdist
      File "/usr/lib/python2.7/dist-packages/setuptools/command/sdist.py", line 9, in <module>
        from setuptools import svn_utils
      File "/usr/lib/python2.7/dist-packages/setuptools/svn_utils.py", line 5, in <module>
        import xml.dom.pulldom
      File "/usr/lib/python2.7/xml/dom/__init__.py", line 139, in <module>
        from domreg import getDOMImplementation,registerDOMImplementation
      File "/usr/lib/python2.7/xml/dom/domreg.py", line 5, in <module>
        from xml.dom.minicompat import *  # isinstance, StringTypes
      File "/usr/lib/python2.7/xml/dom/minicompat.py", line 27
    SyntaxError: Non-ASCII character '\xec' in file /usr/lib/python2.7/xml/dom/minicompat.py on line 27, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 3, in <module>

  File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 14, in <module>

    from setuptools.command.sdist import sdist

  File "/usr/lib/python2.7/dist-packages/setuptools/command/sdist.py", line 9, in <module>

    from setuptools import svn_utils

  File "/usr/lib/python2.7/dist-packages/setuptools/svn_utils.py", line 5, in <module>

    import xml.dom.pulldom

  File "/usr/lib/python2.7/xml/dom/__init__.py", line 139, in <module>

    from domreg import getDOMImplementation,registerDOMImplementation

  File "/usr/lib/python2.7/xml/dom/domreg.py", line 5, in <module>

    from xml.dom.minicompat import *  # isinstance, StringTypes

  File "/usr/lib/python2.7/xml/dom/minicompat.py", line 27

SyntaxError: Non-ASCII character '\xec' in file /usr/lib/python2.7/xml/dom/minicompat.py on line 27, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-RptgbL/twisted
Storing debug log for failure in /root/.pip/pip.log
Error upgrading 'twisted'. Aborting.

pi@TRP2HP:~/dshield $ sudo pip list
argparse (1.2.1)
characteristic (0.1.0)
chardet (2.3.0)
colorama (0.3.2)
gmpy (1.15)
gmpy2 (2.0.3)
html5lib (0.999)
MySQL-python (1.2.3)
ndg-httpsclient (0.3.2)
PAM (0.4.2)
pip (1.5.6)
pyasn1 (0.1.7)
pyasn1-modules (0.0.5)
pycrypto (2.6.1)
pyOpenSSL (0.13.1)
pyserial (2.6)
python-apt (0.9.3.12)
python-dateutil (2.5.3)
requests (2.4.3)
RPi.GPIO (0.6.3)
service-identity (1.0.0)
setuptools (5.5.1)
six (1.8.0)
Twisted (14.0.2)
Twisted-Conch (14.0.2)
Twisted-Core (14.0.2)
Twisted-Lore (14.0.2)
Twisted-Mail (14.0.2)
Twisted-Names (14.0.2)
Twisted-News (14.0.2)
Twisted-Runner (14.0.2)
Twisted-Web (14.0.2)
Twisted-Words (14.0.2)
urllib3 (1.9.1)
virtualenv (1.11.6)
wheel (0.24.0)
wsgiref (0.1.2)
zope.interface (4.1.1)
pi@TRP2HP:~/dshield $

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Maybe the pip.log will help...

pi@TRP2HP:~/dshield $ sudo more /root/.pip/pip.log
------------------------------------------------------------
/usr/bin/pip run on Tue Apr 18 18:02:49 2017
Downloading/unpacking twisted==16.6.0
  Getting page https://pypi.python.org/simple/twisted/
  URLs to search for versions for twisted==16.6.0:
  * https://pypi.python.org/simple/twisted/16.6.0
  * https://pypi.python.org/simple/twisted/
  Getting page https://pypi.python.org/simple/twisted/16.6.0
  Could not fetch URL https://pypi.python.org/simple/twisted/16.6.0: 404 Client
Error: Not Found
  Will skip URL https://pypi.python.org/simple/twisted/16.6.0 when looking for d
ownload links for twisted==16.6.0
  Analyzing links from page https://pypi.python.org/simple/twisted/
    Found link https://pypi.python.org/packages/00/ea/6e50396d390aedf4af6e5ceff7
4a8885ae0bae741c5e22f72e5ec19832ff/Twisted-10.1.0.tar.bz2#md5=04cca97506e830074c
ffc1965297da3f (from https://pypi.python.org/simple/twisted/), version: 10.1.0
    Skipping https://pypi.python.org/packages/02/c7/7768b214a5987df9d458b9685269
f46edbdc9a4c0534b64fcf06ff710805/Twisted-16.4.1-cp27-none-win_amd64.whl#md5=d0e0
067750be0bc4adea3f4a1cdcd34d (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/04/6f/ff8d5b822bed8d7fc23518e71d
1d3eb70e0f348a4045e48a52258bd29493/Twisted-12.0.0.tar.bz2#md5=cf49a8676c21c50faf
1b42b528049471 (from https://pypi.python.org/simple/twisted/), version: 12.0.0
    Skipping link https://pypi.python.org/packages/04/c9/0304c2fccfa3b2d7d3fd760
920e30bcc80ed52a6808a82d82f158f87f350/Twisted-11.0.0.winxp32-py2.5.msi#md5=bef10
a63f64301539658c48fe52b37e8 (from https://pypi.python.org/simple/twisted/); unkn
own archive format: .msi
    Found link https://pypi.python.org/packages/06/0f/0e1ee4d4739aa81d9b59387098
5f2997825915e704d487d24de44e12b370/Twisted-12.3.0.tar.bz2#md5=6e289825f3bf5591cf
d670874cc0862d (from https://pypi.python.org/simple/twisted/), version: 12.3.0
    Skipping https://pypi.python.org/packages/06/cc/d5b2df922c08c9d50dbb88d11a18
3e60397254cc8be4c188beb599c5034e/Twisted-13.0.0-cp27-none-win32.whl#md5=232447d1
bb13ca4d71013706d855fa0d (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Found link https://pypi.python.org/packages/0c/3e/55d4812013c740c5b9bef073e7
3286558e1c7b07443f3ff4759f888e1782/Twisted-12.1.0.tar.bz2#md5=f396f1d6f5321e869c
2f89b2196a9eb5 (from https://pypi.python.org/simple/twisted/), version: 12.1.0
    Skipping https://pypi.python.org/packages/0c/a1/57d1b4aae97932707c0ab035553b
a2e41e7ecd2a777b81e53700e862072e/Twisted-16.3.1-cp27-none-win_amd64.whl#md5=bfe2
7fca85933289f06549fbcd36cc78 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/0d/c6/bf1b39abf27d3761fc88cac4fb
85379ad3d2a4872c5861f368d3a10049d6/Twisted-16.3.2.tar.bz2#md5=0b1b26724ebc0fe3d6
5a9779f12319a5 (from https://pypi.python.org/simple/twisted/), version: 16.3.2
    Found link https://pypi.python.org/packages/0f/88/18bb0eddb483033e35b1b84bdf
9de4cedb8906ece178e2d921451282b3c8/Twisted-14.0.2.tar.bz2#md5=8379eb15601d6b7543
a189594d3fed8f (from https://pypi.python.org/simple/twisted/), version: 14.0.2
    Found link https://pypi.python.org/packages/10/38/0d1988d53f140ec99d37ac28c0
4f341060c2f2d00b0a901bf199ca6ad984/Twisted-13.1.0.tar.bz2#md5=5609c91ed465f5a7da
48d30a0e7b6960 (from https://pypi.python.org/simple/twisted/), version: 13.1.0
    Skipping link https://pypi.python.org/packages/10/b9/fd68e23cf78e7452cdc93b5
05965f1dacaa5a0109a596dfd86bbb3e5a4ce/Twisted-12.1.0.win32-py2.6.exe#md5=31cfca7
a20588ae653a280589f41dff4 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/11/d6/c87afc232d444fe3f7d292a
afc4985c4a21c3e88f7e6e7c278bb2933fee2/Twisted-15.2.0.win-amd64-py2.7.exe#md5=f9b
fea115d0b0e1a1bbe656e3f443bd5 (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Found link https://pypi.python.org/packages/16/f4/bf46dded2b140c441a83002b5b
bff99988f31177f08809b433effdc1d508/Twisted-16.7.0rc2.tar.bz2#md5=d72985e0ada43ea
457b32584bd856993 (from https://pypi.python.org/simple/twisted/), version: 16.7.
0rc2
    Skipping https://pypi.python.org/packages/17/9a/296abc8e3637fe2ad7f483e8bc13
6cc4f33441ea729a7be95eb1e4d49711/Twisted-16.1.1-cp27-none-win_amd64.whl#md5=b2ea
a3b60803ecd53cf408a780734810 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/18/85/eb7af503356e933061bf122003
3c3a85bad0dbc5035dfd9a97f1e900dfcb/Twisted-16.2.0.tar.bz2#md5=8b35a88d5f1a4bfd76
2a008968fddabf (from https://pypi.python.org/simple/twisted/), version: 16.2.0
    Skipping link https://pypi.python.org/packages/1b/73/39f2eb32c13ee2575b071dc
7e26d29735688c8447c0c4e698b368a7a6807/Twisted-15.0.0.win-amd64-py2.7.exe#md5=806
849b90e8673975f7b5451aa3d5d88 (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Skipping link https://pypi.python.org/packages/1e/cf/a189fa8abe13c0022e6f024
5632d3a4941acc0842234062eaea34c52455e/Twisted-15.1.0.win32-py2.7.exe#md5=d4b62ab
eade93a7fe5a390145ff59f9d (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping https://pypi.python.org/packages/1e/d8/9def6c2b433a9147b7418d428075
23b2224363fdad8af36e4e79594384c0/Twisted-16.6.0-cp27-cp27m-win_amd64.whl#md5=d41
f705056c37e9b076802fd0ea88499 (from https://pypi.python.org/simple/twisted/) bec
ause it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/20/40/854682bf43cbb6bc342a462
9f8e15bce8a37b8b08980e7ef3df957cb52e3/Twisted-10.1.0.winxp32-py2.5.msi#md5=b5359
483b3e9cee67dc87b40d41c6c3f (from https://pypi.python.org/simple/twisted/); unkn
own archive format: .msi
    Skipping https://pypi.python.org/packages/20/5d/717421980b05387b58349e7d36ba
468513dc4f1bf8f323b85a1f42cf9013/Twisted-14.0.0-cp27-none-win_amd64.whl#md5=c5a2
ebda7c03c67a6f31bfe8c9e9cb1c (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/22/58/9797771b2ce534fa6eb2b9d482
63d76cabfbdae646e9692a7381ce9a7ced/Twisted-15.2.0.tar.bz2#md5=84a4087401f6fa1dc0
22025139db1fec (from https://pypi.python.org/simple/twisted/), version: 15.2.0
    Skipping link https://pypi.python.org/packages/23/a1/c855de27bd2349d74e32b2a
a6a4009c55076bc7e21a87deb0e178c6bb034/Twisted-15.0.0.win32-py2.7.msi#md5=e53d383
59c62aaf2ba6f5dfa41f142ea (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping link https://pypi.python.org/packages/24/7b/ef583f4def6fbefaeaa6526
f8eee1dcaae75beba3fecf8fc5a0d3d0d2128/Twisted-15.3.0.win-amd64-py2.7.exe#md5=524
c35790ffaaa5b8309d4766a3c364f (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Skipping https://pypi.python.org/packages/25/ee/9ae3940d5923f0ecf8317513c62b
5cf683984e7c2dcaadd662f20f1fe0d5/Twisted-15.2.0-cp27-none-win_amd64.whl#md5=760f
bc25c5e2486532f2d67132912c4a (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/26/9e/88b5f7aa642335ec7946a33
250eed9eb800bcf8fa2de05fdf852da17d6fc/Twisted-12.2.0.win32-py2.6.msi#md5=8573ccb
f69a58940981a62d5e00b69fc (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Found link https://pypi.python.org/packages/27/8a/1111be0b44800e617a2fe95073
2e1fa78546aa8e52768691c050ce86556b/Twisted-16.5.0rc1.tar.bz2#md5=17badb43637a683
d3d6dc76f4fa150b8 (from https://pypi.python.org/simple/twisted/), version: 16.5.
0rc1
    Skipping https://pypi.python.org/packages/28/81/bc48a8b23bd5fba740f59d518ca8
1d9301c48c05ba16b8e02ad50cbdf4b4/Twisted-15.2.1-cp27-none-win_amd64.whl#md5=f508
bc2cd751023f8102606b8e2a915a (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping https://pypi.python.org/packages/2a/bf/8d008777967988ce5ca99d69c648
c7ab6b3e0568956ffab3eb8da13a6174/Twisted-15.0.0-cp27-none-win_amd64.whl#md5=f93f
8e5a4597664f3431eec32b05e9f9 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/2b/1f/9f1769bfd9d25547dc7f98e527
3c638d379f1b2ef368a8b270de675fe714/Twisted-16.1.1.tar.bz2#md5=266a085f5ce3fbc060
818bd00bd6a888 (from https://pypi.python.org/simple/twisted/), version: 16.1.1
    Skipping link https://pypi.python.org/packages/2b/5a/39e747ff3360324d2477ed6
43a28e95ea2c2c4e178e02eab38e476bd4699/Twisted-12.2.0.win32-py2.7.msi#md5=f891d42
bbd899441fdc0cd70d5be3708 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping https://pypi.python.org/packages/2c/19/9f74399cfebd39da7f1c3ab27ab6
f4b70226e084483b2a9fc3ea8080d3b5/Twisted-16.5.0-cp27-cp27m-win_amd64.whl#md5=10c
3255f2b35634597ec97ff326e7669 (from https://pypi.python.org/simple/twisted/) bec
ause it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/32/d9/7b958e09a0666d5760389ae
c0c684dd9b2df857e3513ed4bd00a95fdbe5b/Twisted-15.4.0.win32-py2.7.msi#md5=47c2d66
80f8bcd5b11d1305a875ecfcb (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Found link https://pypi.python.org/packages/36/c0/e2d21954a2774fc2ee2d76bb6e
4cad4a09d980786b71881894860b4f020d/Twisted-16.4.0.tar.bz2#md5=688aa3dc9ef31aa012
b76cca54129b38 (from https://pypi.python.org/simple/twisted/), version: 16.4.0
    Found link https://pypi.python.org/packages/38/70/0915eb7c258bdd01c84df2a0b4
df3dccb3852f183b28052fdee2274a8e2c/Twisted-16.7.0rc1.tar.bz2#md5=dc9c7fb33ef4099
48d48a8f940b00705 (from https://pypi.python.org/simple/twisted/), version: 16.7.
0rc1
    Found link https://pypi.python.org/packages/3b/b0/c4cafea9ab2e31aa15556eddc1
51ba987e130cb347b753d991aa2ace768a/Twisted-9.0.0.tar.bz2#md5=93fc2756a09ffd1350c
046cc940e4311 (from https://pypi.python.org/simple/twisted/), version: 9.0.0
    Skipping link https://pypi.python.org/packages/3d/e9/101f146b573eec3bcb68e01
978bb3ea4ca5214e86c23f5ed9cf37e064cae/Twisted-14.0.0.win32-py2.7.msi#md5=2122632
6d711eede5ee8407bd1676886 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping https://pypi.python.org/packages/3e/f1/e7523f5f19f29b4200553d42230b
251cfad70af8a95e02507c26b2d42605/Twisted-13.0.0-cp27-none-win_amd64.whl#md5=f80a
cd0fc026f414a8cd6d19b118e3d4 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping https://pypi.python.org/packages/40/f1/d50b8229295db7d02dc48ba847c3
9c7f2c2359f393f421b63ea5389b1617/Twisted-13.1.0-cp27-none-win_amd64.whl#md5=2ead
d4176d3a827a9426ae4ae1863616 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/44/8b/1c385451255df7d398ce72805e
c8768e546ab34e87f16aef94b76a056bdf/Twisted-17.1.0rc1.tar.bz2#md5=63fa7054c7ad2c7
179b6925c2a32549d (from https://pypi.python.org/simple/twisted/), version: 17.1.
0rc1
    Skipping link https://pypi.python.org/packages/46/b2/0ae4d48e12630ea88ee25fa
a4ef986c11f49900f0095b669eeb418979018/Twisted-12.2.0.win-amd64-py2.7.exe#md5=b0a
c2a8170c88468db74a77a0281e4ae (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Skipping link https://pypi.python.org/packages/4c/b9/da030acedaf3a55b8297339
cca9ddb4f834e29b3af535b2b8e5dcd4fb206/Twisted-12.0.0.win32-py2.5.exe#md5=d571482
bbd7a751b54132398dc969f1f (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/4e/e3/3dba5a9f6f8f04f2868c638
5caf634c84281333bc8b3dd1c7ae337c29d06/Twisted-15.0.0.win32-py2.7.exe#md5=a3e131a
d9464c36e82dfcc7d16e954f1 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping https://pypi.python.org/packages/4e/fc/2c98063456f7796b955c00cc9399
7b32ad1ac532cb40f72c01065133e73d/Twisted-15.2.1-cp27-none-win32.whl#md5=ea92d6cf
81712c3d8d16da364f4736f6 (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/50/5a/8225d501cb008745207cfe9
06618a0a7e4d527788d63fc3b239a996bf948/Twisted-11.0.0-py2.6-win32.egg#md5=01554ca
a9dbead9b5e318402634cf6a5 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .egg
    Skipping link https://pypi.python.org/packages/52/a9/f0dbceee31e8e080e8d7122
31c209d6bafa1da60ebb534f9c92853ec2628/Twisted-15.2.0.win32-py2.7.exe#md5=954b7e7
9b8609a58d625e412a4be8754 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/58/fa/2f35cf4c6ad2b6235efcedc
3f3dd71a2c6b7b4dcd913768ea5547c511126/Twisted-12.1.0.win32-py2.7.msi#md5=b5aba4c
e3e81b2f82f8f30702f27aeb6 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Found link https://pypi.python.org/packages/5f/14/41881d2f8a4afefed7ad80c9ec
dc0501054f5f981fb43326b20057fb772c/Twisted-14.0.1.tar.bz2#md5=742a97879d63c341b3
98bc909bbdcdab (from https://pypi.python.org/simple/twisted/), version: 14.0.1
    Skipping link https://pypi.python.org/packages/60/a3/66f556d7caf3fe114d26371
6d48e4d342081d604a3041366147821eab105/Twisted-11.0.0.winxp32-py2.6.msi#md5=b3f1f
194c9256c5e9ce362d0cf2a6036 (from https://pypi.python.org/simple/twisted/); unkn
own archive format: .msi
    Skipping link https://pypi.python.org/packages/60/da/522e595b4c1342b01301287
30725f678dc546b8eedc0ea450e83be166715/Twisted-11.1.0.win32-py2.6.msi#md5=c4b4ce0
7d5f9f29e36e3c65b7f59a273 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping link https://pypi.python.org/packages/61/47/348f1ba00f90e7012cc814c
3472225d33070b610b25d1cebc822103e1b3d/Twisted-15.0.0.win-amd64-py2.7.msi#md5=96a
0ca7fbde62b7c8da2a362ba9918de (from https://pypi.python.org/simple/twisted/); un
known archive format: .msi
    Skipping https://pypi.python.org/packages/64/4e/de1d10c7868ad7c3763973e7bf1f
79b8c75049081079d5a2626abe0b07ce/Twisted-16.0.0-cp27-none-win_amd64.whl#md5=4efb
47fa625aaa19f297a5ce21a936be (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/67/64/9326bc374c255d78faeebf9
ab241a0f5f60e7b0b2d8db15b3ccfc5f1ec8a/Twisted-13.0.0.win32-py2.7.msi#md5=c2d453a
344f56cf6f77204c5769288c0 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping https://pypi.python.org/packages/69/16/466afee50670f20ba227e6ce3984
d510ca01a512979427ed316432486150/Twisted-16.4.0-cp27-none-win_amd64.whl#md5=971c
caada65c7694f2bd2925f47b432f (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/6b/23/8dbe86fc83215015e221fbd861
a545c6ec5c9e9cd7514af114d1f64084ab/Twisted-16.4.1.tar.bz2#md5=c6d09bdd681f538369
659111f079c29d (from https://pypi.python.org/simple/twisted/), version: 16.4.1
    Skipping https://pypi.python.org/packages/6d/69/66b8cf44263dc5cbc7e333d8785e
8d5dc4d48c37d3805bc9aedd49fb992e/Twisted-15.4.0-cp27-none-win_amd64.whl#md5=ac3c
c36154d4c2a32150e4097caafcc6 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/6e/0d/cf86144ca289526ff179785
d6eea088ade621d46061679b60b5df5fedea4/Twisted-12.0.0.win-amd64-py2.7.exe#md5=a4c
44beb49d1077262c6c10984722e1c (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Skipping link https://pypi.python.org/packages/70/62/ef7b869353961c22cfc54b7
f66acebe32d2f523df86318377da3dea73405/Twisted-11.0.0.winxp32-py2.7.msi#md5=edc63
d41222fdb9ef4545ee33931eca0 (from https://pypi.python.org/simple/twisted/); unkn
own archive format: .msi
    Skipping link https://pypi.python.org/packages/74/30/03dc01b001d53621549dba1
7f57137bfdbb25681dc56dfe7f92852d455b5/Twisted-15.2.1.win-amd64-py2.7.exe#md5=ed5
7739fe1009ddc355198996513ba95 (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Found link https://pypi.python.org/packages/76/38/cf8f81c1d7d84fec922d67f0d9
2bfa9fee59145d875d7263ceefa2bbbaf4/Twisted-14.0.0.tar.bz2#md5=9625c094e0a18da77f
aa4627b98c9815 (from https://pypi.python.org/simple/twisted/), version: 14.0.0
    Found link https://pypi.python.org/packages/76/4a/842a0be05183114b15d7e127da
3de3a20c4170b4a05744665319484c40ea/Twisted-13.0.0.tar.bz2#md5=68afff4e1efd3757d9
34e39f70c99f57 (from https://pypi.python.org/simple/twisted/), version: 13.0.0
    Found link https://pypi.python.org/packages/76/9a/ed7a9cabefd919c861249d39d1
1111d5d8fba2e8d0b2a1bce7ee8933a8fd/Twisted-15.0.0.tar.bz2#md5=f52bfe112a3aa33dd1
d323c7c1e99f16 (from https://pypi.python.org/simple/twisted/), version: 15.0.0
    Skipping link https://pypi.python.org/packages/7a/ce/1b3f938a008b56e6bfc69de
06b6992996046b599e50888d1898bdf173c10/Twisted-10.2.0.winxp32-py2.7.msi#md5=15efe
5a9db9182b3db33137b457510b5 (from https://pypi.python.org/simple/twisted/); unkn
own archive format: .msi
    Skipping link https://pypi.python.org/packages/7c/68/6185af4373849d937543e70
77222b167125a9d9642db46e910dd2111c38f/Twisted-12.1.0.win32-py2.6.msi#md5=9b984bc
81a1b5fa6deddcf6cc252bb18 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Found link https://pypi.python.org/packages/7c/a6/9f2044e57f9e8ee203ebec5143
c369500b692943f5f2c53161d25f9c5b86/Twisted-15.1.0.tar.bz2#md5=df65e3da0bee81140e
7637156802a518 (from https://pypi.python.org/simple/twisted/), version: 15.1.0
    Found link https://pypi.python.org/packages/7d/11/6f06a890249c36076d531c9446
8b0d250da87ce31c95e71149726b094001/Twisted-2.1.0.tar.bz2#md5=0aa4b877c4e34750e52
c9f0b93959913 (from https://pypi.python.org/simple/twisted/), version: 2.1.0
    Found link https://pypi.python.org/packages/83/70/72e66ff483ab2cdd085082d5b8
8745cbec39a667a10a8b0d978749c1d615/Twisted-16.6.0rc1.tar.bz2#md5=32533e37c944802
566e002ccdeefbd9b (from https://pypi.python.org/simple/twisted/), version: 16.6.
0rc1
    Skipping https://pypi.python.org/packages/84/0a/80f498637446748f829ab23cfcb6
eee45e1edfa04cba6d0c3b67b622496c/Twisted-15.0.0-cp27-none-win32.whl#md5=f66792a7
62b22a97c0dc82e32c1b3396 (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Skipping https://pypi.python.org/packages/84/c4/4bede83bd54cc5a8498b1920b555
80da0301efebd0a635d34dc79b3d06dc/Twisted-17.1.0-cp27-cp27m-win_amd64.whl#md5=524
d0f1483a6a8bf49cd807c9028dea8 (from https://pypi.python.org/simple/twisted/) bec
ause it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/85/14/b235c0bbe820b1569fff030
b73f70f007c84d755bc5269ffb0ece34c9d35/Twisted-15.2.1.win-amd64-py2.7.msi#md5=1af
f71fa35b0b91a0371c86eae84247f (from https://pypi.python.org/simple/twisted/); un
known archive format: .msi
    Skipping link https://pypi.python.org/packages/8a/67/e424a012028c83949929e35
4d0827568c448dd42cb87ccb71f3e7e9e2065/Twisted-14.0.0.win32-py2.7.exe#md5=ca9f626
6ee0fa277611a04ceed9b700d (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/8c/5a/8ba28cb583fb190c8d0ca19
8d9263a81870f2fd867492bec0d489ab9376c/Twisted-11.1.0.win32-py2.7.msi#md5=97aec12
375dfa1e492c0a4cab6a57f4b (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping https://pypi.python.org/packages/8e/cd/7cacf94e4802b90b1da00c5b970b
c251d9edd9e5ae8b5401efce0cfcae69/Twisted-14.0.2-cp27-none-win_amd64.whl#md5=c833
76b4e498080d831203ffa4bcc490 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping https://pypi.python.org/packages/92/2e/21a67bdfb6b39bced29df11d0c50
f76db605499d7d74b0a49a92a9f637bd/Twisted-14.0.2-cp27-none-win32.whl#md5=33730a93
acdccd5640c6373110989b0e (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Found link https://pypi.python.org/packages/93/ba/83fe91c2f6c613d53ce65d89b5
0620fc760d698a2f66b6b80147118a5c0f/Twisted-16.0.0.tar.bz2#md5=c6aa35e9a1e40fce67
97247f39647d2a (from https://pypi.python.org/simple/twisted/), version: 16.0.0
    Skipping link https://pypi.python.org/packages/95/44/b81aeca708d266f8556ec34
841ee87abb44539a9d509ef7bdbb2376b430b/Twisted-13.1.0.win32-py2.7.msi#md5=24c315f
31769a9e64841c41021f41290 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Found link https://pypi.python.org/packages/96/1c/7488a008101dcc3646ac6d98ce
e3021875d0a300c76fe960e080b06c47ff/Twisted-12.2.0.tar.bz2#md5=9a321b904d01efd695
079f8484b37861 (from https://pypi.python.org/simple/twisted/), version: 12.2.0
    Found link https://pypi.python.org/packages/98/24/ee3735c90133d9f68763d777e1
ffa6dda1f77a285565f2bc146ae2f95c1f/Twisted-16.1.0.tar.bz2#md5=30c68dc16dab90fc8e
ba6f3fc5de6611 (from https://pypi.python.org/simple/twisted/), version: 16.1.0
    Skipping link https://pypi.python.org/packages/99/9b/b1a61a7f28fe6d4716225bf
a23b062e8731eba70e210177e8dfab2762cb5/Twisted-12.1.0.win32-py2.5.msi#md5=81d42c2
baae387ab9b895cdd77bb58ff (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping https://pypi.python.org/packages/9b/9f/175326907fa40297a02363a901f8
d913f0d7c0295d4a04ca105c1d492e6d/Twisted-13.2.0-cp27-none-win_amd64.whl#md5=1f11
241a88da471d9b045c4acca5a060 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/9e/d1/45dd25c18ce24f774da579e
73779f851c4644535f84f14df9e8675e44057/Twisted-13.2.0.win32-py2.7.msi#md5=f082a5e
992e3fe787d6528b16239d0d4 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping https://pypi.python.org/packages/a0/34/e0dfdbf5effb99b0541dfd2e87ae
76e0127be5cdffe542bc23d065dc9b25/Twisted-16.3.2-cp27-none-win_amd64.whl#md5=c072
f0740c3b224366929c78632f8804 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/a0/ef/f79a2fdedc3ac2e3be5cff9
c10be98c51f63a1a8735320b06dc671bdc646/Twisted-11.1.0.win32-py2.5.msi#md5=b568b50
4524fda2440c62aa1616b3fe5 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Found link https://pypi.python.org/packages/a1/78/179889e5cdb8f887595bc714dc
277aff6ab46029ded5595098420aed7613/Twisted-11.0.0.tar.bz2#md5=d7f94a1609a1b8f3b8
c8d0146d4cfe54 (from https://pypi.python.org/simple/twisted/), version: 11.0.0
    Skipping link https://pypi.python.org/packages/a2/4d/5725cb1983414c63de98c6b
1d216f99a82106063f0724f5938214fd679ee/Twisted-12.0.0.win32-py2.5.msi#md5=efc7a67
6bcc657986ea94febff6b70fe (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping link https://pypi.python.org/packages/a4/a6/4e6d181c97be71a40a58761
a47ce59a47eb421c0fafd967541a062b406e4/Twisted-12.1.0.win32-py2.7.exe#md5=df77418
2aa8ccaa517d10455c0e8ac88 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping https://pypi.python.org/packages/a4/b6/1ec831b38d75bd83ae5832e9df2e
58fcba59cee1421b4333b77186b8c152/Twisted-15.1.0-cp27-none-win32.whl#md5=20ffba1e
eb7b01928887eda8717f0e72 (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Found link https://pypi.python.org/packages/a5/2a/992ca64f561580afa7baaef9cd
0f461d124e14c927124917a87b57799939/Twisted-13.2.0.tar.bz2#md5=83fe6c0c911cc1602d
bffb036be0ba79 (from https://pypi.python.org/simple/twisted/), version: 13.2.0
    Found link https://pypi.python.org/packages/a8/17/f425d2160b92f0c9c69964bece
02eab4fc8afb45a7d9a6532c07d81d0610/Twisted-10.0.0.tar.bz2#md5=3b226af1a19b25e3b3
e93cc6edf5e284 (from https://pypi.python.org/simple/twisted/), version: 10.0.0
    Skipping link https://pypi.python.org/packages/ab/bb/4a5d38da3e823876e380d4f
087f620ec8214aee50121063b99a0932c8f15/Twisted-14.0.1.win-amd64-py2.7.msi#md5=f4f
91e51f635946d49608696a5f386d4 (from https://pypi.python.org/simple/twisted/); un
known archive format: .msi
    Skipping link https://pypi.python.org/packages/ac/7b/a3cbc62dbc36bc277d80539
8ac2cc421fa0fb3aff5610f424087382bd857/Twisted-12.0.0.win32-py2.7.exe#md5=ad91696
7f80eb3bd0e6b704bb8d00a56 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/ac/f1/82178af5cc892eec5a0e66c
cfb759d896d67802862cae2ef85797dd16014/Twisted-15.3.0.win32-py2.7.exe#md5=a76c2a2
4773ebc0305e336de9cb48bcf (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping https://pypi.python.org/packages/ae/2c/2a7a87e4a1880710f04e0c6ac7db
1fa589bcf39209b274e1d77bf419e7c8/Twisted-15.4.0-cp27-none-win32.whl#md5=cc087d83
182ff7814bfb71aa90eaf778 (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Skipping https://pypi.python.org/packages/b4/36/94ef928ddcd31e6e3e4aed828f61
69086115b42c264fb0f4132e7ebe7f04/Twisted-16.2.0-cp27-none-win_amd64.whl#md5=8f85
85a497252fe1b37303c81adc3a89 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/b4/96/abc8938fa7c9754aebe8e3b
fc1ae5bc985141458ec6dbcef4db197eaf2e6/Twisted-15.2.1.win32-py2.7.msi#md5=5415711
4060e518d9f1e8be792100fda (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping https://pypi.python.org/packages/b6/48/68e16e8acd7fd7dc121697bcfa24
ec09b7c6d0fa3911a5ce9e21334897e5/Twisted-16.1.0-cp27-none-win_amd64.whl#md5=8421
fc431238c187b23625c379610423 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/b6/74/e95ca62b9917c9724a74dd4
80cfa4b303e7bae1c6948fed87f62a394392a/Twisted-12.2.0.win32-py2.6.exe#md5=0562b18
e60f6be4bb021f4f0cc1e5578 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Found link https://pypi.python.org/packages/b7/c3/bf81048b2adb01de6907d8d039
732aed17d6c69755fc4b59f0e4bc1641a6/Twisted-15.3.0.tar.bz2#md5=b58e83da2f00b3352a
fad74d0c5c4599 (from https://pypi.python.org/simple/twisted/), version: 15.3.0
    Found link https://pypi.python.org/packages/bc/80/cf22b13ec4ae76a0277a1e2534
4bf850cb0768a2c4f7959363c805207453/Twisted-16.5.0rc2.tar.bz2#md5=0897017c92fee57
fac313b9577584e57 (from https://pypi.python.org/simple/twisted/), version: 16.5.
0rc2
    Skipping https://pypi.python.org/packages/c0/4f/845b220cdbe697ad9ea8800fd76b
66a752baed4179961d8b2d527ec85924/Twisted-15.3.0-cp27-none-win_amd64.whl#md5=aa55
20f581518cfa7ae0e8a34c404238 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/c0/7c/c1e5b61e30b7ffc96576d2a922
615c8068e6996a622be813fc626cef07aa/Twisted-16.3.0.tar.bz2#md5=e044af844623e9fbcb
e29f578db6053a (from https://pypi.python.org/simple/twisted/), version: 16.3.0
    Skipping link https://pypi.python.org/packages/c1/e7/1c285b2e25352beda750abf
fdb8560e92865773349f01077e3fd86b6879e/Twisted-12.2.0.win32-py2.7.exe#md5=dcfe43e
16f79a823e53f5d136538c15b (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/c3/a1/4fee601a6c9f163a285676d
dbf06565b437a87de1f280a5a9b1f626c3f71/Twisted-14.0.0.win-amd64-py2.7.exe#md5=1d9
f908700c1c36267e3c3f293db3048 (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Found link https://pypi.python.org/packages/c7/82/c71021c15625960e11b32cdba7
c93bf9cdf79b9fe4f0a2dcde3a97ffcad3/Twisted-11.1.0.tar.bz2#md5=972f3497e6e19318c7
41bf2900ffe31c (from https://pypi.python.org/simple/twisted/), version: 11.1.0
    Skipping https://pypi.python.org/packages/c7/93/5389f558955d130b05e5885504a7
46d08a2ffc7240353b87942b74a2cd59/Twisted-14.0.0-cp27-none-win32.whl#md5=66ee0f5c
9ff2de6080e40620007bb003 (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Skipping https://pypi.python.org/packages/c8/10/e8cebffb83c4deb35a11f75b19f4
754f6a8ee0c95f231c0b7275f7f8dd9c/Twisted-15.2.0-cp27-none-win32.whl#md5=fb493451
8193132c98b6d22ac4c3bdcf (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Skipping https://pypi.python.org/packages/c9/4f/e72801dfefe7e5ade208d78be9ff
ebc4bab43d401cc14bdef7eec4fe19b4/Twisted-14.0.1-cp27-none-win32.whl#md5=2dca5bdc
27149c09ae6f076de84aad80 (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cb/70/a98cb73348370d0fa1e9c15eaaa8
8fd54515a337b5c5a335c009be642d57/Twisted-15.1.0-cp27-none-win_amd64.whl#md5=7ad1
35e06b2fc6cc8bc7d56ad8b8419f (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/ce/1b/1563ef82c2103ee937a7880048
6812da511e31e51b70870183ba82123a7c/Twisted-15.2.1.tar.bz2#md5=4be066a899c714e18a
f1ecfcb01cfef7 (from https://pypi.python.org/simple/twisted/), version: 15.2.1
    Found link https://pypi.python.org/packages/d1/d2/75b77dd5305141e274739c7a68
e4116a4db4e459bfe33af3294acb24e908/Twisted-15.4.0.tar.bz2#md5=5337ffb6aeeff37909
81a2cd56db9655 (from https://pypi.python.org/simple/twisted/), version: 15.4.0
    Found link https://pypi.python.org/packages/d2/5d/ed5071740be94da625535f4333
793d6fd238f9012f0fee189d0c5d00bd74/Twisted-17.1.0.tar.bz2#md5=5b4b9ea5a480bec9c1
449ffb57b2052a (from https://pypi.python.org/simple/twisted/), version: 17.1.0
    Skipping link https://pypi.python.org/packages/d3/1f/48003898c05c9ac6962ce55
6e516516f2e6b2bc20853977e9ee1df2c1142/Twisted-12.0.0.win32-py2.7.msi#md5=f59fe25
aa4998bb16a772627b276f8eb (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping link https://pypi.python.org/packages/d3/89/ed149bfd4797026e68df771
906922d2ccdf49c5500426b7218eac1717e36/Twisted-12.1.0.win32-py2.5.exe#md5=43d9bfe
f58994bf203504e97d5baa51a (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/d4/79/32e21b01b5a77899c0434da
48b990126cfb5fc7b5b04ff0acddbfe6f3ee4/Twisted-12.1.0.win-amd64-py2.7.exe#md5=bb9
65f30841ab75ba9afd371553ea8b9 (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Skipping https://pypi.python.org/packages/d4/92/835ee1d9da7c5607a8b9e763b3a3
794a09496fe14a7c509870993dc0ffad/Twisted-15.3.0-cp27-none-win32.whl#md5=8444cc8e
2cc21af29e75ede078fc98d4 (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Skipping https://pypi.python.org/packages/d7/77/96bbbf1774f75949d63427308aca
8748a4f98a792c46814fb55628677039/Twisted-13.1.0-cp27-none-win32.whl#md5=43b5b99b
fbe6ccacd5893080158d728f (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Found link https://pypi.python.org/packages/d9/86/7534c07ed864ae9d63643e90d8
7922bd2fffbead7cd6360815c9c7f5107f/Twisted-16.3.1.tar.bz2#md5=1fbba09c8b691c99c2
53b5582bd7f4dd (from https://pypi.python.org/simple/twisted/), version: 16.3.1
    Skipping link https://pypi.python.org/packages/db/c8/23c1a99e512a1cf879c7c4f
6a3788615265ae20b4cac9fd485aa48d9dfcd/Twisted-10.2.0.winxp32-py2.5.msi#md5=2a81d
b624295854e6dc9d396404099ee (from https://pypi.python.org/simple/twisted/); unkn
own archive format: .msi
    Skipping link https://pypi.python.org/packages/dc/bd/4d4c004dec6d6bc3615fe19
3d88598cba672f100b84a94d475ba252db726/Twisted-12.3.0.win32-py2.7.msi#md5=6b778f5
201b622a5519a2aca1a2fe512 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Found link https://pypi.python.org/packages/dc/c0/a0114a6d7fa211c0904b0de931
e8cafb5210ad824996cc6a9d67f3bae22c/Twisted-16.6.0.tar.bz2#md5=54a88ffe773d5a83c9
1fcfe86044b094 (from https://pypi.python.org/simple/twisted/), version: 16.6.0
    Skipping link https://pypi.python.org/packages/dd/40/82d58f6afcbbeff0a3218eb
f8a07032625c3945ce3b124f1b543f1386d98/Twisted-15.2.0.win32-py2.7.msi#md5=2db96d0
bb3ff9178c0a08c210fba26f9 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping https://pypi.python.org/packages/de/21/47d982d350678b2f5a8a17ed80a4
2469c74769e6ed64c55ded34d2b003b7/Twisted-16.3.0-cp27-none-win_amd64.whl#md5=604e
3fcffc004f47fdc3bbcb60afc60a (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/de/75/7495f210c6bb6af33a09f81f5f
351a47f12b9989ee8e3c4623e95ece3c97/Twisted-15.5.0.tar.bz2#md5=0831d7c90d0020062d
e0f7287530a285 (from https://pypi.python.org/simple/twisted/), version: 15.5.0
    Skipping link https://pypi.python.org/packages/df/29/6aef0a137364b43c11a76c0
e04c5492aba6b91f262e39437c03269b547cb/Twisted-12.0.0.win32-py2.6.msi#md5=eba5a9a
07818119afb85f1e63a82b101 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping https://pypi.python.org/packages/e6/a6/8633664861f08f1e24e31160206c
f929394f74ccec9fe3e2d6988e873d22/Twisted-13.2.0-cp27-none-win32.whl#md5=23201f26
ae2fd5cca62045a8a734bb03 (from https://pypi.python.org/simple/twisted/) because
it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/e8/a2/95cfa0d283335b889d729aa
6817dafd3668bca81c780d68e8ab3d5f87809/Twisted-10.1.0.winxp32-py2.6.msi#md5=bab46
11abfdd63fc92424f4afa1e2865 (from https://pypi.python.org/simple/twisted/); unkn
own archive format: .msi
    Skipping link https://pypi.python.org/packages/e9/02/5bfd45342c8ae1fd30bdeb2
4700d51fdea91288144f638f16aae571f6366/Twisted-15.2.1.win32-py2.7.exe#md5=54d71f4
b56106541a1feb3306a0a72c7 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/eb/bc/7b6115f80824464ead5ff45
63fd28b0f70a176b826fb69d3adf0cc1a0f68/Twisted-15.4.0.win-amd64-py2.7.exe#md5=600
77a6207955d2f551488a17845854c (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Skipping link https://pypi.python.org/packages/ec/4b/739bbcaa4c4092cc865f3ae
1c313dfe20b94b1af0d8a358969288bd09a42/Twisted-15.4.0.win-amd64-py2.7.msi#md5=eb1
e87e85fd73b8e2e8953e45d8e654c (from https://pypi.python.org/simple/twisted/); un
known archive format: .msi
    Skipping https://pypi.python.org/packages/ec/50/6707352c0117b63b41443f390131
e8f170749d2d397db43754146117d0e6/Twisted-15.5.0-cp27-none-win_amd64.whl#md5=ccc7
2a050d1e2089180d61fe77babe49 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Skipping link https://pypi.python.org/packages/ed/00/a30591b6a9a9a2a3b345a14
9c3b2d521e70f338e63bef670ef5751454fbf/Twisted-10.2.0.winxp32-py2.6.msi#md5=ded94
c0e8d460daf3631378bb58331c5 (from https://pypi.python.org/simple/twisted/); unkn
own archive format: .msi
    Found link https://pypi.python.org/packages/ee/50/224854b4730f4daa941b8bcc48
34a15bfee3012dad663fa760a89210df2c/Twisted-16.5.0.tar.bz2#md5=79929fae9968c4b9da
f518a5c0c075d7 (from https://pypi.python.org/simple/twisted/), version: 16.5.0
    Skipping link https://pypi.python.org/packages/ee/91/d94cdbf373040079377994d
9406f630283663877792e1f2765f0b55402ba/Twisted-12.0.0.win32-py2.6.exe#md5=ce856f4
cc995fccd7fa9a0f35f7d0117 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/f0/8f/90ce9b5f6565e78417b664c
adc1e7f94a7177fac1ca02e48f8734b232f31/Twisted-15.1.0.win-amd64-py2.7.exe#md5=a94
a3b39fecaaa06326f61a7ffca4e85 (from https://pypi.python.org/simple/twisted/); un
known archive format: .exe
    Skipping https://pypi.python.org/packages/f7/23/61cec96a6d5da56094159b66b19a
80e9c4e13b3645d227f50fb666c09699/Twisted-14.0.1-cp27-none-win_amd64.whl#md5=275f
06c532636106fcdc39624f293897 (from https://pypi.python.org/simple/twisted/) beca
use it is not compatible with this Python
    Found link https://pypi.python.org/packages/f9/80/50b40d787ee26af3062eb83b9a
57fa3bdb5e0417f6a3047fffdbd09de6d9/Twisted-10.2.0.tar.bz2#md5=73da62c793269eade8
121da336b01ba5 (from https://pypi.python.org/simple/twisted/), version: 10.2.0
    Skipping link https://pypi.python.org/packages/f9/9f/a5bd9116bd5120115b4f27e
5ebfe5557e2248c722f3ea91a5e42d8b60c7f/Twisted-14.0.2.win32-py2.7.msi#md5=e5f2399
87f3b5efbec41e6224bf982cb (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .msi
    Skipping link https://pypi.python.org/packages/fa/4d/51ccf2362e5359cfb720b92
23fb6e7cbd3bf10356959f82841bf921e04fa/Twisted-14.0.2.win-amd64-py2.7.msi#md5=03e
97b3f7838a0b726eff2843c4ccde6 (from https://pypi.python.org/simple/twisted/); un
known archive format: .msi
    Skipping link https://pypi.python.org/packages/fc/47/959fccc34c200b17dc635ef
e3fe4add01db01ed59e4da8ee60b6f5bb3096/Twisted-15.4.0.win32-py2.7.exe#md5=805857c
6ecbb2c36a17c7879f8199700 (from https://pypi.python.org/simple/twisted/); unknow
n archive format: .exe
    Skipping link https://pypi.python.org/packages/fc/7f/6c81174017a0d4cb1296cde
cc196b9be38fa399c6c65e84f0979456b649c/Twisted-15.2.0.win-amd64-py2.7.msi#md5=fd4
2c7c9d99391b6f8d84a9fc3070124 (from https://pypi.python.org/simple/twisted/); un
known archive format: .msi
  Ignoring link https://pypi.python.org/packages/00/ea/6e50396d390aedf4af6e5ceff
74a8885ae0bae741c5e22f72e5ec19832ff/Twisted-10.1.0.tar.bz2#md5=04cca97506e830074
cffc1965297da3f (from https://pypi.python.org/simple/twisted/), version 10.1.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/04/6f/ff8d5b822bed8d7fc23518e71
d1d3eb70e0f348a4045e48a52258bd29493/Twisted-12.0.0.tar.bz2#md5=cf49a8676c21c50fa
f1b42b528049471 (from https://pypi.python.org/simple/twisted/), version 12.0.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/06/0f/0e1ee4d4739aa81d9b5938709
85f2997825915e704d487d24de44e12b370/Twisted-12.3.0.tar.bz2#md5=6e289825f3bf5591c
fd670874cc0862d (from https://pypi.python.org/simple/twisted/), version 12.3.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/0c/3e/55d4812013c740c5b9bef073e
73286558e1c7b07443f3ff4759f888e1782/Twisted-12.1.0.tar.bz2#md5=f396f1d6f5321e869
c2f89b2196a9eb5 (from https://pypi.python.org/simple/twisted/), version 12.1.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/0d/c6/bf1b39abf27d3761fc88cac4f
b85379ad3d2a4872c5861f368d3a10049d6/Twisted-16.3.2.tar.bz2#md5=0b1b26724ebc0fe3d
65a9779f12319a5 (from https://pypi.python.org/simple/twisted/), version 16.3.2 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/0f/88/18bb0eddb483033e35b1b84bd
f9de4cedb8906ece178e2d921451282b3c8/Twisted-14.0.2.tar.bz2#md5=8379eb15601d6b754
3a189594d3fed8f (from https://pypi.python.org/simple/twisted/), version 14.0.2 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/10/38/0d1988d53f140ec99d37ac28c
04f341060c2f2d00b0a901bf199ca6ad984/Twisted-13.1.0.tar.bz2#md5=5609c91ed465f5a7d
a48d30a0e7b6960 (from https://pypi.python.org/simple/twisted/), version 13.1.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/16/f4/bf46dded2b140c441a83002b5
bbff99988f31177f08809b433effdc1d508/Twisted-16.7.0rc2.tar.bz2#md5=d72985e0ada43e
a457b32584bd856993 (from https://pypi.python.org/simple/twisted/), version 16.7.
0rc2 doesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/18/85/eb7af503356e933061bf12200
33c3a85bad0dbc5035dfd9a97f1e900dfcb/Twisted-16.2.0.tar.bz2#md5=8b35a88d5f1a4bfd7
62a008968fddabf (from https://pypi.python.org/simple/twisted/), version 16.2.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/22/58/9797771b2ce534fa6eb2b9d48
263d76cabfbdae646e9692a7381ce9a7ced/Twisted-15.2.0.tar.bz2#md5=84a4087401f6fa1dc
022025139db1fec (from https://pypi.python.org/simple/twisted/), version 15.2.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/27/8a/1111be0b44800e617a2fe9507
32e1fa78546aa8e52768691c050ce86556b/Twisted-16.5.0rc1.tar.bz2#md5=17badb43637a68
3d3d6dc76f4fa150b8 (from https://pypi.python.org/simple/twisted/), version 16.5.
0rc1 doesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/2b/1f/9f1769bfd9d25547dc7f98e52
73c638d379f1b2ef368a8b270de675fe714/Twisted-16.1.1.tar.bz2#md5=266a085f5ce3fbc06
0818bd00bd6a888 (from https://pypi.python.org/simple/twisted/), version 16.1.1 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/36/c0/e2d21954a2774fc2ee2d76bb6
e4cad4a09d980786b71881894860b4f020d/Twisted-16.4.0.tar.bz2#md5=688aa3dc9ef31aa01
2b76cca54129b38 (from https://pypi.python.org/simple/twisted/), version 16.4.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/38/70/0915eb7c258bdd01c84df2a0b
4df3dccb3852f183b28052fdee2274a8e2c/Twisted-16.7.0rc1.tar.bz2#md5=dc9c7fb33ef409
948d48a8f940b00705 (from https://pypi.python.org/simple/twisted/), version 16.7.
0rc1 doesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/3b/b0/c4cafea9ab2e31aa15556eddc
151ba987e130cb347b753d991aa2ace768a/Twisted-9.0.0.tar.bz2#md5=93fc2756a09ffd1350
c046cc940e4311 (from https://pypi.python.org/simple/twisted/), version 9.0.0 doe
sn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/44/8b/1c385451255df7d398ce72805
ec8768e546ab34e87f16aef94b76a056bdf/Twisted-17.1.0rc1.tar.bz2#md5=63fa7054c7ad2c
7179b6925c2a32549d (from https://pypi.python.org/simple/twisted/), version 17.1.
0rc1 doesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/5f/14/41881d2f8a4afefed7ad80c9e
cdc0501054f5f981fb43326b20057fb772c/Twisted-14.0.1.tar.bz2#md5=742a97879d63c341b
398bc909bbdcdab (from https://pypi.python.org/simple/twisted/), version 14.0.1 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/6b/23/8dbe86fc83215015e221fbd86
1a545c6ec5c9e9cd7514af114d1f64084ab/Twisted-16.4.1.tar.bz2#md5=c6d09bdd681f53836
9659111f079c29d (from https://pypi.python.org/simple/twisted/), version 16.4.1 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/76/38/cf8f81c1d7d84fec922d67f0d
92bfa9fee59145d875d7263ceefa2bbbaf4/Twisted-14.0.0.tar.bz2#md5=9625c094e0a18da77
faa4627b98c9815 (from https://pypi.python.org/simple/twisted/), version 14.0.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/76/4a/842a0be05183114b15d7e127d
a3de3a20c4170b4a05744665319484c40ea/Twisted-13.0.0.tar.bz2#md5=68afff4e1efd3757d
934e39f70c99f57 (from https://pypi.python.org/simple/twisted/), version 13.0.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/76/9a/ed7a9cabefd919c861249d39d
11111d5d8fba2e8d0b2a1bce7ee8933a8fd/Twisted-15.0.0.tar.bz2#md5=f52bfe112a3aa33dd
1d323c7c1e99f16 (from https://pypi.python.org/simple/twisted/), version 15.0.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/7c/a6/9f2044e57f9e8ee203ebec514
3c369500b692943f5f2c53161d25f9c5b86/Twisted-15.1.0.tar.bz2#md5=df65e3da0bee81140
e7637156802a518 (from https://pypi.python.org/simple/twisted/), version 15.1.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/7d/11/6f06a890249c36076d531c944
68b0d250da87ce31c95e71149726b094001/Twisted-2.1.0.tar.bz2#md5=0aa4b877c4e34750e5
2c9f0b93959913 (from https://pypi.python.org/simple/twisted/), version 2.1.0 doe
sn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/83/70/72e66ff483ab2cdd085082d5b
88745cbec39a667a10a8b0d978749c1d615/Twisted-16.6.0rc1.tar.bz2#md5=32533e37c94480
2566e002ccdeefbd9b (from https://pypi.python.org/simple/twisted/), version 16.6.
0rc1 doesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/93/ba/83fe91c2f6c613d53ce65d89b
50620fc760d698a2f66b6b80147118a5c0f/Twisted-16.0.0.tar.bz2#md5=c6aa35e9a1e40fce6
797247f39647d2a (from https://pypi.python.org/simple/twisted/), version 16.0.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/96/1c/7488a008101dcc3646ac6d98c
ee3021875d0a300c76fe960e080b06c47ff/Twisted-12.2.0.tar.bz2#md5=9a321b904d01efd69
5079f8484b37861 (from https://pypi.python.org/simple/twisted/), version 12.2.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/98/24/ee3735c90133d9f68763d777e
1ffa6dda1f77a285565f2bc146ae2f95c1f/Twisted-16.1.0.tar.bz2#md5=30c68dc16dab90fc8
eba6f3fc5de6611 (from https://pypi.python.org/simple/twisted/), version 16.1.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/a1/78/179889e5cdb8f887595bc714d
c277aff6ab46029ded5595098420aed7613/Twisted-11.0.0.tar.bz2#md5=d7f94a1609a1b8f3b
8c8d0146d4cfe54 (from https://pypi.python.org/simple/twisted/), version 11.0.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/a5/2a/992ca64f561580afa7baaef9c
d0f461d124e14c927124917a87b57799939/Twisted-13.2.0.tar.bz2#md5=83fe6c0c911cc1602
dbffb036be0ba79 (from https://pypi.python.org/simple/twisted/), version 13.2.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/a8/17/f425d2160b92f0c9c69964bec
e02eab4fc8afb45a7d9a6532c07d81d0610/Twisted-10.0.0.tar.bz2#md5=3b226af1a19b25e3b
3e93cc6edf5e284 (from https://pypi.python.org/simple/twisted/), version 10.0.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/b7/c3/bf81048b2adb01de6907d8d03
9732aed17d6c69755fc4b59f0e4bc1641a6/Twisted-15.3.0.tar.bz2#md5=b58e83da2f00b3352
afad74d0c5c4599 (from https://pypi.python.org/simple/twisted/), version 15.3.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/bc/80/cf22b13ec4ae76a0277a1e253
44bf850cb0768a2c4f7959363c805207453/Twisted-16.5.0rc2.tar.bz2#md5=0897017c92fee5
7fac313b9577584e57 (from https://pypi.python.org/simple/twisted/), version 16.5.
0rc2 doesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/c0/7c/c1e5b61e30b7ffc96576d2a92
2615c8068e6996a622be813fc626cef07aa/Twisted-16.3.0.tar.bz2#md5=e044af844623e9fbc
be29f578db6053a (from https://pypi.python.org/simple/twisted/), version 16.3.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/c7/82/c71021c15625960e11b32cdba
7c93bf9cdf79b9fe4f0a2dcde3a97ffcad3/Twisted-11.1.0.tar.bz2#md5=972f3497e6e19318c
741bf2900ffe31c (from https://pypi.python.org/simple/twisted/), version 11.1.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/ce/1b/1563ef82c2103ee937a788004
86812da511e31e51b70870183ba82123a7c/Twisted-15.2.1.tar.bz2#md5=4be066a899c714e18
af1ecfcb01cfef7 (from https://pypi.python.org/simple/twisted/), version 15.2.1 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/d1/d2/75b77dd5305141e274739c7a6
8e4116a4db4e459bfe33af3294acb24e908/Twisted-15.4.0.tar.bz2#md5=5337ffb6aeeff3790
981a2cd56db9655 (from https://pypi.python.org/simple/twisted/), version 15.4.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/d2/5d/ed5071740be94da625535f433
3793d6fd238f9012f0fee189d0c5d00bd74/Twisted-17.1.0.tar.bz2#md5=5b4b9ea5a480bec9c
1449ffb57b2052a (from https://pypi.python.org/simple/twisted/), version 17.1.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/d9/86/7534c07ed864ae9d63643e90d
87922bd2fffbead7cd6360815c9c7f5107f/Twisted-16.3.1.tar.bz2#md5=1fbba09c8b691c99c
253b5582bd7f4dd (from https://pypi.python.org/simple/twisted/), version 16.3.1 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/de/75/7495f210c6bb6af33a09f81f5
f351a47f12b9989ee8e3c4623e95ece3c97/Twisted-15.5.0.tar.bz2#md5=0831d7c90d0020062
de0f7287530a285 (from https://pypi.python.org/simple/twisted/), version 15.5.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/ee/50/224854b4730f4daa941b8bcc4
834a15bfee3012dad663fa760a89210df2c/Twisted-16.5.0.tar.bz2#md5=79929fae9968c4b9d
af518a5c0c075d7 (from https://pypi.python.org/simple/twisted/), version 16.5.0 d
oesn't match ==16.6.0
  Ignoring link https://pypi.python.org/packages/f9/80/50b40d787ee26af3062eb83b9
a57fa3bdb5e0417f6a3047fffdbd09de6d9/Twisted-10.2.0.tar.bz2#md5=73da62c793269eade
8121da336b01ba5 (from https://pypi.python.org/simple/twisted/), version 10.2.0 d
oesn't match ==16.6.0
  Downloading from URL https://pypi.python.org/packages/dc/c0/a0114a6d7fa211c090
4b0de931e8cafb5210ad824996cc6a9d67f3bae22c/Twisted-16.6.0.tar.bz2#md5=54a88ffe77
3d5a83c91fcfe86044b094 (from https://pypi.python.org/simple/twisted/)
  Running setup.py (path:/tmp/pip-build-RptgbL/twisted/setup.py) egg_info for pa
ckage twisted
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", li
ne 14, in <module>
        from setuptools.command.sdist import sdist
      File "/usr/lib/python2.7/dist-packages/setuptools/command/sdist.py", line
9, in <module>
        from setuptools import svn_utils
      File "/usr/lib/python2.7/dist-packages/setuptools/svn_utils.py", line 5, i
n <module>
        import xml.dom.pulldom
      File "/usr/lib/python2.7/xml/dom/__init__.py", line 139, in <module>
        from domreg import getDOMImplementation,registerDOMImplementation
      File "/usr/lib/python2.7/xml/dom/domreg.py", line 5, in <module>
        from xml.dom.minicompat import *  # isinstance, StringTypes
      File "/usr/lib/python2.7/xml/dom/minicompat.py", line 27
    SyntaxError: Non-ASCII character '\xec' in file /usr/lib/python2.7/xml/dom/m
inicompat.py on line 27, but no encoding declared; see http://python.org/dev/pep
s/pep-0263/ for details
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 3, in <module>

  File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 1
4, in <module>

    from setuptools.command.sdist import sdist

  File "/usr/lib/python2.7/dist-packages/setuptools/command/sdist.py", line 9, i
n <module>

    from setuptools import svn_utils

  File "/usr/lib/python2.7/dist-packages/setuptools/svn_utils.py", line 5, in <m
odule>

    import xml.dom.pulldom

  File "/usr/lib/python2.7/xml/dom/__init__.py", line 139, in <module>

    from domreg import getDOMImplementation,registerDOMImplementation

  File "/usr/lib/python2.7/xml/dom/domreg.py", line 5, in <module>

    from xml.dom.minicompat import *  # isinstance, StringTypes

  File "/usr/lib/python2.7/xml/dom/minicompat.py", line 27

SyntaxError: Non-ASCII character '\xec' in file /usr/lib/python2.7/xml/dom/minic
ompat.py on line 27, but no encoding declared; see http://python.org/dev/peps/pe
p-0263/ for details

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-Rptg
bL/twisted
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 290, in
run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundl
e=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1230, in prepare_file
s
    req_to_install.run_egg_info()
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 326, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/lib/python2.7/dist-packages/pip/util.py", line 716, in call_subproc
ess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in
/tmp/pip-build-RptgbL/twisted
pi@TRP2HP:~/dshield $

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

maybe you can try to update setuptools:
your version: 5.5.1
mine: 34.3.3

sudo pip install setuptools --upgrade
should do

then pls retry:
sudo /etc/init.d/cowrie stop
cd dshield
sudo bin/install.sh

fingers crossed

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

for the record: here is my list:

appdirs (1.4.3)
argparse (1.2.1)
asn1crypto (0.22.0)
attrs (16.3.0)
Automat (0.5.0)
cffi (1.10.0)
characteristic (0.1.0)
chardet (2.3.0)
colorama (0.3.2)
configparser (3.5.0)
constantly (15.1.0)
cryptography (1.8.1)
enum34 (1.1.6)
gmpy (1.15)
gmpy2 (2.0.3)
html5lib (0.999)
idna (2.5)
incremental (16.10.1)
ipaddress (1.0.18)
MySQL-python (1.2.3)
ndg-httpsclient (0.3.2)
packaging (16.8)
PAM (0.4.2)
pip (1.5.6)
pyasn1 (0.2.3)
pyasn1-modules (0.0.8)
pycparser (2.17)
pycrypto (2.6.1)
pyOpenSSL (16.2.0)
pyparsing (2.2.0)
pyserial (2.6)
python-apt (0.9.3.12)
python-dateutil (2.6.0)
requests (2.4.3)
RPi.GPIO (0.6.3)
service-identity (1.0.0)
setuptools (34.3.3)
six (1.10.0)
tftpy (0.6.2)
Twisted (16.6.0)
Twisted-Conch (14.0.2)
Twisted-Core (14.0.2)
Twisted-Lore (14.0.2)
Twisted-Mail (14.0.2)
Twisted-Names (14.0.2)
Twisted-News (14.0.2)
Twisted-Runner (14.0.2)
Twisted-Web (14.0.2)
Twisted-Words (14.0.2)
urllib3 (1.9.1)
virtualenv (1.11.6)
wheel (0.24.0)
wsgiref (0.1.2)
zope.interface (4.3.3)

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Sigh.. no joy :(

pi@TRP2HP:~/dshield $ sudo pip install setuptools --upgrade
Downloading/unpacking setuptools from https://pypi.python.org/packages/ff/96/5e917753dbdd7b28217c1068d9e3fbe54a7ef0ff3a6411d0cc81faf37070/setuptools-35.0.0-py2.py3-none-any.whl#md5=7d7a1f3deae0691b23373a08373b4891
  Downloading setuptools-35.0.0-py2.py3-none-any.whl (390kB): 390kB downloaded
Downloading/unpacking appdirs>=1.4.0 (from setuptools)
  Downloading appdirs-1.4.3-py2.py3-none-any.whl
Downloading/unpacking six>=1.6.0 from https://pypi.python.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl#md5=3ab558cf5d4f7a72611d59a81a315dc8 (from setuptools)
  Downloading six-1.10.0-py2.py3-none-any.whl
Downloading/unpacking packaging>=16.8 (from setuptools)
  Downloading packaging-16.8-py2.py3-none-any.whl
Downloading/unpacking pyparsing (from packaging>=16.8->setuptools)
  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB): 56kB downloaded
Installing collected packages: setuptools, appdirs, six, packaging, pyparsing
  Found existing installation: setuptools 5.5.1
    Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, owned by OS
  Found existing installation: six 1.8.0
    Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed setuptools appdirs six packaging pyparsing
Cleaning up...
pi@TRP2HP:~/dshield $ sudo pip list
appdirs (1.4.3)
argparse (1.2.1)
characteristic (0.1.0)
chardet (2.3.0)
colorama (0.3.2)
gmpy (1.15)
gmpy2 (2.0.3)
html5lib (0.999)
MySQL-python (1.2.3)
ndg-httpsclient (0.3.2)
packaging (16.8)
PAM (0.4.2)
pip (1.5.6)
pyasn1 (0.1.7)
pyasn1-modules (0.0.5)
pycrypto (2.6.1)
pyOpenSSL (0.13.1)
pyparsing (2.2.0)
pyserial (2.6)
python-apt (0.9.3.12)
python-dateutil (2.5.3)
requests (2.4.3)
RPi.GPIO (0.6.3)
service-identity (1.0.0)
setuptools (35.0.0)
six (1.10.0)
Twisted (14.0.2)
Twisted-Conch (14.0.2)
Twisted-Core (14.0.2)
Twisted-Lore (14.0.2)
Twisted-Mail (14.0.2)
Twisted-Names (14.0.2)
Twisted-News (14.0.2)
Twisted-Runner (14.0.2)
Twisted-Web (14.0.2)
Twisted-Words (14.0.2)
urllib3 (1.9.1)
virtualenv (1.11.6)
wheel (0.24.0)
wsgiref (0.1.2)
zope.interface (4.1.1)
pi@TRP2HP:~/dshield $ sudo /etc/init.d/cowrie stop
[....] Stopping cowrie (via systemctl): cowrie.serviceWarning: Unit file of cowrie.service changed on disk, 'systemctl daemon-reload' recommended.
. ok
pi@TRP2HP:~/dshield $ sudo bin/install.sh
Checking Pre-Requisits
using apt to install packages
Basic security checks
Updating your Installation (this can take a LOOONG time)
...
(selected to reinstall mySQL)
...

(Reading database ... 38468 files and directories currently installed.)
Removing mysql-server (5.5.54-0+deb8u1) ...
Removing mysql-server-5.5 (5.5.54-0+deb8u1) ...
Purging configuration files for mysql-server-5.5 (5.5.54-0+deb8u1) ...
dpkg: warning: while removing mysql-server-5.5, directory '/etc/apparmor.d' not empty so not removed
Removing mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Preconfiguring packages ...
Selecting previously unselected package mysql-server-core-5.5.
(Reading database ... 38289 files and directories currently installed.)
Preparing to unpack .../mysql-server-core-5.5_5.5.54-0+deb8u1_armhf.deb ...
Unpacking mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
Selecting previously unselected package mysql-server-5.5.
Preparing to unpack .../mysql-server-5.5_5.5.54-0+deb8u1_armhf.deb ...
Unpacking mysql-server-5.5 (5.5.54-0+deb8u1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.5.54-0+deb8u1_all.deb ...
Unpacking mysql-server (5.5.54-0+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u6) ...
Setting up mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
Setting up mysql-server-5.5 (5.5.54-0+deb8u1) ...
170418 20:10:07 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
170418 20:10:07 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
170418 20:10:07 [Note] /usr/sbin/mysqld (mysqld 5.5.54-0+deb8u1) starting as process 28465 ...
Setting up mysql-server (5.5.54-0+deb8u1) ...
Processing triggers for systemd (215-17+deb8u6) ...

... validated account settings ...

User cowrie already exists in OS. Making no changes
cowrie mysql database already exists. not touching it.
Adding / updating cowrie user in MySQL.
+ checking cowrie dependency: module 'twisted' ...
  ERR: is installed in v14.0.2 but must at least be v16.6.0, will be updated
Downloading/unpacking twisted==16.6.0
  Downloading Twisted-16.6.0.tar.bz2 (3.0MB): 3.0MB downloaded
  Running setup.py (path:/tmp/pip-build-T0n6GX/twisted/setup.py) egg_info for package twisted
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip-build-T0n6GX/twisted/setup.py", line 21, in <module>
        setuptools.setup(**_setup["getSetupArgs"]())
      File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 318, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 375, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 851, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1123, in best_match
        return self.obtain(req, installer)
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1135, in obtain
        return installer(requirement)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 419, in fetch_build_egg
        from setuptools.command.easy_install import easy_install
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 48, in <module>
        from setuptools.py31compat import get_path, get_config_vars
      File "/usr/local/lib/python2.7/dist-packages/setuptools/py31compat.py", line 2, in <module>
        import unittest
      File "/usr/lib/python2.7/unittest/__init__.py", line 64, in <module>
        from .main import TestProgram, main
      File "/usr/lib/python2.7/unittest/main.py", line 7, in <module>
        from . import loader, runner
      File "/usr/lib/python2.7/unittest/runner.py", line 1
    SyntaxError: Non-ASCII character '\xf4' in file /usr/lib/python2.7/unittest/runner.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip-build-T0n6GX/twisted/setup.py", line 21, in <module>

    setuptools.setup(**_setup["getSetupArgs"]())

  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup

    _setup_distribution = dist = klass(attrs)

  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 318, in __init__

    self.fetch_build_eggs(attrs['setup_requires'])

  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 375, in fetch_build_eggs

    replace_conflicting=True,

  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 851, in resolve

    dist = best[req.key] = env.best_match(req, ws, installer)

  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1123, in best_match

    return self.obtain(req, installer)

  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1135, in obtain

    return installer(requirement)

  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 419, in fetch_build_egg

    from setuptools.command.easy_install import easy_install

  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 48, in <module>

    from setuptools.py31compat import get_path, get_config_vars

  File "/usr/local/lib/python2.7/dist-packages/setuptools/py31compat.py", line 2, in <module>

    import unittest

  File "/usr/lib/python2.7/unittest/__init__.py", line 64, in <module>

    from .main import TestProgram, main

  File "/usr/lib/python2.7/unittest/main.py", line 7, in <module>

    from . import loader, runner

  File "/usr/lib/python2.7/unittest/runner.py", line 1

SyntaxError: Non-ASCII character '\xf4' in file /usr/lib/python2.7/unittest/runner.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-T0n6GX/twisted
Storing debug log for failure in /root/.pip/pip.log
Error upgrading 'twisted'. Aborting.
pi@TRP2HP:~/dshield $ sudo pip list
appdirs (1.4.3)
argparse (1.2.1)
characteristic (0.1.0)
chardet (2.3.0)
colorama (0.3.2)
gmpy (1.15)
gmpy2 (2.0.3)
html5lib (0.999)
MySQL-python (1.2.3)
ndg-httpsclient (0.3.2)
packaging (16.8)
PAM (0.4.2)
pip (1.5.6)
pyasn1 (0.1.7)
pyasn1-modules (0.0.5)
pycrypto (2.6.1)
pyOpenSSL (0.13.1)
pyparsing (2.2.0)
pyserial (2.6)
python-apt (0.9.3.12)
python-dateutil (2.5.3)
requests (2.4.3)
RPi.GPIO (0.6.3)
service-identity (1.0.0)
setuptools (35.0.0)
six (1.10.0)
Twisted (14.0.2)
Twisted-Conch (14.0.2)
Twisted-Core (14.0.2)
Twisted-Lore (14.0.2)
Twisted-Mail (14.0.2)
Twisted-Names (14.0.2)
Twisted-News (14.0.2)
Twisted-Runner (14.0.2)
Twisted-Web (14.0.2)
Twisted-Words (14.0.2)
urllib3 (1.9.1)
virtualenv (1.11.6)
wheel (0.24.0)
wsgiref (0.1.2)
zope.interface (4.1.1)
pi@TRP2HP:~/dshield $

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

just guessing:
what gives
ls -la /usr/lib/python2.7/unittest/runner.py
mine:
-rw-r--r-- 1 root root 6533 Sep 18 2016 /usr/lib/python2.7/unittest/runner.py

and
head /usr/lib/python2.7/unittest/runner.py
mine:

"""Running tests"""

import sys
import time

from . import result
from .signals import registerResult

__unittest = True


from dshield.

ktrue avatar ktrue commented on August 26, 2024

Mine shows

pi@TRP2HP:~/dshield $ ls -la /usr/lib/python2.7/unittest/runner.py
-rw-r--r-- 1 root root 6533 Sep 18  2016 /usr/lib/python2.7/unittest/runner.py
pi@TRP2HP:~/dshield $ head /usr/lib/python2.7/unittest/runner.py
"""Running ▒ests"""

import sys
import uime

from . import result
from signals import registerResult

__unittest =!True

pi@TRP2HP:~/dshield $

from dshield.

ktrue avatar ktrue commented on August 26, 2024

I'm going to try a fresh install from 2017-02-16-raspbian-jessie-lite.img and see what happens...

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Ahh... no joy on fresh install either...

The mail frontend needs a installed 'sendmail', using pager
Preconfiguring packages ...
Selecting previously unselected package libaio1:armhf.
(Reading database ... 38093 files and directories currently installed.)
Preparing to unpack .../libaio1_0.3.110-1_armhf.deb ...
Unpacking libaio1:armhf (0.3.110-1) ...
Selecting previously unselected package mysql-server-core-5.5.
Preparing to unpack .../mysql-server-core-5.5_5.5.54-0+deb8u1_armhf.deb ...
Unpacking mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
Selecting previously unselected package mysql-server-5.5.
Preparing to unpack .../mysql-server-5.5_5.5.54-0+deb8u1_armhf.deb ...
Unpacking mysql-server-5.5 (5.5.54-0+deb8u1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
Unpacking libhtml-template-perl (2.95-1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.5.54-0+deb8u1_all.deb ...
Unpacking mysql-server (5.5.54-0+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u6) ...
Setting up libaio1:armhf (0.3.110-1) ...
Setting up mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
Setting up mysql-server-5.5 (5.5.54-0+deb8u1) ...
170418 14:58:43 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
170418 14:58:43 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
170418 14:58:43 [Note] /usr/sbin/mysqld (mysqld 5.5.54-0+deb8u1) starting as process 25017 ...
Setting up libhtml-template-perl (2.95-1) ...
Setting up mysql-server (5.5.54-0+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Processing triggers for systemd (215-17+deb8u6) ...
rm: cannot remove ‘/tmp/dshieldinstqgS44tF’: No such file or directory
pi@TRP2HP:~/dshield $

from dshield.

jullrich avatar jullrich commented on August 26, 2024

ok. different error at least. I think the error you are seeing was something that was fixed. Are you using the "master" branch or "dev" ?

from dshield.

ktrue avatar ktrue commented on August 26, 2024

I'd done a
git clone https://github.com/DShield-ISC/dshield.git
which I'm assuming comes from the Master, not the Dev version.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

can you pls give a little more context: what was the last action / input from you before the installer crashed?

I don't have a fresh pi at hand, but I'll see what I can do - perhaps I can set aside a little time on the weekend if we can't get it working this way.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

can you pls provide a
df -h
output?

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Sure:

pi@TRP2HP:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.3G  1.3G  5.7G  18% /
devtmpfs        459M     0  459M   0% /dev
tmpfs           463M     0  463M   0% /dev/shm
tmpfs           463M  6.3M  457M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           463M     0  463M   0% /sys/fs/cgroup
/dev/mmcblk0p1   63M   21M   42M  33% /boot
pi@TRP2HP:~ $ 

I'll try another fresh build with Raspbian Jessie Lite
Version: April 2017
Release date: 2017-04-10
Kernel version: 4.4

and see how that goes.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

ok... pls state what happened last before it breaks, thanks

and pls leave the hostname as the default, just for the sake of testing, tnx

from dshield.

jullrich avatar jullrich commented on August 26, 2024

just reinstalled from scratch, and didn't run into this issue.

+ checking cowrie dependency: module 'twisted' ...
  ERR: is installed in v14.0.2 but must at least be v16.6.0, will be updated
Downloading/unpacking twisted==16.6.0
  Downloading Twisted-16.6.0.tar.bz2 (3.0MB): 3.0MB downloaded
  Running setup.py (path:/tmp/pip-build-fwHER9/twisted/setup.py) egg_info for package twisted
    no previously-included directories found matching '.travis'
    no previously-included directories found matching 'tests'
    warning: no previously-included files found matching 'examplesetup.py'
    no previously-included directories found matching 'src/exampleproj'
    no previously-included directories found matching 'src/incremental/newsfragments'

    Installed /tmp/pip-build-fwHER9/twisted/incremental-16.10.1-py2.7.egg

    warning: no previously-included files matching '*.misc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.bugfix' found under directory 'src/twisted'
    warning: no previously-included files matching '*.doc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.feature' found under directory 'src/twisted'
    warning: no previously-included files matching '*.removal' found under directory 'src/twisted'
    warning: no previously-included files matching 'NEWS' found under directory 'src/twisted'
    warning: no previously-included files matching 'README' found under directory 'src/twisted'
    warning: no previously-included files matching 'topfiles' found under directory 'src/twisted'
    warning: no previously-included files found matching 'src/twisted/topfiles/CREDITS'
    warning: no previously-included files found matching 'src/twisted/topfiles/ChangeLog.Old'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files found matching 'appveyor.yml'
    no previously-included directories found matching 'bin'
    no previously-included directories found matching 'admin'
    no previously-included directories found matching '.travis'
    warning: no previously-included files found matching 'docs/historic/2003'
    warning: no previously-included files matching '*' found under directory 'docs/historic/2003'
Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.6.0 in /usr/lib/python2.7/dist-packages (from twisted==16.6.0)
Downloading/unpacking constantly>=15.1 (from twisted==16.6.0)
  Downloading constantly-15.1.0-py2.py3-none-any.whl
Downloading/unpacking incremental>=16.10.1 (from twisted==16.6.0)
  Downloading incremental-16.10.1-py2.py3-none-any.whl
Installing collected packages: twisted, constantly, incremental
  Found existing installation: Twisted 14.0.2
    Not uninstalling Twisted at /usr/lib/python2.7/dist-packages, owned by OS
  Running setup.py install for twisted

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Before the blowup, had just answered dialog with the confirm/caution about the port/subnet being exempted from monitoring on 2222 by pressing enter on keyboard.

I'll leave the hostname alone this pass.. just going to do:

sudo raspi-config
change password
Expand filesystem
enable SSH
reboot

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install git
git clone https://github.com/DShield-ISC/dshield.git

cd dshield
sudo bin/install.sh

and record what happens

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Result:

pi@raspberrypi:~/dshield $ sudo bin/install.sh
Checking Pre-Requisits
using apt to install packages
Basic security checks
Updating your Installation (this can take a LOOONG time)
Installing additional packages
The mail frontend needs a installed 'sendmail', using pager
Extracting templates from packages: 100%

Proceed dialog: Yes

The mail frontend needs a installed 'sendmail', using pager
Preconfiguring packages ...
Selecting previously unselected package libaio1:armhf.
(Reading database ... 38161 files and directories currently installed.)
Preparing to unpack .../libaio1_0.3.110-1_armhf.deb ...
Unpacking libaio1:armhf (0.3.110-1) ...
Selecting previously unselected package mysql-server-core-5.5.
Preparing to unpack .../mysql-server-core-5.5_5.5.54-0+deb8u1_armhf.deb ...
Unpacking mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
Selecting previously unselected package mysql-server-5.5.
Preparing to unpack .../mysql-server-5.5_5.5.54-0+deb8u1_armhf.deb ...
Unpacking mysql-server-5.5 (5.5.54-0+deb8u1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
Unpacking libhtml-template-perl (2.95-1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.5.54-0+deb8u1_all.deb ...
Unpacking mysql-server (5.5.54-0+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u6) ...
Setting up libaio1:armhf (0.3.110-1) ...
Setting up mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
Setting up mysql-server-5.5 (5.5.54-0+deb8u1) ...
170419 16:42:36 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
170419 16:42:36 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
170419 16:42:36 [Note] /usr/sbin/mysqld (mysqld 5.5.54-0+deb8u1) starting as process 24296 ...
Setting up libhtml-template-perl (2.95-1) ...
Setting up mysql-server (5.5.54-0+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Processing triggers for systemd (215-17+deb8u6) ...
rm: cannot remove ‘/tmp/dshieldinstnk8iuTZ’: No such file or directory
pi@raspberrypi:~/dshield $

I don't know if this makes a difference but this is a Raspberry Pi 3 not a 2B.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

I have it running also on a 3 ...

Can you pls state what your choices were and where it broke? I'll add more logging if I can find the time.

from dshield.

ktrue avatar ktrue commented on August 26, 2024

The only choice presented by the install.sh was the "do you want to convert to a honeypot" dialog, and I pressed 'enter' to select Yes. The script died without presenting any other dialogs.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

I ran in several strange python issue with the most recent jessie. To iron out this stuff it will take time.

Could you pls try 2017-03-02-raspbian-jessie-lite ?

change pi password
enable SSH
reboot

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install git
git clone https://github.com/DShield-ISC/dshield.git

cd dshield
sudo bin/install.sh

Thanks.

from dshield.

ktrue avatar ktrue commented on August 26, 2024

I downloaded 2017-03-02-raspbian-jessie-lite.img from download.raspberrypi.org archive, flashed a 8GB SDHC disk and performed the above commands.

Here's the output from the sudo bin/install.sh run:

Did:
sudo raspi-config  (PW, SSH enable)
sudo apt-get update
sudo apt-get upgrade
sudo reboot

sudo apt-get install git

pi@raspberrypi:~ $ git clone https://github.com/DShield-ISC/dshield.git
Cloning into 'dshield'...
remote: Counting objects: 956, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 956 (delta 21), reused 0 (delta 0), pack-reused 917
Receiving objects: 100% (956/956), 793.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (523/523), done.
Checking connectivity... done.

pi@raspberrypi:~ $ cd dshield
pi@raspberrypi:~/dshield $ sudo bin/install.sh
Checking Pre-Requisits
using apt to install packages
Basic security checks
Updating your Installation (this can take a LOOONG time)
Installing additional packages
The mail frontend needs a installed 'sendmail', using pager
Extracting templates from packages: 100%

Dialog: Honeypot?  answered Yes via enter key

The mail frontend needs a installed 'sendmail', using pager
Preconfiguring packages ...
Selecting previously unselected package libaio1:armhf.
(Reading database ... 38082 files and directories currently installed.)
Preparing to unpack .../libaio1_0.3.110-1_armhf.deb ...
Unpacking libaio1:armhf (0.3.110-1) ...
Selecting previously unselected package mysql-server-core-5.5.
Preparing to unpack .../mysql-server-core-5.5_5.5.54-0+deb8u1_armhf.deb ...
Unpacking mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
Selecting previously unselected package mysql-server-5.5.
Preparing to unpack .../mysql-server-5.5_5.5.54-0+deb8u1_armhf.deb ...
Unpacking mysql-server-5.5 (5.5.54-0+deb8u1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
Unpacking libhtml-template-perl (2.95-1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.5.54-0+deb8u1_all.deb ...
Unpacking mysql-server (5.5.54-0+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u6) ...
Setting up libaio1:armhf (0.3.110-1) ...
Setting up mysql-server-core-5.5 (5.5.54-0+deb8u1) ...
Setting up mysql-server-5.5 (5.5.54-0+deb8u1) ...
170420 22:35:15 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
170420 22:35:15 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
170420 22:35:15 [Note] /usr/sbin/mysqld (mysqld 5.5.54-0+deb8u1) starting as process 3730 ...
Setting up libhtml-template-perl (2.95-1) ...
Setting up mysql-server (5.5.54-0+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Processing triggers for systemd (215-17+deb8u6) ...

Dialog: email+api key.  Entered both and selected Verify

Dialog: Key valid

Dialog: Default interface: eth0

Dialog: Local Network 192.168.1.0/24

Dialog: Ignore FW Log: 192.168.1.0/24

Dialog: Firewall logging exceptions to 192.168.1.0/24

Dialog: Warning USE WITH CARE:
   IPs 192.168.1.0/24
   ports: 2222

Dialog: Honeypot exceptions 
   192.168.1.0/24
   for ports 2222.

Added user cowrie
Enter password:
  <entered the pi user password>
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
bin/install.sh: line 496: [: -eq: unary operator expected
Enter password:
bin/install.sh: line 496: [: -eq: unary operator expected
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Adding / updating cowrie user in MySQL.
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
+ checking cowrie dependency: module 'twisted' ...
  ERR: is installed in v14.0.2 but must at least be v16.6.0, will be updated
Downloading/unpacking twisted==16.6.0
  Downloading Twisted-16.6.0.tar.bz2 (3.0MB): 3.0MB downloaded
  Running setup.py (path:/tmp/pip-build-v7BZk5/twisted/setup.py) egg_info for package twisted
    no previously-included directories found matching '.travis'
    no previously-included directories found matching 'tests'
    warning: no previously-included files found matching 'examplesetup.py'
    no previously-included directories found matching 'src/exampleproj'
    no previously-included directories found matching 'src/incremental/newsfragments'

    Installed /tmp/pip-build-v7BZk5/twisted/incremental-16.10.1-py2.7.egg

    warning: no previously-included files matching '*.misc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.bugfix' found under directory 'src/twisted'
    warning: no previously-included files matching '*.doc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.feature' found under directory 'src/twisted'
    warning: no previously-included files matching '*.removal' found under directory 'src/twisted'
    warning: no previously-included files matching 'NEWS' found under directory 'src/twisted'
    warning: no previously-included files matching 'README' found under directory 'src/twisted'
    warning: no previously-included files matching 'topfiles' found under directory 'src/twisted'
    warning: no previously-included files found matching 'src/twisted/topfiles/CREDITS'
    warning: no previously-included files found matching 'src/twisted/topfiles/ChangeLog.Old'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files found matching 'appveyor.yml'
    no previously-included directories found matching 'bin'
    no previously-included directories found matching 'admin'
    no previously-included directories found matching '.travis'
    warning: no previously-included files found matching 'docs/historic/2003'
    warning: no previously-included files matching '*' found under directory 'docs/historic/2003'
Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.6.0 in /usr/lib/python2.7/dist-packages (from twisted==16.6.0)
Downloading/unpacking constantly>=15.1 (from twisted==16.6.0)
  Downloading constantly-15.1.0-py2.py3-none-any.whl
Downloading/unpacking incremental>=16.10.1 (from twisted==16.6.0)
  Downloading incremental-16.10.1-py2.py3-none-any.whl
Installing collected packages: twisted, constantly, incremental
  Found existing installation: Twisted 14.0.2
    Not uninstalling Twisted at /usr/lib/python2.7/dist-packages, owned by OS
  Running setup.py install for twisted

    warning: no previously-included files matching '*.misc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.bugfix' found under directory 'src/twisted'
    warning: no previously-included files matching '*.doc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.feature' found under directory 'src/twisted'
    warning: no previously-included files matching '*.removal' found under directory 'src/twisted'
    warning: no previously-included files matching 'NEWS' found under directory 'src/twisted'
    warning: no previously-included files matching 'README' found under directory 'src/twisted'
    warning: no previously-included files matching 'topfiles' found under directory 'src/twisted'
    warning: no previously-included files found matching 'src/twisted/topfiles/CREDITS'
    warning: no previously-included files found matching 'src/twisted/topfiles/ChangeLog.Old'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files found matching 'appveyor.yml'
    no previously-included directories found matching 'bin'
    no previously-included directories found matching 'admin'
    no previously-included directories found matching '.travis'
    warning: no previously-included files found matching 'docs/historic/2003'
    warning: no previously-included files matching '*' found under directory 'docs/historic/2003'
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c conftest.c -o conftest.o
    building 'twisted.test.raiser' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/twisted/test/raiser.c -o build/temp.linux-armv7l-2.7/src/twisted/test/raiser.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/twisted/test/raiser.o -o build/lib.linux-armv7l-2.7/twisted/test/raiser.so
    building 'twisted.python._sendmsg' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/twisted/python/_sendmsg.c -o build/temp.linux-armv7l-2.7/src/twisted/python/_sendmsg.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/twisted/python/_sendmsg.o -o build/lib.linux-armv7l-2.7/twisted/python/_sendmsg.so
    building 'twisted.runner.portmap' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/twisted/runner/portmap.c -o build/temp.linux-armv7l-2.7/src/twisted/runner/portmap.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/twisted/runner/portmap.o -o build/lib.linux-armv7l-2.7/twisted/runner/portmap.so
    Installing trial script to /usr/local/bin
    Installing conch script to /usr/local/bin
    Installing ckeygen script to /usr/local/bin
    Installing twist script to /usr/local/bin
    Installing pyhtmlizer script to /usr/local/bin
    Installing mailmail script to /usr/local/bin
    Installing tkconch script to /usr/local/bin
    Installing twistd script to /usr/local/bin
    Installing cftp script to /usr/local/bin
Successfully installed twisted constantly incremental
Cleaning up...
+ checking cowrie dependency: module 'cryptography' ...
  ERR: not found at all, will be installed
Downloading/unpacking cryptography
  Downloading cryptography-1.8.1.tar.gz (423kB): 423kB downloaded
  Running setup.py (path:/tmp/pip-build-bULlgp/cryptography/setup.py) egg_info for package cryptography

    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*' found under directory 'vectors'
Downloading/unpacking idna>=2.1 (from cryptography)
  Downloading idna-2.5-py2.py3-none-any.whl (55kB): 55kB downloaded
Downloading/unpacking asn1crypto>=0.21.0 (from cryptography)
  Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97kB): 97kB downloaded
Downloading/unpacking packaging (from cryptography)
  Downloading packaging-16.8-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography)
Downloading/unpacking setuptools>=11.3 (from cryptography)
  Downloading setuptools-35.0.1-py2.py3-none-any.whl (390kB): 390kB downloaded
Downloading/unpacking enum34 (from cryptography)
  Downloading enum34-1.1.6-py2-none-any.whl
Downloading/unpacking ipaddress (from cryptography)
  Downloading ipaddress-1.0.18-py2-none-any.whl
Downloading/unpacking cffi>=1.4.1 (from cryptography)
  Downloading cffi-1.10.0.tar.gz (418kB): 418kB downloaded
  Running setup.py (path:/tmp/pip-build-bULlgp/cffi/setup.py) egg_info for package cffi

Downloading/unpacking pyparsing (from packaging->cryptography)
  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB): 56kB downloaded
Downloading/unpacking appdirs>=1.4.0 (from setuptools>=11.3->cryptography)
  Downloading appdirs-1.4.3-py2.py3-none-any.whl
Downloading/unpacking pycparser (from cffi>=1.4.1->cryptography)
  Downloading pycparser-2.17.tar.gz (231kB): 231kB downloaded
  Running setup.py (path:/tmp/pip-build-bULlgp/pycparser/setup.py) egg_info for package pycparser

    warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
    warning: no previously-included files matching 'lextab.*' found under directory 'tests'
    warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
    warning: no previously-included files matching 'lextab.*' found under directory 'examples'
Installing collected packages: cryptography, idna, asn1crypto, packaging, setuptools, enum34, ipaddress, cffi, pyparsing, appdirs, pycparser
  Running setup.py install for cryptography

    Installed /tmp/pip-build-bULlgp/cryptography/cffi-1.10.0-py2.7-linux-armv7l.egg
    Searching for pycparser
    Reading https://pypi.python.org/simple/pycparser/
    Best match: pycparser 2.17
    Downloading https://pypi.python.org/packages/be/64/1bb257ffb17d01f4a38d7ce686809a736837ad4371bcc5c42ba7a715c3ac/pycparser-2.17.tar.gz#md5=ca98dcb50bc1276f230118f6af5a40c7
    Processing pycparser-2.17.tar.gz
    Writing /tmp/easy_install-R8eA8b/pycparser-2.17/setup.cfg
    Running pycparser-2.17/setup.py -q bdist_egg --dist-dir /tmp/easy_install-R8eA8b/pycparser-2.17/egg-dist-tmp-NBVFM8
    warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
    warning: no previously-included files matching 'lextab.*' found under directory 'tests'
    warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
    warning: no previously-included files matching 'lextab.*' found under directory 'examples'
    zip_safe flag not set; analyzing archive contents...
    pycparser.ply.lex: module references __file__
    pycparser.ply.lex: module MAY be using inspect.getsourcefile
    pycparser.ply.ygen: module references __file__
    pycparser.ply.yacc: module references __file__
    pycparser.ply.yacc: module MAY be using inspect.getsourcefile
    pycparser.ply.yacc: module MAY be using inspect.stack

    Installed /tmp/pip-build-bULlgp/cryptography/pycparser-2.17-py2.7.egg

    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*' found under directory 'vectors'
    generating cffi module 'build/temp.linux-armv7l-2.7/_padding.c'
    generating cffi module 'build/temp.linux-armv7l-2.7/_constant_time.c'
    generating cffi module 'build/temp.linux-armv7l-2.7/_openssl.c'
    building '_openssl' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-armv7l-2.7/_openssl.c -o build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_openssl.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_openssl.o -lssl -lcrypto -o build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/_openssl.so
    building '_constant_time' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-armv7l-2.7/_constant_time.c -o build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_constant_time.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_constant_time.o -o build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/_constant_time.so
    building '_padding' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-armv7l-2.7/_padding.c -o build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_padding.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_padding.o -o build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/_padding.so
  Found existing installation: setuptools 5.5.1
    Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, owned by OS
  Running setup.py install for cffi
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 12, in <module>
        import setuptools.version
      File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in <module>
        import pkg_resources
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 72, in <module>
        import packaging.requirements
      File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 9, in <module>
        from pyparsing import stringStart, stringEnd, originalTextFor, ParseException
    ImportError: No module named pyparsing
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-bULlgp/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6eR5Io-record/install-record.txt --single-version-externally-managed --compile:
    Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 12, in <module>

    import setuptools.version

  File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in <module>

    import pkg_resources

  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 72, in <module>

    import packaging.requirements

  File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 9, in <module>

    from pyparsing import stringStart, stringEnd, originalTextFor, ParseException

ImportError: No module named pyparsing

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-bULlgp/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6eR5Io-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-bULlgp/cffi
Storing debug log for failure in /root/.pip/pip.log
Error installing 'cryptography'. Aborting.
pi@raspberrypi:~/dshield $ sudo pip list
Traceback (most recent call last):
  File "/usr/bin/pip", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 72, in <module>
    import packaging.requirements
  File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 9, in <module>
    from pyparsing import stringStart, stringEnd, originalTextFor, ParseException
ImportError: No module named pyparsing
pi@raspberrypi:~/dshield $

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

OK, too bad, the python dependencies are now also occurring in the older distro. Crap.

I have to sort that out and unfortunately this will take time.

To re-install the honeypot I'd suggest commenting out the cowrie installation stuff from install.sh so that the dshield-stuff gets installed.

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Fortunately, my working system is still alive/online and reporting, just not for SSH (no cowrie).
I'm trying a build with my original OS 2016-02-09-raspbian-jessie-lite.img just to see what happens there.
The 2017-03-02-raspbian-jessie-lite and 2017-04-10-raspbian-jessie-lite both failed. :(

from dshield.

ktrue avatar ktrue commented on August 26, 2024

With the 2016-02-09-raspbian-jessie-lite, all went well until the crypto install, then abort.

Added user cowrie
Adding / updating cowrie user in MySQL.
+ checking cowrie dependency: module 'twisted' ...
  ERR: is installed in v14.0.2 but must at least be v16.6.0, will be updated
Downloading/unpacking twisted==16.6.0
  Downloading Twisted-16.6.0.tar.bz2 (3.0MB): 3.0MB downloaded
  Running setup.py (path:/tmp/pip-build-Yf0ovC/twisted/setup.py) egg_info for package twisted
    no previously-included directories found matching '.travis'
    no previously-included directories found matching 'tests'
    warning: no previously-included files found matching 'examplesetup.py'
    no previously-included directories found matching 'src/exampleproj'
    no previously-included directories found matching 'src/incremental/newsfragments'

    Installed /tmp/pip-build-Yf0ovC/twisted/incremental-16.10.1-py2.7.egg

    warning: no previously-included files matching '*.misc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.bugfix' found under directory 'src/twisted'
    warning: no previously-included files matching '*.doc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.feature' found under directory 'src/twisted'
    warning: no previously-included files matching '*.removal' found under directory 'src/twisted'
    warning: no previously-included files matching 'NEWS' found under directory 'src/twisted'
    warning: no previously-included files matching 'README' found under directory 'src/twisted'
    warning: no previously-included files matching 'topfiles' found under directory 'src/twisted'
    warning: no previously-included files found matching 'src/twisted/topfiles/CREDITS'
    warning: no previously-included files found matching 'src/twisted/topfiles/ChangeLog.Old'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files found matching 'appveyor.yml'
    no previously-included directories found matching 'bin'
    no previously-included directories found matching 'admin'
    no previously-included directories found matching '.travis'
    warning: no previously-included files found matching 'docs/historic/2003'
    warning: no previously-included files matching '*' found under directory 'docs/historic/2003'
Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.6.0 in /usr/lib/python2.7/dist-packages (from twisted==16.6.0)
Downloading/unpacking constantly>=15.1 (from twisted==16.6.0)
  Downloading constantly-15.1.0-py2.py3-none-any.whl
Downloading/unpacking incremental>=16.10.1 (from twisted==16.6.0)
  Downloading incremental-16.10.1-py2.py3-none-any.whl
Installing collected packages: twisted, constantly, incremental
  Found existing installation: Twisted 14.0.2
    Not uninstalling Twisted at /usr/lib/python2.7/dist-packages, owned by OS
  Running setup.py install for twisted

    warning: no previously-included files matching '*.misc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.bugfix' found under directory 'src/twisted'
    warning: no previously-included files matching '*.doc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.feature' found under directory 'src/twisted'
    warning: no previously-included files matching '*.removal' found under directory 'src/twisted'
    warning: no previously-included files matching 'NEWS' found under directory 'src/twisted'
    warning: no previously-included files matching 'README' found under directory 'src/twisted'
    warning: no previously-included files matching 'topfiles' found under directory 'src/twisted'
    warning: no previously-included files found matching 'src/twisted/topfiles/CREDITS'
    warning: no previously-included files found matching 'src/twisted/topfiles/ChangeLog.Old'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files found matching 'appveyor.yml'
    no previously-included directories found matching 'bin'
    no previously-included directories found matching 'admin'
    no previously-included directories found matching '.travis'
    warning: no previously-included files found matching 'docs/historic/2003'
    warning: no previously-included files matching '*' found under directory 'docs/historic/2003'
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c conftest.c -o conftest.o
    building 'twisted.test.raiser' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/twisted/test/raiser.c -o build/temp.linux-armv7l-2.7/src/twisted/test/raiser.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/twisted/test/raiser.o -o build/lib.linux-armv7l-2.7/twisted/test/raiser.so
    building 'twisted.python._sendmsg' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/twisted/python/_sendmsg.c -o build/temp.linux-armv7l-2.7/src/twisted/python/_sendmsg.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/twisted/python/_sendmsg.o -o build/lib.linux-armv7l-2.7/twisted/python/_sendmsg.so
    building 'twisted.runner.portmap' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/twisted/runner/portmap.c -o build/temp.linux-armv7l-2.7/src/twisted/runner/portmap.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/twisted/runner/portmap.o -o build/lib.linux-armv7l-2.7/twisted/runner/portmap.so
    Installing trial script to /usr/local/bin
    Installing conch script to /usr/local/bin
    Installing ckeygen script to /usr/local/bin
    Installing twist script to /usr/local/bin
    Installing pyhtmlizer script to /usr/local/bin
    Installing mailmail script to /usr/local/bin
    Installing tkconch script to /usr/local/bin
    Installing twistd script to /usr/local/bin
    Installing cftp script to /usr/local/bin
Successfully installed twisted constantly incremental
Cleaning up...
+ checking cowrie dependency: module 'cryptography' ...
  ERR: not found at all, will be installed
Downloading/unpacking cryptography
  Downloading cryptography-1.8.1.tar.gz (423kB): 423kB downloaded
  Running setup.py (path:/tmp/pip-build-D5kyte/cryptography/setup.py) egg_info for package cryptography

    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*' found under directory 'vectors'
Downloading/unpacking idna>=2.1 (from cryptography)
  Downloading idna-2.5-py2.py3-none-any.whl (55kB): 55kB downloaded
Downloading/unpacking asn1crypto>=0.21.0 (from cryptography)
  Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97kB): 97kB downloaded
Downloading/unpacking packaging (from cryptography)
  Downloading packaging-16.8-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography)
Downloading/unpacking setuptools>=11.3 (from cryptography)
  Downloading setuptools-35.0.1-py2.py3-none-any.whl (390kB): 390kB downloaded
Downloading/unpacking enum34 (from cryptography)
  Downloading enum34-1.1.6-py2-none-any.whl
Downloading/unpacking ipaddress (from cryptography)
  Downloading ipaddress-1.0.18-py2-none-any.whl
Downloading/unpacking cffi>=1.4.1 (from cryptography)
  Downloading cffi-1.10.0.tar.gz (418kB): 418kB downloaded
  Running setup.py (path:/tmp/pip-build-D5kyte/cffi/setup.py) egg_info for package cffi

Downloading/unpacking pyparsing (from packaging->cryptography)
  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB): 56kB downloaded
Downloading/unpacking appdirs>=1.4.0 (from setuptools>=11.3->cryptography)
  Downloading appdirs-1.4.3-py2.py3-none-any.whl
Downloading/unpacking pycparser (from cffi>=1.4.1->cryptography)
  Downloading pycparser-2.17.tar.gz (231kB): 231kB downloaded
  Running setup.py (path:/tmp/pip-build-D5kyte/pycparser/setup.py) egg_info for package pycparser

    warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
    warning: no previously-included files matching 'lextab.*' found under directory 'tests'
    warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
    warning: no previously-included files matching 'lextab.*' found under directory 'examples'
Installing collected packages: cryptography, idna, asn1crypto, packaging, setuptools, enum34, ipaddress, cffi, pyparsing, appdirs, pycparser
  Running setup.py install for cryptography

    Installed /tmp/pip-build-D5kyte/cryptography/cffi-1.10.0-py2.7-linux-armv7l.egg
    Searching for pycparser
    Reading https://pypi.python.org/simple/pycparser/
    Best match: pycparser 2.17
    Downloading https://pypi.python.org/packages/be/64/1bb257ffb17d01f4a38d7ce686809a736837ad4371bcc5c42ba7a715c3ac/pycparser-2.17.tar.gz#md5=ca98dcb50bc1276f230118f6af5a40c7
    Processing pycparser-2.17.tar.gz
    Writing /tmp/easy_install-lS6ucR/pycparser-2.17/setup.cfg
    Running pycparser-2.17/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lS6ucR/pycparser-2.17/egg-dist-tmp-R_Szx8
    warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
    warning: no previously-included files matching 'lextab.*' found under directory 'tests'
    warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
    warning: no previously-included files matching 'lextab.*' found under directory 'examples'
    zip_safe flag not set; analyzing archive contents...
    pycparser.ply.ygen: module references __file__
    pycparser.ply.yacc: module references __file__
    pycparser.ply.yacc: module MAY be using inspect.getsourcefile
    pycparser.ply.yacc: module MAY be using inspect.stack
    pycparser.ply.lex: module references __file__
    pycparser.ply.lex: module MAY be using inspect.getsourcefile

    Installed /tmp/pip-build-D5kyte/cryptography/pycparser-2.17-py2.7.egg

    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*' found under directory 'vectors'
    generating cffi module 'build/temp.linux-armv7l-2.7/_padding.c'
    generating cffi module 'build/temp.linux-armv7l-2.7/_constant_time.c'
    generating cffi module 'build/temp.linux-armv7l-2.7/_openssl.c'
    building '_openssl' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-armv7l-2.7/_openssl.c -o build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_openssl.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_openssl.o -lssl -lcrypto -o build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/_openssl.so
    building '_constant_time' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-armv7l-2.7/_constant_time.c -o build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_constant_time.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_constant_time.o -o build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/_constant_time.so
    building '_padding' extension
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-armv7l-2.7/_padding.c -o build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_padding.o
    arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/build/temp.linux-armv7l-2.7/_padding.o -o build/lib.linux-armv7l-2.7/cryptography/hazmat/bindings/_padding.so
  Found existing installation: setuptools 5.5.1
    Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, owned by OS
  Running setup.py install for cffi
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 12, in <module>
        import setuptools.version
      File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in <module>
        import pkg_resources
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 72, in <module>
        import packaging.requirements
      File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 9, in <module>
        from pyparsing import stringStart, stringEnd, originalTextFor, ParseException
    ImportError: No module named pyparsing
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-D5kyte/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ul1svw-record/install-record.txt --single-version-externally-managed --compile:
    Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 12, in <module>

    import setuptools.version

  File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in <module>

    import pkg_resources

  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 72, in <module>

    import packaging.requirements

  File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 9, in <module>

    from pyparsing import stringStart, stringEnd, originalTextFor, ParseException

ImportError: No module named pyparsing

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-D5kyte/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ul1svw-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-D5kyte/cffi
Storing debug log for failure in /root/.pip/pip.log
Error installing 'cryptography'. Aborting.
pi@raspberrypi:~/dshield $ 

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

Hi,

I did some extensive changes in the install.sh

Can you pls try the following pre-alpha-don't-use-if-you-are-not-totally-crazy version on a clean Raspbian and report back?

https://github.com/gebhard73/dshield/blob/issue%2335/bin/install.sh

Please don't expose the Pi to the Internet, it's only for testing if the installation works now. Don't use for production.

Thanks!

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Ok.. the Pi is NOT exposed to the internet while I'm doing rebuilds on a test Pi.
I used 2017-04-10-raspbian-jessie-lite.img as the base build. Then did:

sudo raspi-config (PW, filesystem expand)
sudo reboot

sudo apt-get update
sudo apt-get upgrade
sudo reboot

sudo apt-get install git
sudo apt-get install htop

git clone https://github.com/DShield-ISC/dshield.git

Did:
sudo raspi-config  (PW, filesystem expand)
sudo reboot

sudo apt-get update
sudo apt-get upgrade
sudo reboot

sudo apt-get install git

git clone https://github.com/DShield-ISC/dshield.git
 
then the diversion to try your install.sh:

pi@raspberrypi:~ $ git clone https://github.com/DShield-ISC/dshield.git
Cloning into 'dshield'...
remote: Counting objects: 956, done.
remote: Total 956 (delta 0), reused 0 (delta 0), pack-reused 956
Receiving objects: 100% (956/956), 788.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (527/527), done.
Checking connectivity... done.

pi@raspberrypi:~ $ cd dshield/bin
pi@raspberrypi:~/dshield/bin $ wget https://raw.githubusercontent.com/gebhard73/dshield/issue%2335/bin/install.sh
--2017-04-22 23:48:08--  https://raw.githubusercontent.com/gebhard73/dshield/issue%2335/bin/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.128.133, 151.101.192.133, 151.101.0.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.128.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35564 (35K) [text/plain]
Saving to: ‘install.sh’

install.sh          100%[=====================>]  34.73K  --.-KB/s   in 0.02s

2017-04-22 23:48:09 (1.80 MB/s) - ‘install.sh’ saved [35564/35564]

pi@raspberrypi:~/dshield/bin $ ls -l
total 168
-rwxr-xr-x 1 pi pi  2795 Apr 22 23:36 404.pl
-rw-r--r-- 1 pi pi  8963 Apr 22 23:36 db_builder.py
-rwxr-xr-x 1 pi pi  4889 Apr 22 23:36 dshield.pl
-rw-r--r-- 1 pi pi  3179 Apr 22 23:36 DShield.py
-rw-r--r-- 1 pi pi  2899 Apr 22 23:36 hpot.py
-rwxr-xr-x 1 pi pi 22834 Apr 22 23:36 install-orig.sh
-rw-r--r-- 1 pi pi 35564 Apr 22 23:48 install.sh
-rwxr-xr-x 1 pi pi  3012 Apr 22 23:36 makecert.sh
-rwxr-xr-x 1 pi pi   385 Apr 22 23:36 passwordtest.pl
-rw-r--r-- 1 pi pi  1513 Apr 22 23:36 proxy.py
-rwxr-xr-x 1 pi pi   270 Apr 22 23:36 quickreset.sh
-rw-r--r-- 1 pi pi 12782 Apr 22 23:36 sigmatch.py
-rwxr-xr-x 1 pi pi  5000 Apr 22 23:36 sitecopy.py
-rw-r--r-- 1 pi pi   674 Apr 22 23:36 smtp.py
-rwxr-xr-x 1 pi pi   939 Apr 22 23:36 spamparser.py
-rwxr-xr-x 1 pi pi  1564 Apr 22 23:36 status.sh
-rwxr-xr-x 1 pi pi  2941 Apr 22 23:36 ufwparser.py
-rwxr-xr-x 1 pi pi    83 Apr 22 23:36 update.sh
-rwxr-xr-x 1 pi pi 15606 Apr 22 23:36 web.py
pi@raspberrypi:~/dshield/bin $ chmod +x install.sh
pi@raspberrypi:~/dshield/bin $ cd ..
pi@raspberrypi:~/dshield $ sudo bin/install.sh
##########################################################################################################
Log /srv/log/install_2017-04-22_234935.log started.
ATTENTION: the log file contains sensitive information (e.g. passwords, API keys, ...)
           Handle with care. Sanitize before submitting.
Checking Pre-Requisits
using apt to install packages
Basic security checks
Updating your Installation (this can take a LOOONG time)
Installing additional packages


Honeypot dialog: answer Yes

check if pip is already installed
Installing and configuring MySQL (this will take LOOOONG)
Installing MySQL server package

Dialogs:
Key verify
Interface
Network
Exceptions

Doing further configuration
Added user 'cowrie'
we create the cowrie database and call the creation script
Adding / updating cowrie user in MySQL.
+ checking cowrie dependency: module 'twisted' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'cryptography' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'configparser' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'pyopenssl' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'gmpy2' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'pyparsing' ...
  OK: is installed in a sufficient version, nothing to do
+ checking cowrie dependency: module 'packaging' ...
  OK: is installed in a sufficient version, nothing to do
+ checking cowrie dependency: module 'appdirs' ...
  OK: is installed in a sufficient version, nothing to do
+ checking cowrie dependency: module 'pyasn1-modules' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'attrs' ...
  OK: is installed in a sufficient version, nothing to do
+ checking cowrie dependency: module 'service-identity' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'pycrypto' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'python-dateutil' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'tftpy' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'idna' ...
  OK: is installed in a sufficient version, nothing to do
+ checking cowrie dependency: module 'pyasn1' ...
  OK: is installed in a sufficient version, nothing to do
+ checking cowrie dependency: module 'requests' ...
  ERR: not found at all, will be installed
+ checking cowrie dependency: module 'MySQL-python' ...
  ERR: not found at all, will be installed

Dialog: details for SSL cert

US
Generating a 2048 bit RSA private key
...........+++
....+++
writing new private key to '/home/pi/dshield/bin//../etc/CA/keys/raspberrypi.key'
-----
writing RSA key
Generating a 2048 bit RSA private key
...........................................+++
..................................................+++
writing new private key to '/home/pi/dshield/bin//../etc/CA/keys/raspberrypi-spare.key'
-----
writing RSA key

Dialog: Signing Cert (Yes on create)

Generating RSA private key, 4096 bit long modulus
...................++
........................................................................................................++
e is 65537 (0x10001)
writing RSA key
Using configuration from ../etc/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number: 4 (0x4)
        Validity
            Not Before: Apr 23 03:23:06 2017 GMT
            Not After : Apr 21 03:23:06 2027 GMT
        Subject:
            countryName               = US
            stateOrProvinceName       = California
            localityName              = Saratoga
            organizationName          = DShield
            organizationalUnitName    = Decoy
            commonName                = raspberrypi
        X509v3 extensions:
            X509v3 Subject Key Identifier:
                34:11:32:DF:8A:5D:76:B3:C1:28:83:69:29:7B:16:F0:33:87:DB:C3
            X509v3 Authority Key Identifier:
                keyid:AE:76:87:4A:96:B1:AB:6E:23:FE:DC:1E:CE:DE:AB:DA:D5:09:2A:3C

            X509v3 Basic Constraints:
                CA:FALSE
            X509v3 Key Usage:
                Digital Signature, Key Encipherment
Certificate is to be certified until Apr 21 03:23:06 2027 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated


Done.

Please reboot your Pi now.

For feedback, please e-mail [email protected] or file a bug report on github
Please include a sanitized version of /etc/dshield.conf in bug reports.
To support logging to MySQL, a MySQL server was installed. The root password is ********************m

IMPORTANT: after rebooting, the Pi's ssh server will listen on port 12222
           connect using ssh -p 12222 [email protected]
Log: /srv/log/install_2017-04-22_234935.log
pi@raspberrypi:~/dshield $

So.. the script completed (Yea!).

I rebooted and see that cowrie is running as a process and there's a listen on port 2222.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

thanks, that's good news...
can you pls have a look into /src/cowrie/log/cowrie.log if there's any error?

Thanks.

Will try to finalize the script for testing today.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

and you may also have a look into the installation log if there's any error, thanks

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

OK, I did some initial testing and created a pull request:
#36
The update of an existing sensor will be painful because of the move from Python distro packages to pip.

from dshield.

ktrue avatar ktrue commented on August 26, 2024

I'm doing a fresh build using 2017-04-10-raspbian-jessie-lite.img as the base build, and a fresh pull from the master dist now that the script has been pulled into master.

Build completed ok. I've shutdown the original Pi honeypot and booted with the new system. All appears well.. I'll report back after a few hours with what's been collected. so far (at startup)

Last Web Log Received:
Last 404 Log Received:
Last ssh Log Received: 2016-10-10 04:18:35
Last ssh Firewall Log Received: 2017-04-24 16:55:10
Current Time/Date: 2017-04-24 17:27:17

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

Hi, thanks for the good news ...

BTW: I also tried an install on a Pi B+ - it worked well, but took about 2h because of compiling the Python stuff.

It you can spare the time and the old honeypot: would you mind trying the "brutal" automatic update procedure mentioned in the README.md?
Thanks.

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Success!

Last Web Log Received:
Last 404 Log Received:
Last ssh Log Received: 2017-04-24 17:45:49
Last ssh Firewall Log Received: 2017-04-24 18:10:03
Current Time/Date: 2017-04-24 18:36:33

Looks like the new install.sh script does the job! Thanks gebhard73!!

I've got a Pi B+ hanging around.. will try it on that and report back.

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

thanks, glad it worked!

from dshield.

gebhard73 avatar gebhard73 commented on August 26, 2024

any feedback regarding the B+ or an upgrade of a system installed with the old script?

Thanks.

from dshield.

ktrue avatar ktrue commented on August 26, 2024

I tried the upgrade on the old B+ using

cd dshield
git pull
sudo bin/install.sh

Ran, but ended with

Doing further configuration
User 'cowrie' already exists in OS. Making no changes.
cowrie mysql database already exists. not touching it.
Adding / updating cowrie user in MySQL.
Checking, if the MySQL cowrie account can connect.
+ checking cowrie dependency: module 'twisted' ...
  WARN: is installed in v14.0.2 but must at least be v16.6.0, will be updated
Error upgrading 'twisted'. Aborting.
Log: /srv/log/install_2017-04-26_201515.log

I'm going to nuke it, and do a full install based on 2017-04-10-raspbian-jessie-lite.img

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Here's the ending of the prior old-B+-and-just-update result from the log

Downloading/unpacking twisted==16.6.0
  Running setup.py (path:/tmp/pip-build-lS3aeP/twisted/setup.py) egg_info for package twisted
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip-build-lS3aeP/twisted/setup.py", line 21, in <module>
        setuptools.setup(**_setup["getSetupArgs"]())
      File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 318, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 375, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 851, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1123, in best_match
        return self.obtain(req, installer)
      File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1135, in obtain
        return installer(requirement)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 419, in fetch_build_egg
        from setuptools.command.easy_install import easy_install
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 48, in <module>
        from setuptools.py31compat import get_path, get_config_vars
      File "/usr/local/lib/python2.7/dist-packages/setuptools/py31compat.py", line 2, in <module>
        import unittest
      File "/usr/lib/python2.7/unittest/__init__.py", line 64, in <module>
        from .main import TestProgram, main
      File "/usr/lib/python2.7/unittest/main.py", line 7, in <module>
        from . import loader, runner
      File "/usr/lib/python2.7/unittest/runner.py", line 40
        sel&.dots = verbosity == 1
            ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip-build-lS3aeP/twisted/setup.py", line 21, in <module>

    setuptools.setup(**_setup["getSetupArgs"]())

  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup

    _setup_distribution = dist = klass(attrs)

  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 318, in __init__

    self.fetch_build_eggs(attrs['setup_requires'])

  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 375, in fetch_build_eggs

    replace_conflicting=True,

  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 851, in resolve

    dist = best[req.key] = env.best_match(req, ws, installer)

  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1123, in best_match

    return self.obtain(req, installer)

  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1135, in obtain

    return installer(requirement)

  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 419, in fetch_build_egg

    from setuptools.command.easy_install import easy_install

  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 48, in <module>

    from setuptools.py31compat import get_path, get_config_vars

  File "/usr/local/lib/python2.7/dist-packages/setuptools/py31compat.py", line 2, in <module>

    import unittest

  File "/usr/lib/python2.7/unittest/__init__.py", line 64, in <module>

    from .main import TestProgram, main

  File "/usr/lib/python2.7/unittest/main.py", line 7, in <module>

    from . import loader, runner

  File "/usr/lib/python2.7/unittest/runner.py", line 40

    sel&.dots = verbosity == 1

        ^

SyntaxError: invalid syntax

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-lS3aeP/twisted
Storing debug log for failure in /root/.pip/pip.log
2017-04-26_202718 ### DEBUG OUTPUT: EXIT CODE NOT ZERO (1)!
2017-04-26_202718 ### Error upgrading 'twisted'. Aborting.

from dshield.

jullrich avatar jullrich commented on August 26, 2024

from dshield.

ktrue avatar ktrue commented on August 26, 2024

Since I've completed two successful fresh builds (one on a RPi 2B+ and one on a RPi 3 which is running the current honeypot), I consider this issue 'fixed' and am closing the comment.
Thank you gebhard73 for all your work in getting the cowrie/twisted SSH part working!

from dshield.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.