Code Monkey home page Code Monkey logo

ctf-tools's Introduction

ctf-tools

Build Status IRC

This is a collection of setup scripts to create an install of various security research tools. Of course, this isn't a hard problem, but it's really nice to have them in one place that's easily deployable to new machines and so forth. The install-scripts for these tools are checked regularly, the results can be found on the build status page.

Installers for the following tools are included:

Category Source Tool Description
binary Directory afl State-of-the-art fuzzer.
binary Directory angr Next-generation binary analysis engine from Shellphish.
binary Directory barf Binary Analysis and Reverse-engineering Framework.
binary Directory bindead A static analysis tool for binaries.
binary Library capstone Multi-architecture disassembly framework.
binary Directory checksec Check binary hardening settings.
binary Directory codereason Semantic Binary Code Analysis Framework.
binary Directory crosstool-ng Cross-compilers and cross-architecture tools.
binary Directory cross2 A set of cross-compilation tools from a Japanese book on C.
binary Directory elfkickers A set of utilities for working with ELF files.
binary Directory elfparser Quickly determine the capabilities of an ELF binary through static analysis.
binary Directory evilize Tool to create MD5 colliding binaries
binary Directory gdb Up-to-date gdb with python2 bindings.
binary Directory gdb-heap gdb extension for debugging heap issues.
binary Directory gef Enhanced environment for gdb.
binary Directory hongfuzz A general-purpose, easy-to-use fuzzer with interesting analysis options.
binary Library keystone Lightweight multi-architecture assembler framework.
binary Directory libheap gdb python library for examining the glibc heap (ptmalloc)
binary Library lief Library to Instrument Executable Formats.
binary Directory miasm Reverse engineering framework in Python.
binary Directory one_gadget Magic gadget search for libc.
binary Directory panda Platform for Architecture-Neutral Dynamic Analysis.
binary Directory pathgrind Path-based, symbolically-assisted fuzzer.
binary Directory peda Enhanced environment for gdb.
binary Directory preeny A collection of helpful preloads (compiled for many architectures!).
binary Directory pwndbg Enhanced environment for gdb. Especially for pwning.
binary Directory pwntools Useful CTF utilities.
binary Directory python-pin Python bindings for pin.
binary Directory qemu Latest version of qemu!
binary Directory qira Parallel, timeless debugger.
binary Directory radare2 Some crazy thing crowell likes.
binary Directory rappel A linux-based assembly REPL.
binary Directory ropper Another gadget finder.
binary Directory rp++ Another gadget finder.
binary Directory rr Record and Replay Debugging Framework
binary Directory scratchabit Easily retargetable and hackable interactive disassembler
binary Directory scratchablock Yet another crippled decompiler project
binary Directory seccomp-tools Provides powerful tools for seccomp analysis
binary Directory shellnoob Shellcode writing helper.
binary Directory shellsploit Shellcode development kit.
binary Directory snowman Cross-architecture decompiler.
binary Directory taintgrind A valgrind taint analysis tool.
binary Library unicorn Multi-architecture CPU emulator framework.
binary Directory valgrind A Dynamic Binary Instrumentation framework with some built-in tools.
binary Directory villoc Visualization of heap operations.
binary Directory virtualsocket A nice library to interact with binaries.
binary Directory wcc The Witchcraft Compiler Collection is a collection of compilation tools to perform binary black magic on the GNU/Linux and other POSIX platforms.
binary Directory xrop Gadget finder.
binary Directory manticore Manticore is a prototyping tool for dynamic binary analysis, with support for symbolic execution, taint analysis, and binary instrumentation.
forensics Directory binwalk Firmware (and arbitrary file) analysis tool.
forensics Directory dislocker Tool for reading Bitlocker encrypted partitions.
forensics Directory exetractor Unpacker for packed Python executables. Supports PyInstaller and py2exe.
forensics Directory firmware-mod-kit Tools for firmware packing/unpacking.
forensics apt foremost File carver.
forensics Directory pdf-parser Tool for digging in PDF files
forensics Directory peepdf Powerful Python tool to analyze PDF documents.
forensics Directory scrdec A decoder for encoded Windows Scripts.
forensics Directory testdisk Testdisk and photorec for file recovery.
crypto Library codext Python codecs extension featuring CLI tools for encoding/decoding anything including AI-based guessing mode.
crypto Directory cribdrag Interactive crib dragging tool (for crypto).
crypto Directory fastcoll An md5sum collision generator.
crypto Directory foresight A tool for predicting the output of random number generators. To run, launch "foresee".
crypto Directory featherduster An automated, modular cryptanalysis tool.
crypto Directory galois A fast galois field arithmetic library/toolkit.
crypto Directory hashkill Hash cracker.
crypto Directory hashpump A tool for performing hash length extension attaacks.
crypto Directory hashpump-partialhash Hashpump, supporting partially-unknown hashes.
crypto Directory hash-identifier Simple hash algorithm identifier.
crypto Directory libc-database Build a database of libc offsets to simplify exploitation.
crypto Directory littleblackbox Database of private SSL/SSH keys for embedded devices.
crypto Directory msieve Msieve is a C library implementing a suite of algorithms to factor large integers.
crypto Directory nonce-disrespect Nonce-Disrespecting Adversaries: Practical Forgery Attacks on GCM in TLS.
crypto Directory pemcrack SSL PEM file cracker.
crypto Directory pkcrack PkZip encryption cracker.
crypto Directory python-paddingoracle Padding oracle attack automation.
crypto Directory reveng CRC finder.
crypto Directory ssh_decoder A tool for decoding ssh traffic. You will need ruby1.8 from https://launchpad.net/~brightbox/+archive/ubuntu/ruby-ng to run this. Run with ssh_decoder --help for help, as running it with no arguments causes it to crash.
crypto Directory sslsplit SSL/TLS MITM.
crypto Directory xortool XOR analysis tool.
crypto Directory yafu Automated integer factorization.
web Directory burpsuite Web proxy to do naughty web stuff.
web Directory commix Command injection and exploitation tool.
web Directory dirb Web path scanner.
web Directory dirsearch Web path scanner.
web Directory mitmproxy CLI Web proxy and python library.
web Directory sqlmap SQL injection automation engine.
web Directory subbrute A DNS meta-query spider that enumerates DNS records, and subdomains.
web Library webgrep grep for Web pages, with JS deobfuscation, CSS unminifying and OCR on images.
stego apt pngtools PNG's analysis tool.
stego Directory sound-visualizer Audio file visualization.
stego Directory steganabara Another image stenography solver.
stego Directory stegano-tools A collection of text and image steganography tools (incl LSB, PVD, PIT).
stego Directory stegdetect Stenography detection/breaking tool.
stego Docker stego-toolkit A docker image with dozens of steg tools.
stego Directory stegsolve Image stenography solver.
stego Directory stegosaurus A steganography tool for embedding arbitrary payloads in Python bytecode (pyc or pyo) files.
stego Directory zsteg detect stegano-hidden data in PNG & BMP.
dsniff apt dsniff Grabs passwords and other data from pcaps/network streams.
android Directory apktool Dissect, dis-assemble, and re-pack Android APKs
android Directory android-sdk The android SDK (adb, emulator, etc).
misc Directory xspy Tiny tool to spy on X sessions.
misc Directory z3 Theorem prover from Microsoft Research.
misc Directory jdgui Java decompiler.
misc Directory veles Binary data analysis and visualization tool.
misc Directory youtube-dl Latest version of the popular youtube downloader.

There are also some installers for non-CTF stuff to break the monotony!

Category Tool Description
C magic C-bind A library used to enable function binding in C!
game Dwarf Fortress Something to help you relax after a CTF!
pyvmmonitor pyvmmonitor PyVmMonitor is a profiler with a simple goal: being the best way to profile a Python program.
library collection single_file_libs A large collection of useful single file include libraries written for C/C++
dolphin sudolphin If your friend ever leaves their laptop unlocked, curl -sSL sh.sudolph.in | sh then wait and see!
tor-browser tor-browser Useful when you need to hit a web challenge from different IPs.

Usage

To use, do:

# set up the path
/path/to/ctf-tools/bin/manage-tools setup
source ~/.bashrc

# list the available tools
manage-tools list

# install gdb, allowing it to try to sudo install dependencies
manage-tools -s install gdb

# install pwntools, but don't let it sudo install dependencies
manage-tools install pwntools

# install qemu, but use "nice" to avoid degrading performance during compilation
manage-tools -n install qemu

# uninstall gdb
manage-tools uninstall gdb

# uninstall all tools
manage-tools uninstall all

# search for a tool
manage-tools search preload

Where possible, the tools keep the installs very self-contained (i.e., in to tool/ directory), and most uninstalls are just calls to git clean (NOTE, this is NOT careful; everything under the tool directory, including whatever you were working on, is blown away during an uninstall). One exception to this are python tools, which are installed using the pip package manager if possible. A ctftools virtualenv is created during the manage-tools setup command and can be accessed using the command workon ctftools.

Help!

Something not working? I didn't write (almost) any of these tools, but hit up #ctf-tools on freenode if you're desperate. Maybe some kind soul will help!

Docker (version 1.7+)

By popular demand, a Dockerfile has been included. You can build a docker image with:

git clone https://github.com/zardus/ctf-tools
cd ctf-tools
docker build -t ctf-tools .

And run it with:

docker run -it ctf-tools

The built image will have ctf-tools cloned and ready to go, but you will still need to install the tools themselves (see above).

Alternatively, you can also pull ctf-tools (with some tools preinstalled) from dockerhub:

docker run -it zardus/ctf-tools

Vagrant

You can build a Vagrant VM with:

wget https://raw.githubusercontent.com/zardus/ctf-tools/master/Vagrantfile
vagrant plugin install vagrant-vbguest
vagrant up

And connect to it via:

vagrant ssh

Kali Linux

Kali Linux (Sana and Rolling), due to manually setting certain libraries to not use the latest version available (sometimes being out of date by years) causes some tools to not install at all, or fail in strange ways. AFL and Panda comes to mind, in fact any tool that uses QEMU 2.30 will probably fail during compilation under Kali. Overriding these libraries breaks other tools included in Kali so your only solution is to either live with some of Kali's tools being broken, or running another distribution separately such as Ubuntu.

Most tools aren't affected though.

Adding Tools

To add a tool (say, named toolname), do the following:

  1. Create a toolname directory.
  2. Create an install script.
  3. (optional) if special uninstall steps are required, create an uninstall script.

Install Scripts

The install script will be run with $PWD being toolname. It should install the tool into this directory, in as contained a manner as possible. Ideally, full uninstallation should be possible with a git clean.

The install script should create a bin directory and put its executables there. These executables will be automatically linked into the main bin directory for the repo. They could be launched from any directory, so don't make assumptions about the location of $0!

License

The individual tools are all licensed under their own licenses. As for ctf-tools itself, it is licensed under BSD 2-Clause License. If you find it useful, star it on github (https://github.com/zardus/ctf-tools).

Good luck!

See Also

There's a curated list of CTF tools, but without installers, here: https://github.com/apsdehal/aWEsoMe-cTf.

There's a Vagrant config with a lot of the bigger frameworks here: https://github.com/thebarbershopper/epictreasure.

ctf-tools's People

Contributors

angelkitty avatar antoniobianchi333 avatar boogy avatar cao avatar chen-bliss avatar crowell avatar cspensky avatar cub01d avatar dhondta avatar edznux avatar eugenekolo avatar f0rki avatar ga-ryo avatar hackertron avatar hal3002 avatar jcorina avatar lujun9972 avatar mantissts avatar nebirhos avatar pwnslinger avatar raildex1 avatar ret2libc avatar rhelmot avatar salls avatar samduy avatar stasinopoulos avatar stevenvanacker avatar subwire avatar zardus avatar zwimer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ctf-tools's Issues

Some Dockerfiles are not working

I just tested all Dockerfiles;

for df in Dockerfile*; do sudo docker build -t "ctf-tools-${df,,}" -f $df .; done

The Dockerfiles for Arch Linux, Fedora, and Ubuntu Artful are not working. See details below:

Arch Linux:

Step 1/29 : FROM base/archlinux
Trying to pull repository docker.io/base/archlinux ... 
Trying to pull repository registry.fedoraproject.org/base/archlinux ... 
Trying to pull repository quay.io/base/archlinux ... 
Trying to pull repository registry.access.redhat.com/base/archlinux ... 
Trying to pull repository registry.centos.org/base/archlinux ... 
Trying to pull repository docker.io/base/archlinux ... 
manifest for docker.io/base/archlinux:latest not found

Ubuntu Artful:

Step 1/22 : FROM ubuntu:artful
 ---> e211a66937c6
Step 2/22 : COPY .docker/apt-get-install /usr/local/bin/apt-get-install
 ---> Using cache
 ---> 35929049c268
Step 3/22 : RUN chmod +x /usr/local/bin/apt-get-install
 ---> Using cache
 ---> 6846ad88f6d9
Step 4/22 : RUN apt-get-install build-essential libtool g++ gcc     texinfo curl wget automake autoconf python python-dev git subversion     unzip virtualenvwrapper sudo  git virtualenvwrapper
 ---> Running in 593beb27edac
Ign:1 http://security.ubuntu.com/ubuntu artful-security InRelease
Err:2 http://security.ubuntu.com/ubuntu artful-security Release
  404  Not Found [IP: 91.189.88.149 80]
Ign:3 http://archive.ubuntu.com/ubuntu artful InRelease
Ign:4 http://archive.ubuntu.com/ubuntu artful-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu artful-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu artful Release
  404  Not Found [IP: 91.189.91.23 80]
Err:7 http://archive.ubuntu.com/ubuntu artful-updates Release
  404  Not Found [IP: 91.189.91.23 80]
Err:8 http://archive.ubuntu.com/ubuntu artful-backports Release
  404  Not Found [IP: 91.189.91.23 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu artful-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-backports Release' does not have a Release file.
The command '/bin/sh -c apt-get-install build-essential libtool g++ gcc     texinfo curl wget automake autoconf python python-dev git subversion     unzip virtualenvwrapper sudo  git virtualenvwrapper' returned a non-zero code: 100

Fedora:

[...]
Step 17/21 : RUN bin/manage-tools -s setup
 ---> Running in 3cc4dba74129
Last metadata expiration check: 0:01:53 ago on Mon Jun 24 09:52:08 2019.
Package gcc-9.1.1-1.fc30.x86_64 is already installed.
Package gcc-c++-9.1.1-1.fc30.x86_64 is already installed.
Package curl-7.64.0-7.fc30.x86_64 is already installed.
Package python-unversioned-command-2.7.16-2.fc30.noarch is already installed.
Package git-2.21.0-1.fc30.x86_64 is already installed.
Package unzip-6.0-43.fc30.x86_64 is already installed.
No match for argument: python-virtualenvwrapper
Package redhat-rpm-config-128-1.fc30.noarch is already installed.
Error: Unable to find a match
The command '/bin/sh -c bin/manage-tools -s setup' returned a non-zero code: 1

Best
Martin

Binwalk: fails to install on Ubuntu 14.10

The install failed -- looks like the package installation wasn't done in a writeable location?

Installing collected packages: binwalk
Running setup.py develop for binwalk
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/test-easy-install-8583.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /usr/local/lib/python2.7/dist-packages/

Perhaps your account does not have write access to this directory?  If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account.  If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

  https://pythonhosted.org/setuptools/easy_install.html

Please make the appropriate changes for your system and try again.

Complete output from command /usr/bin/python -c "import setuptools, tokenize; __file__='/home/edg/code/ctf-tools/binwalk/binwalk/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
running develop

error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the

installation directory:

[Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/test-easy-install-8583.write-test'

The installation directory you specified (via --install-dir, --prefix, or

the distutils default setting) was:

/usr/local/lib/python2.7/dist-packages/

Perhaps your account does not have write access to this directory? If the

installation directory is a system-owned directory, you may need to sign in

as the administrator or "root" account. If you do not have administrative

access to this machine, you may wish to choose a different installation

directory, preferably one that is listed in your PYTHONPATH environment

variable.

For information on other options, you may wish to consult the

documentation at:

https://pythonhosted.org/setuptools/easy_install.html

Please make the appropriate changes for your system and try again.


Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize; file='/home/edg/code/ctf-tools/binwalk/binwalk/setup.py'; exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" develop --no-deps failed with error code 1 in /home/edg/code/ctf-tools/binwalk/binwalk
Storing debug log for failure in /tmp/tmp1q6Xkc

Add Dependencies list

create an option where user can install dependencies for all or specific tools before the install

python virtualenv

Currently, we force the user to create a virtualenv before running manage-tools. Maybe we should have manage-tools automatically create a virtualenv for each tool?

Vagrant VM: binwalk

When installing binwalk, the $VIRTUAL_ENV is not set and results in broken symlinks (see the binwalk install script)

Zsteg : INSTALL FAILED

TOOLS | zsteg | starting install, logging to /home/ctf/tools/zsteg/install.log
TOOLS | zsteg | Warning: make sure build dependencies are installed!
TOOLS | zsteg | INSTALL FAILED
+ gem install --user-install zsteg
./install: line 3: gem: command not found

gem shall be added in the Dockerfile or explicitly installed in zsteg/install.

Are duplicated purpose tools interesting?

It seems this already has Ropper, rp++, and other tools to create rop gadgets.

So, would it be interesting to add ropgadget? (my go to tool) Or, do you want to minimize duplication of tools for the job?

some things are downloaded over http

there are a bunch of tools downloaded over http. this isn't great in the case of being somewhere where your wifi can't be trusted (onsite at a ctf for example ;-) )

fix tests

Tests are broken after the intelligent tool grouping stuff.

appdirs python module missing for pwntools install

As title.

` File "/root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pkg_resources/init.py", line 74, in

import appdirs

ImportError: No module named appdirs


Cleaning up...
Command /root/.virtualenvs/ctftools/bin/python2 -c "import setuptools, tokenize;file='/root/.virtualenvs/ctftools/build/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-mkVBh_-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools/include/site/python2.7 failed with error code 1 in /root/.virtualenvs/ctftools/build/cffi
Traceback (most recent call last):
File "/root/.virtualenvs/ctftools/bin/pip", line 11, in
sys.exit(main())
File "/root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/init.py", line 185, in main
guess = get_similar_commands(cmd_name)
File "/root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main
},
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 31: ordinal not in range(128)
`

Using a clean install of Ubuntu Trusty 14.04.

Haven't done any pull requests for a while so I don't know the conventions on using pip install for tool installs.

add patchkit

https://github.com/lunixbochs/patchkit

Problem is it depends on the keystone, capstone, unicorn triad all from git. Should we install those generically and set LD_LIBRARY_PATH so that all other tools can use it, or keep it just to the patchkit subdir?

tor-browser install script is maybe dead

environment

kali linux 2018.3a

errors

root@kali7777:~/config_files/ctf-tools# manage-tools setup tor-browser
無視:1 http://dl.google.com/linux/chrome/deb stable InRelease
ヒット:2 https://download.docker.com/linux/debian stretch InRelease            
ヒット:3 http://packages.microsoft.com/repos/vscode stable InRelease           
ヒット:4 http://dl.google.com/linux/chrome/deb stable Release                  
ヒット:6 http://ftp.ne.jp/Linux/packages/kali/kali kali-rolling InRelease      
パッケージリストを読み込んでいます... 完了
N: リポジトリ 'https://download.docker.com/linux/debian stretch InRelease' がアーキテクチャ 'i386' をサポートしないため設定ファイル 'stable/binary-i386/Packages' の取得をスキップ
W: ターゲット Packages (main/binary-amd64/Packages) は /etc/apt/sources.list:7 と /etc/apt/sources.list:17 で複数回設定されています
W: ターゲット Packages (main/binary-i386/Packages) は /etc/apt/sources.list:7 と /etc/apt/sources.list:17 で複数回設定されています
Warning: cannot find svn location for chirp===daily-20170714
root@kali7777:~/config_files/ctf-tools# 

missing aclocal-1.4

***During Installation of "stegdetect" warning occurs:

WARNING: aclocal-1.4' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `aclocal-1.4' program.
Makefile:183: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 1

***Doing "autoreconf -f -i" brought another error:

Makefile.am: error: Assembler source seen but 'CCAS' is undefined
Makefile.am: The usual way to define 'CCAS' is to add 'AM_PROG_AS'
Makefile.am: to 'configure.in' and run 'aclocal' and 'autoconf' again.
Makefile.am: error: Assembler source seen but 'CCASFLAGS' is undefined
Makefile.am: The usual way to define 'CCASFLAGS' is to add 'AM_PROG_AS'
Makefile.am: to 'configure.in' and run 'aclocal' and 'autoconf' again.
autoreconf: automake failed with exit status: 1

Unicorn install crashing and burning under Ubuntu 14.04 Trusty (LTS)

ly and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading https://github.com/aquynh/capstone/archive/next.zip
/root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Requirement already up-to-date: pip in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 1))
Requirement already up-to-date: pycparser in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 2))
Requirement already up-to-date: psutil>=3.1.0 in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 3))
Requirement already up-to-date: python-ptrace>=0.8 in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 4))
Requirement already up-to-date: pyelftools in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 5))
Requirement already up-to-date: isort in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 6))
Requirement already up-to-date: six in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 7))
Requirement already up-to-date: future in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 8))
Requirement already up-to-date: ROPgadget in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 9))
Requirement already up-to-date: unicorn>=1.0.0 in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 10))
Installing collected packages: capstone
Found existing installation: capstone 4.0.0rc1
Uninstalling capstone-4.0.0rc1:
Successfully uninstalled capstone-4.0.0rc1
Running setup.py install for capstone: started
Running setup.py install for capstone: finished with status 'done'
Successfully installed capstone-4.0.0rc1

  • popd
    ~/ctf-tools/pwndbg
  • pip install -U capstone
    /root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
    SNIMissingWarning
    /root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    Requirement already up-to-date: capstone in /root/.virtualenvs/ctftools/lib/python2.7/site-packages
  • manage-tools install unicorn
    TOOLS | unicorn | starting install, logging to /root/ctf-tools/unicorn/install.log
  • ctf-tools-pip install -U unicorn
    Requirement already up-to-date: unicorn in /root/.virtualenvs/ctftools/lib/python2.7/site-packages
  • ctf-tools-pip3 install -U unicorn
    Downloading/unpacking unicorn
    Running setup.py (path:/root/.virtualenvs/ctftools3/build/unicorn/setup.py) egg_info for package unicorn

Installing collected packages: unicorn
Running setup.py install for unicorn
Building C extensions
cd qemu &&
./configure --cc="cc" --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden" --target-list="x86_64-softmmu, arm-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu,"

ERROR: Cannot use 'python', Python 2.4 or later is required.
       Note that Python 3 or later is not yet supported.
       Use --python=/path/to/python to specify a supported Python.

make: *** [qemu/config-host.h-timestamp] Error 1
error: [Errno 2] No such file or directory: 'libunicorn.so'
Complete output from command /root/.virtualenvs/ctftools3/bin/python3 -c "import setuptools, tokenize;__file__='/root/.virtualenvs/ctftools3/build/unicorn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nut9ondu-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools3/include/site/python3.4:
running install

running build

Building C extensions

cd qemu && \

./configure --cc="cc" --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden" --target-list="x86_64-softmmu, arm-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu,"

ERROR: Cannot use 'python', Python 2.4 or later is required.

   Note that Python 3 or later is not yet supported.

   Use --python=/path/to/python to specify a supported Python.

make: *** [qemu/config-host.h-timestamp] Error 1

error: [Errno 2] No such file or directory: 'libunicorn.so'


Cleaning up...
Command /root/.virtualenvs/ctftools3/bin/python3 -c "import setuptools, tokenize;file='/root/.virtualenvs/ctftools3/build/unicorn/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-nut9ondu-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools3/include/site/python3.4 failed with error code 1 in /root/.virtualenvs/ctftools3/build/unicorn
Storing debug log for failure in /root/.pip/pip.log
TOOLS | unicorn | INSTALL FAILED

  • apt-get -y install libglib2.0-dev
    Reading package lists...
    Building dependency tree...
    Reading state information...
    libglib2.0-dev is already the newest version.
    0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
  • ctf-tools-pip install -U unicorn
    Requirement already up-to-date: unicorn in /root/.virtualenvs/ctftools/lib/python2.7/site-packages
  • ctf-tools-pip3 install -U unicorn
    Downloading/unpacking unicorn
    Running setup.py (path:/root/.virtualenvs/ctftools3/build/unicorn/setup.py) egg_info for package unicorn

Installing collected packages: unicorn
Running setup.py install for unicorn
Building C extensions
cd qemu &&
./configure --cc="cc" --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden" --target-list="x86_64-softmmu, arm-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu,"

ERROR: Cannot use 'python', Python 2.4 or later is required.
       Note that Python 3 or later is not yet supported.
       Use --python=/path/to/python to specify a supported Python.

make: *** [qemu/config-host.h-timestamp] Error 1
error: [Errno 2] No such file or directory: 'libunicorn.so'
Complete output from command /root/.virtualenvs/ctftools3/bin/python3 -c "import setuptools, tokenize;__file__='/root/.virtualenvs/ctftools3/build/unicorn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nut9ondu-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools3/include/site/python3.4:
running install

running build

Building C extensions

cd qemu && \

./configure --cc="cc" --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden" --target-list="x86_64-softmmu, arm-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu,"

ERROR: Cannot use 'python', Python 2.4 or later is required.

   Note that Python 3 or later is not yet supported.

   Use --python=/path/to/python to specify a supported Python.

make: *** [qemu/config-host.h-timestamp] Error 1

error: [Errno 2] No such file or directory: 'libunicorn.so'


Cleaning up...
Command /root/.virtualenvs/ctftools3/bin/python3 -c "import setuptools, tokenize;file='/root/.virtualenvs/ctftools3/build/unicorn/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-nut9ondu-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools3/include/site/python3.4 failed with error code 1 in /root/.virtualenvs/ctftools3/build/unicorn
Storing debug log for failure in /root/.pip/pip.log
TOOLS | pwndbg | INSTALL FAILED

  • apt-get install -y libc6-dbg
    Reading package lists...
    Building dependency tree...
    Reading state information...
    libc6-dbg is already the newest version.
    0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
  • set -e -o pipefail
  • git clone --depth 1 https://github.com/pwndbg/pwndbg
    Cloning into 'pwndbg'...
  • source ctf-tools-venv-activate
    ++ [[ ./install =~ pip3 ]]
    ++ [[ ./install =~ pip2 ]]
    ++ [[ -z '' ]]
    ++ PY_VERSION=2
    +++ which python2
    ++ PY_INTERPRETER=/usr/bin/python2
    ++ [[ -z '' ]]
    ++ CTF_TOOLS_VE=ctftools
    ++ [[ 2 -eq 3 ]]
    ++ [[ -z '' ]]
    ++ export WORKON_HOME=/root/.virtualenvs
    ++ WORKON_HOME=/root/.virtualenvs
    ++ [[ ! -d /root/.virtualenvs ]]
    ++ VE_DIR=/root/.virtualenvs/ctftools
    ++ [[ ! -d /root/.virtualenvs/ctftools ]]
    ++ [[ ! -e /root/.virtualenvs/ctftools/bin/activate ]]
    ++ [[ -z '' ]]
    ++ [[ -n '' ]]
    ++ source /root/.virtualenvs/ctftools/bin/activate
    +++ deactivate nondestructive
    +++ unset pydoc
    +++ '[' -n '' ']'
    +++ '[' -n '' ']'
    +++ '[' -n /bin/bash -o -n '' ']'
    +++ hash -r
    +++ '[' -n '' ']'
    +++ unset VIRTUAL_ENV
    +++ '[' '!' nondestructive = nondestructive ']'
    +++ VIRTUAL_ENV=/root/.virtualenvs/ctftools
    +++ export VIRTUAL_ENV
    +++ _OLD_VIRTUAL_PATH=/root/ctf-tools/bin:/root/ctf-tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
    +++ PATH=/root/.virtualenvs/ctftools/bin:/root/ctf-tools/bin:/root/ctf-tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
    +++ export PATH
    +++ '[' -n '' ']'
    +++ '[' -z '' ']'
    +++ _OLD_VIRTUAL_PS1=
    +++ '[' x '!=' x ']'
    ++++ basename /root/.virtualenvs/ctftools
    +++ '[' ctftools = __ ']'
    ++++ basename /root/.virtualenvs/ctftools
    +++ PS1='(ctftools)'
    +++ export PS1
    +++ alias 'pydoc=python -m pydoc'
    +++ '[' -n /bin/bash -o -n '' ']'
    +++ hash -r
  • pushd pwndbg
    ~/ctf-tools/pwndbg/pwndbg ~/ctf-tools/pwndbg
  • pip install -Ur ./requirements.txt
    Collecting https://github.com/aquynh/capstone/archive/next.zip#subdirectory=bindings/python (from -r ./requirements.txt (line 11))
    /root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
    SNIMissingWarning
    /root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    /root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    Downloading https://github.com/aquynh/capstone/archive/next.zip
    /root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    Requirement already up-to-date: pip in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 1))
    Requirement already up-to-date: pycparser in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 2))
    Requirement already up-to-date: psutil>=3.1.0 in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 3))
    Requirement already up-to-date: python-ptrace>=0.8 in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 4))
    Requirement already up-to-date: pyelftools in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 5))
    Requirement already up-to-date: isort in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 6))
    Requirement already up-to-date: six in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 7))
    Requirement already up-to-date: future in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 8))
    Requirement already up-to-date: ROPgadget in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 9))
    Requirement already up-to-date: unicorn>=1.0.0 in /root/.virtualenvs/ctftools/lib/python2.7/site-packages (from -r ./requirements.txt (line 10))
    Installing collected packages: capstone
    Found existing installation: capstone 4.0.0rc1
    Uninstalling capstone-4.0.0rc1:
    Successfully uninstalled capstone-4.0.0rc1
    Running setup.py install for capstone: started
    Running setup.py install for capstone: finished with status 'done'
    Successfully installed capstone-4.0.0rc1
  • popd
    ~/ctf-tools/pwndbg
  • pip install -U capstone
    /root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
    SNIMissingWarning
    /root/.virtualenvs/ctftools/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    Requirement already up-to-date: capstone in /root/.virtualenvs/ctftools/lib/python2.7/site-packages
  • manage-tools install unicorn
    TOOLS | unicorn | starting install, logging to /root/ctf-tools/unicorn/install.log
  • ctf-tools-pip install -U unicorn
    Requirement already up-to-date: unicorn in /root/.virtualenvs/ctftools/lib/python2.7/site-packages
  • ctf-tools-pip3 install -U unicorn
    Downloading/unpacking unicorn
    Running setup.py (path:/root/.virtualenvs/ctftools3/build/unicorn/setup.py) egg_info for package unicorn

Installing collected packages: unicorn
Running setup.py install for unicorn
Building C extensions
cd qemu &&
./configure --cc="cc" --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden" --target-list="x86_64-softmmu, arm-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu,"

ERROR: Cannot use 'python', Python 2.4 or later is required.
       Note that Python 3 or later is not yet supported.
       Use --python=/path/to/python to specify a supported Python.

make: *** [qemu/config-host.h-timestamp] Error 1
error: [Errno 2] No such file or directory: 'libunicorn.so'
Complete output from command /root/.virtualenvs/ctftools3/bin/python3 -c "import setuptools, tokenize;__file__='/root/.virtualenvs/ctftools3/build/unicorn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nut9ondu-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools3/include/site/python3.4:
running install

running build

Building C extensions

cd qemu && \

./configure --cc="cc" --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden" --target-list="x86_64-softmmu, arm-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu,"

ERROR: Cannot use 'python', Python 2.4 or later is required.

   Note that Python 3 or later is not yet supported.

   Use --python=/path/to/python to specify a supported Python.

make: *** [qemu/config-host.h-timestamp] Error 1

error: [Errno 2] No such file or directory: 'libunicorn.so'


Cleaning up...
Command /root/.virtualenvs/ctftools3/bin/python3 -c "import setuptools, tokenize;file='/root/.virtualenvs/ctftools3/build/unicorn/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-nut9ondu-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools3/include/site/python3.4 failed with error code 1 in /root/.virtualenvs/ctftools3/build/unicorn
Storing debug log for failure in /root/.pip/pip.log
TOOLS | unicorn | INSTALL FAILED

  • apt-get -y install libglib2.0-dev
    Reading package lists...
    Building dependency tree...
    Reading state information...
    libglib2.0-dev is already the newest version.
    0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
  • ctf-tools-pip install -U unicorn
    Requirement already up-to-date: unicorn in /root/.virtualenvs/ctftools/lib/python2.7/site-packages
  • ctf-tools-pip3 install -U unicorn
    Downloading/unpacking unicorn
    Running setup.py (path:/root/.virtualenvs/ctftools3/build/unicorn/setup.py) egg_info for package unicorn

Installing collected packages: unicorn
Running setup.py install for unicorn
Building C extensions
cd qemu &&
./configure --cc="cc" --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden" --target-list="x86_64-softmmu, arm-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu,"

ERROR: Cannot use 'python', Python 2.4 or later is required.
       Note that Python 3 or later is not yet supported.
       Use --python=/path/to/python to specify a supported Python.

make: *** [qemu/config-host.h-timestamp] Error 1
error: [Errno 2] No such file or directory: 'libunicorn.so'
Complete output from command /root/.virtualenvs/ctftools3/bin/python3 -c "import setuptools, tokenize;__file__='/root/.virtualenvs/ctftools3/build/unicorn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nut9ondu-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools3/include/site/python3.4:
running install

running build

Building C extensions

cd qemu && \

./configure --cc="cc" --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden" --target-list="x86_64-softmmu, arm-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu,"

ERROR: Cannot use 'python', Python 2.4 or later is required.

   Note that Python 3 or later is not yet supported.

   Use --python=/path/to/python to specify a supported Python.

make: *** [qemu/config-host.h-timestamp] Error 1

error: [Errno 2] No such file or directory: 'libunicorn.so'


Cleaning up...
Command /root/.virtualenvs/ctftools3/bin/python3 -c "import setuptools, tokenize;file='/root/.virtualenvs/ctftools3/build/unicorn/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-nut9ondu-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ctftools3/include/site/python3.4 failed with error code 1 in /root/.virtualenvs/ctftools3/build/unicorn
Storing debug log for failure in /root/.pip/pip.log

root@anon-virtual-machine:/ctf-tools/bin# uname
Linux
root@anon-virtual-machine:
/ctf-tools/bin# uname -r
4.4.0-72-generic

I'll be honest I'm not too sure what the problem is... guessing should be using python 2 instead of python 3?

ctf-tools can't update existing installs

something like

manage-tools upgrade to update to the latest version of tools would be really awesome. Some things like afl-fuzz and radare2 update very frequently, and keeping in sync would be helpful.

StegHide

Adding the Steganography tool steghide can help a lot

sudo apt install steghide

Docker install broke at 7/23

Screenshot_2019-03-26_19-01-04
It seems the docker installation broke recently. I remember being able to use the docker file before summer but when installing on a new machine this is where it failed.

manage-tools should have a search

manage-tools search crypto for example should list the crypto tools and descriptions.

the stuff is all in the .md file, but it would be nice to be able to search from the script itself.

Install keystone/unicorn from pypi?

So keystone and unicorn are on pypi now. Currently they're built from git master. Should we switch to pip install (keystone|unicorn) and install the stable versions?

capstone is already installed from pypi.

Remove BinJitsu

All binjitsu changes have been added to pwntools upstream as mentioned here -

https://github.com/Gallopsled/pwntools/blob/dev/CHANGELOG.md

This was a large release (1305 commits since 2.2.0) with a lot of bugfixes and changes. The Binjitsu project, a fork of Pwntools, was merged back into Pwntools. As such, its features are now available here.

Binjitsu is no longer necessary.

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.