merrychap / shellen

:cherry_blossom: Interactive shellcoding environment to easily craft shellcodes
MIT License
888 stars 97 forks source link

Installing on Ubuntu 17.04 #2

Closed Ekultek closed 6 years ago

Ekultek commented 6 years ago
sudo pip3 install shellen
[sudo] password for baal: 
The directory '/home/baal/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/baal/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting shellen
  Downloading shellen-0.1.6-py3-none-any.whl (120kB)
    100% |████████████████████████████████| 122kB 1.3MB/s 
Collecting termcolor (from shellen)
  Downloading termcolor-1.1.0.tar.gz
Requirement already satisfied: colorama in /usr/local/lib/python3.6/dist-packages (from shellen)
Collecting terminaltables (from shellen)
  Downloading terminaltables-3.1.0.tar.gz
Collecting capstone (from shellen)
  Downloading capstone-3.0.4.tar.gz (3.2MB)
    100% |████████████████████████████████| 3.2MB 286kB/s 
Collecting keystone-engine (from shellen)
  Downloading keystone-engine-0.9.1-3.tar.gz (2.8MB)
    100% |████████████████████████████████| 2.8MB 333kB/s 
Installing collected packages: termcolor, terminaltables, capstone, keystone-engine, shellen
  Running setup.py install for termcolor ... done
  Running setup.py install for terminaltables ... done
  Running setup.py install for capstone ... done
  Running setup.py install for keystone-engine ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-wsfforqd/keystone-engine/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-x6yapepm-record/install-record.txt --single-version-externally-managed --compile:
    /usr/lib/python3/dist-packages/setuptools/dist.py:341: UserWarning: Normalizing '0.9.1-3' to '0.9.1.post3'
      normalized_version,
    running install
    running build
    running build_py
    creating build
    creating build/lib
    creating build/lib/keystone
    copying keystone/systemz_const.py -> build/lib/keystone
    copying keystone/keystone_const.py -> build/lib/keystone
    copying keystone/arm_const.py -> build/lib/keystone
    copying keystone/arm64_const.py -> build/lib/keystone
    copying keystone/__init__.py -> build/lib/keystone
    copying keystone/keystone.py -> build/lib/keystone
    copying keystone/sparc_const.py -> build/lib/keystone
    copying keystone/ppc_const.py -> build/lib/keystone
    copying keystone/x86_const.py -> build/lib/keystone
    copying keystone/hexagon_const.py -> build/lib/keystone
    copying keystone/mips_const.py -> build/lib/keystone
    running build_clib
    running custom_build_clib
    building 'keystone' library
    ../make-share.sh: 21: ../make-share.sh: cmake: not found
    running install_lib
    creating /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/systemz_const.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/keystone_const.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/arm_const.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/arm64_const.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/__init__.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/keystone.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/sparc_const.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/ppc_const.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/x86_const.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/hexagon_const.py -> /usr/local/lib/python3.6/dist-packages/keystone
    copying build/lib/keystone/mips_const.py -> /usr/local/lib/python3.6/dist-packages/keystone
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/systemz_const.py to systemz_const.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/keystone_const.py to keystone_const.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/arm_const.py to arm_const.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/arm64_const.py to arm64_const.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/__init__.py to __init__.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/keystone.py to keystone.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/sparc_const.py to sparc_const.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/ppc_const.py to ppc_const.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/x86_const.py to x86_const.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/hexagon_const.py to hexagon_const.cpython-36.pyc
    byte-compiling /usr/local/lib/python3.6/dist-packages/keystone/mips_const.py to mips_const.cpython-36.pyc
    running install_data
    creating /usr/lib/python3/dist-packages/keystone
    error: can't copy 'src/build/llvm/lib/libkeystone.so': doesn't exist or not a regular file

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-wsfforqd/keystone-engine/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-x6yapepm-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-wsfforqd/keystone-engine/

Seems to have some dependencies, what are they?

Ekultek commented 6 years ago

Use sudo apt-get install cmake. You should specify all the requirements for the program

merrychap commented 6 years ago

I will change readme a little bit later. Thank you very much! c: