mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-13 14:32:34 +00:00
added panda
This commit is contained in:
parent
972b468d56
commit
edc2428237
3 changed files with 36 additions and 0 deletions
|
@ -20,6 +20,7 @@ Installers for the following tools are included:
|
|||
| binary | [elfparser](http://www.elfparser.com/) | Quickly determine the capabilities of an ELF binary through static analysis. | <!--tool--><!--test-->
|
||||
| binary | [evilize](http://www.mathstat.dal.ca/~selinger/md5collision/) | Tool to create MD5 colliding binaries | <!--tool--><!--test-->
|
||||
| binary | [gdb](http://www.gnu.org/software/gdb/) | Up-to-date gdb with python2 bindings. | <!--tool--><!--failing-->
|
||||
| binary | [panda](https://github.com/moyix/panda) | Platform for Architecture-Neutral Dynamic Analysis. | <!--tool--><!--no-test-->
|
||||
| binary | [pathgrind](https://github.com/codelion/pathgrind) | Path-based, symbolically-assisted fuzzer. | <!--tool--><!--test-->
|
||||
| binary | [peda](https://github.com/longld/peda) | Enhanced environment for gdb. | <!--tool--><!--test-->
|
||||
| binary | [preeny](https://github.com/zardus/preeny) | A collection of helpful preloads (compiled for many architectures!). | <!--tool--><!--no-test-->
|
||||
|
|
34
panda/install
Executable file
34
panda/install
Executable file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
[ -e panda ] || git clone --depth 1 https://github.com/moyix/panda
|
||||
|
||||
curl -O http://ragestorm.net/distorm/distorm3.3-package.zip
|
||||
rm -rf distorm3
|
||||
unzip distorm3.3-package.zip
|
||||
make -C distorm3/make/linux -j
|
||||
mkdir -p lib
|
||||
cp distorm3/make/linux/*.so distorm3/*.a lib
|
||||
mkdir -p include
|
||||
cp distorm3/include/*.h include
|
||||
|
||||
pip install -U pycparser
|
||||
|
||||
sed -i -e "s|/usr/local|$PWD|" panda/qemu/build.sh
|
||||
export QEMU_CFLAGS="-I $PWD/include -L $PWD/lib"
|
||||
export QEMU_CXXFLAGS="-I $PWD/include -L $PWD/lib"
|
||||
#export LDFLAGS="-L $PWD/lib"
|
||||
cd panda/qemu
|
||||
./build.sh
|
||||
cd ../../
|
||||
|
||||
# link binaries
|
||||
mkdir -p bin
|
||||
cd bin
|
||||
ln -s ../panda/qemu/i386-softmmu/qemu-system-i386 ./panda-qemu-system-i386
|
||||
ln -s ../panda/qemu/arm-softmmu/qemu-system-arm ./panda-qemu-system-arm
|
||||
ln -s ../panda/qemu/x86_64-softmmu/qemu-system-x86_64 ./panda-qemu-system-x86_64
|
||||
for i in ../panda/scripts/*.py
|
||||
do
|
||||
ln -s $i ./panda-$(basename $i)
|
||||
done
|
||||
cd ..
|
1
panda/install-root
Executable file
1
panda/install-root
Executable file
|
@ -0,0 +1 @@
|
|||
apt-get -y install nasm libssl-dev libpcap-dev subversion curl autoconf libtool libc++-dev llvm-3.3-dev clang-3.3 unzip
|
Loading…
Reference in a new issue