Skip to content

Instantly share code, notes, and snippets.

@Strazzom
Created September 24, 2018 05:40
Show Gist options
  • Save Strazzom/6770533ad5030f656852dd0874debaea to your computer and use it in GitHub Desktop.
Save Strazzom/6770533ad5030f656852dd0874debaea to your computer and use it in GitHub Desktop.
root@4e94e19442d0:/opt/pupy# ./pupysh.py
2018-09-24 05:38:58,749| Transport ec4 disabled: cannot import name byte_string
Traceback (most recent call last):
File "/opt/pupy/network/lib/__init__.py", line 44, in <module>
from .transports.ec4 import EC4TransportServer, EC4TransportClient
File "/opt/pupy/network/lib/transports/ec4.py", line 8, in <module>
from ...lib.picocmd.ecpv import ECPV
File "/opt/pupy/network/lib/picocmd/__init__.py", line 38, in <module>
from .client import (
File "/opt/pupy/network/lib/picocmd/client.py", line 31, in <module>
from ecpv import ECPV
File "/opt/pupy/network/lib/picocmd/ecpv.py", line 11, in <module>
from Crypto.Hash import SHA1, SHA3_256, SHA3_512
File "/usr/local/lib/python2.7/dist-packages/Crypto/Hash/SHA1.py", line 23, in <module>
from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,
File "/usr/local/lib/python2.7/dist-packages/Crypto/Util/_raw_api.py", line 32, in <module>
from Crypto.Util.py3compat import byte_string
ImportError: cannot import name byte_string
2018-09-24 05:38:58,754| Transport ecm disabled: cannot import name byte_string
Traceback (most recent call last):
File "/opt/pupy/network/lib/__init__.py", line 51, in <module>
from .transports.ecm import ECMTransportServer, ECMTransportClient
File "/opt/pupy/network/lib/transports/ecm.py", line 8, in <module>
from ...lib.picocmd.ecpv import ECPV
File "/opt/pupy/network/lib/picocmd/__init__.py", line 38, in <module>
from .client import (
File "/opt/pupy/network/lib/picocmd/client.py", line 31, in <module>
from ecpv import ECPV
File "/opt/pupy/network/lib/picocmd/ecpv.py", line 11, in <module>
from Crypto.Hash import SHA1, SHA3_256, SHA3_512
File "/usr/local/lib/python2.7/dist-packages/Crypto/Hash/SHA1.py", line 23, in <module>
from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,
File "/usr/local/lib/python2.7/dist-packages/Crypto/Util/_raw_api.py", line 32, in <module>
from Crypto.Util.py3compat import byte_string
ImportError: cannot import name byte_string
Traceback (most recent call last):
File "./pupysh.py", line 83, in <module>
from pupylib import PupyServer
File "/opt/pupy/pupylib/__init__.py", line 23, in <module>
from PupyService import PupyService
File "/opt/pupy/pupylib/PupyService.py", line 28, in <module>
from pupylib.PupyCredentials import Credentials
File "/opt/pupy/pupylib/PupyCredentials.py", line 15, in <module>
from network.lib.picocmd.ecpv import ECPV
File "/opt/pupy/network/lib/picocmd/__init__.py", line 38, in <module>
from .client import (
File "/opt/pupy/network/lib/picocmd/client.py", line 31, in <module>
from ecpv import ECPV
File "/opt/pupy/network/lib/picocmd/ecpv.py", line 11, in <module>
from Crypto.Hash import SHA1, SHA3_256, SHA3_512
File "/usr/local/lib/python2.7/dist-packages/Crypto/Hash/SHA1.py", line 23, in <module>
from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,
File "/usr/local/lib/python2.7/dist-packages/Crypto/Util/_raw_api.py", line 32, in <module>
from Crypto.Util.py3compat import byte_string
ImportError: cannot import name byte_string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment