#!/bin/bash
# install all aptitude
apt-get -y install subversion libboost-dev libboost-python-dev libboost-thread-dev libboost-system-dev python-pip python-dev libbz2-dev libboost-all-dev python-magic autoconf automake dh-autoreconf scons
# save for install location
HOME_PWD=`pwd`
# install libemu
git clone git://git.carnivore.it/libemu.git
cd libemu
autoreconf -v -i
./configure --enable-python-bindings --prefix=/opt/libemu
make -j4
make install
sh -c "echo /opt/libemu/lib > /etc/ld.so.conf.d/libemu.conf"
ldconfig
cd ..
# install pylibemu
git clone https://github.com/buffer/pylibemu.git
sh -c "echo /opt/libemu/lib > /etc/ld.so.conf.d/pylibemu.conf"
cd pylibemu
python setup.py build
python setup.py install
cd ..
# install yara
svn checkout http://yara-project.googlecode.com/svn/trunk/ yara-project
cd yara-project
./bootstrap.sh
./configure
make && make install
cd yara-python
python setup.py build
python setup.py install
sudo echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig
cd ../..
# install add aptitude and python modules
pip install beautifulsoup4 zope.interface pymongo cssutils httplib2 pefile chardet html5lib pyv8 jsbeautifier
easy_install pyparsing==1.5.7
pip install pydot
# download thug
git clone https://github.com/buffer/thug.git
# if you can't see thug's help. sorry, do not blame me.... i love you
python thug/src/thug.py -h
Thug.py - Bash Shell Script v2.0
- pyv8이 pip에서 설치가능하도록 바뀜. (scons 모듈이 존재해야함)
- yara project가 추가
- jsbeautifier 모듈이 추가
반응형
'Information Security > OpenSource' 카테고리의 다른 글
How to install libemu & pylibemu on Kali Linux (2) | 2014.01.17 |
---|---|
Yara Project 2.0 Release & How to install Yara 2.0 (0) | 2013.12.27 |
Krakatau - Using python, Java decompiler. (0) | 2013.08.20 |
Malcom 0.3 – Using Graphical of Network Traffic (0) | 2013.08.19 |
How to install thug.py Honeyclient on Kali linux (0) | 2013.05.20 |