Closed SourceCodeDeleted closed 3 years ago
@SourceCodeDeleted Hey sorry for the issues in the install. We used to provide a Dockerfile to do this. We were talking about a more elegant solution, but we will likely add it back. I'll keep you posted and try to fix this today.
Oh I didn't receive a notification for this. I am happy to hear the news.
I understand that this is more of a library too and not just an executable , am I correct? I was speaking to someone else - Yan I believe.
@mahaloz I tried out a docker install earlier, and it seemed to drop to an Iron python shell. Do you know that that this is used for?
@mahaloz I tried out a docker install earlier, and it seemed to drop to an Iron python shell. Do you know that that this is used for?
What image were you testing? Are you able to test with the dockerfile provided in #9?
My bad, this fell through the cracks of things to do. I'll change the dockefile back to angr-dev based for simplicity for now (since I'm having failures with qemu)
@mahaloz I tried out a docker install earlier, and it seemed to drop to an Iron python shell. Do you know that that this is used for?
What image were you testing? Are you able to test with the dockerfile provided in #9?
I took it from this comment - last comment. Do you need me to retest? https://github.com/angr/phuzzer/issues/4#issuecomment-659171407
I re ran it and it said this
""" Directory './phuzzer' is not installable. File 'setup.py' not found. The command '/bin/sh -c pip3 install ./phuzzer' returned a non-zero code: 1
"""
I can look in a later on to see what errors are happening exactly, but not at this moment.
So I am trying his tool out and I have a few questions , mainly in regards to installation and launching.
When I ran the steps in the README.MD file I had to install additional lib ( libglib2.0-dev) . Anyway I received the following and I assume that I need to install afl.
I made it furthest on ubuntu 18.04 (I have tried 19 and 20.04) and I assume the use of python 3 , but I tried both 2.7 and 3. 3 appears correct , but I wanted to be sure since this project is from when python2 was still supported.
Command that I have run:
python -m phuzzer -i -c 4 -d 2 /home/user/works/qemu/angr-dev/foo
so I install AFL from here: https://github.com/google/AFL
This I installed with a simple
However the appears to look for the binaries in /usr/bin/afl-unix/afl-fuzz
well, Okey, simple enough I can just symlink them right? So I created a directory in /usr/bin/afl-unix/ and reran the program
python -m phuzzer -i -c 4 -d 2 /home/user/works/qemu/angr-dev/foo
It said ipython is not installed - I installed that using
pip install ipython
However, when running I am left with what appears to be an Ipython prompt [1] [2] - I am not sure sure what this means , but I want to confirm , did miss anything?
root@8500c3240373:~/angr-dev# python3 -m phuzzer -i -c 4 -d 2 foo
And I see in comments there is a docker image.