Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile request #20

Closed
andreafioraldi opened this issue Sep 4, 2019 · 2 comments
Closed

Dockerfile request #20

andreafioraldi opened this issue Sep 4, 2019 · 2 comments

Comments

@andreafioraldi
Copy link

Hi,
The shellphish fuzzer repository is archived and angr tracer is deprecated.
Seems also that you are using angr 7.
Can you provide a Dockerfile for Ubuntu 16.04 that downloads all the correct versions of this old software?
Or at least make a list of compatible versions.
Thank you.

Regards,
Andrea

@andreafioraldi
Copy link
Author

andreafioraldi commented Sep 4, 2019

Ok, I've seen only now that there is a docker image available to pull at the end of the readme.
Can you anyway put the Dockerfile in the repo?

@zjuchenyuan
Copy link

zjuchenyuan commented Sep 18, 2019

@andreafioraldi I have written a Dockerfile for tfuzz, maybe useful for you.

https://hub.docker.com/r/zjuchenyuan/tfuzz/dockerfile

FROM zjuchenyuan/base

LABEL description="T-Fuzz: fuzzing by program transformation"

RUN sed -i 's/# deb-src/deb-src/g' /etc/apt/sources.list &&\
    apt-get update && apt-get build-dep -y qemu-system && apt install -y libtool libtool-bin git build-essential gcc-multilib libtool automake autoconf bison debootstrap debian-archive-keyring libacl1-dev  python-pip python-virtualenv

RUN git clone https://github.com/radare/radare2.git &&\
    cd radare2 && ./sys/install.sh && cd .. 

# we ignore qemu install, as T-Fuzz will not use it
RUN git clone https://github.com/shellphish/shellphish-afl.git &&\
    cd shellphish-afl &&\
    python setup.py install &&\
    git clone --depth 1 https://github.com/mirrorer/afl /usr/bin/afl-unix &&\
    cd /usr/bin/afl-unix && make

# fix Deprecation Warning issue, here we use latest version of shellphish/fuzzer
RUN git clone https://github.com/HexHive/T-Fuzz &&\
    python -m pip install -U pip &&\
    cd T-Fuzz && sed -i 's/shellphish-afl==1.1//g' req.txt && pip install -r req.txt &&\
    pip install -U git+https://github.com/shellphish/fuzzer.git

# there are an issue related to number format of create_dict.py
ADD create_dict.py /usr/local/bin/create_dict.py

RUN chmod +x /usr/local/bin/create_dict.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants