Skip to content

yanshu911/long-driller

 
 

Repository files navigation

INSTALL

1. preinstall

sudo apt-get install python-dev libffi-dev build-essential python-pip git  
sudo apt-get build-dep qemu-system  

2. capstone source compile

./make.sh  
sudo ./make.sh install  

3. virtualenvwrapper

sudo apt-get install virtualenvwrapper  
vim ~/.bashrc to add " source /usr/share/virtualenvwrapper/virtualenvwrapper.sh "  
mkvirtualenv angr  

4. claripy

git clone https://github.com/angr/claripy.git  
pip install -r requirements.txt  
pip install -v -e .

5. angr

git clone https://github.com/angr/angr.git  
pip install -r requirements.txt  
pip install -v -e .

6. shellphish-qemu

git clone https://github.com/shellphish/shellphish-qemu.git  
sudo apt-get install libpixman-1-dev  
./rebuild.sh  
pip install -v -e . 

7. shellphish-afl

git clone https://github.com/shellphish/shellphish-afl.git  
python setup.py develop  
~/driller/shellphish-afl/bin/afl-cgc$ cp tracers/i386/afl-qemu-trace ./  
pip install -v -e .

8. tracer

git clone https://github.com/angr/tracer.git  
sudo apt-get install libacl1-dev  
pip install -r requirements.txt  
pip install -v -e .  

9. redis

http://blog.fens.me/linux-redis-install/  
sudo apt-get install redis-server  
pip install redis  

10. fuzzer

git clone https://github.com/shellphish/fuzzer.git  
pip install tqdm  
pip install IPython  
sudo apt-get install build-essential gcc-multilib libtool automake autoconf bison debootstrap debian-archive-keyring  
sudo apt-get build-dep qemu  
python setup.py build  
pip install -v -e .  

11. driller

pip install -r requirements.txt  
python setup.py build  
pip install -v -e .  

12. binaries

git clone --depth 1 https://github.com/angr/binaries.git  

cgc samples

http://www.lungetech.com/cgc-corpus/cwe/cfe/

test

1. driller_sample

cd fuzzer
./shellphuzz -c 1 -d 1 -f 8 --no-dictionary ../test/driller_sample/driller_sample

2. print_out

cd test/print_output
python print_output.py ../driller_sample/driller_sample /dev/shm/work/driller_sample/sync/driller/queue/

3. python_plot

python python_plot.py /dev/shm/work/driller_sample/fuzzer-master.log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.3%
  • C++ 0.7%
  • C 0.4%
  • TeX 0.3%
  • Makefile 0.2%
  • Shell 0.1%