Code Monkey home page Code Monkey logo

Comments (3)

raildex1 avatar raildex1 commented on July 19, 2024 1

root@kali:~/ctf-tools/bin# ./manage-tools setup
No LSB modules are available.
dpkg-query: no packages found matching texinfo
dpkg-query: no packages found matching virtualenvwrapper
TOOLS | SETUP | Please install the following packages: build-essential libtool g++ gcc texinfo curl wget automake autoconf python python-dev git subversion unzip virtualenvwrapper
TOOLS | SETUP | Certain tools need i386 libraries (enable with 'dpkg --add-architecture i386; apt-get update').

Creating python2 virtualenv 'ctftools'

/root/ctf-tools/bin/ctf-tools-pip: line 33: virtualenv: command not found

I'm assuming the error he's talking about is similar to this @zardus

(EDIT - Fix for above was simple on Kali - just run
./manage-tools -s setup
)
On Kali 2016.1 Rolling edition.
Linux kali 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux

If he's referring to the pip then

https://lgogua.blogspot.com/2014/01/pip-list-error-correction-for-python-in.html

According to that blog updating pip solves the issue (maybe he's running an older version of Kali or something got corrupted - Kali starts playing up when you start messing around with it such as installing different versions on tools on one system).

pip install --upgrade distribute

In my case - I had to edit the ctf-tools-pip script and edit line 33 to -

virtualenv -p "$PY_INTERPRETER" "$VE_DIR"

removing --system-site-packages since Kali seems to not play nice with it.
Will play around a bit to make sure nothing breaks because of it.

^^Obviously above allowed successful manage-tools setup but since site packages aren't shared everything else failed.

EDIT - for Kali Python library isn't stored at /lib/python2.7/
its at /usr/local/lib/python2.7/

The error is caused because of /lib/python2.7/site-packages not existing.

Most tools still work fine - some packages in the kali repo just fail since they look for /lib/python2.7/site-packages so some tools like angr won't install.

But Kali is a pentesting distro anyways and is designed to work with hundreds of tools at hence why the default stuff isn't where it should be.

from ctf-tools.

lv7777 avatar lv7777 commented on July 19, 2024

error occurred, but I can running manage-toolscommand.
So this issue is roughly solved.

thanks.

from ctf-tools.

zardus avatar zardus commented on July 19, 2024

Could you post your system details (i.e., distro version and so forth) so we can try to track down the error?

from ctf-tools.

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.