Visitar URL original
ImportError when trying to fuzz · Issue #39 · shellphish/fuzzer · GitHub
Skip to content
This repository was archived by the owner on May 1, 2019. It is now read-only.
This repository was archived by the owner on May 1, 2019. It is now read-only.

ImportError when trying to fuzz #39

Open

Description

@Elothis

Hey,

I have successfully installed everything in a virtual environment and am now trying to fuzz a simple c-program with the following command:
shellphuzz -i -c 1 -d 1 /home/user/local_fuzzing/target/target_binary

When running this, i get the following error outputs:
WARNING | 2019-01-04 12:54:46,354 | angr.analyses.disassembly_utils | Your version of capstone does not support MIPS instruction groups. Traceback (most recent call last): File "/home/user/local_fuzzing/shellphish-afl/venv/bin/shellphuzz", line 10, in <module> import driller ImportError: No module named driller

Can anyone help me out with this? Is the angr error causing the ImportError and thats the reason for the crash? Or is just a warning I could ignore and the ImportError itself is the source of the crash? How do I fix it?

Thanks!

Addition:
For installation, I simply created a new virtual environment, activated into it and then ran the 2 commands like specified in the ReadMe here:
pip install git+https://github.com/shellphish/shellphish-afl
pip install git+https://github.com/shellphish/fuzzer

Activity

  1. rhelmot commented on Jan 4, 2019

    @rhelmot
    Member
  2. Elothis commented on Jan 6, 2019

    @Elothis
    Author

    Hi,
    thanks for your response. Doing a pip install git+https://github.com/shellphish/driller actually solved that ImportError, but now I just get the next one:
    Traceback (most recent call last): File "/home/user/local_fuzzing/shellphish-afl/venv/bin/shellphuzz", line 10, in <module> import driller File "/home/user/local_fuzzing/shellphish-afl/venv/local/lib/python2.7/site-packages/driller/__init__.py", line 1, in <module> from .driller_main import * File "/home/user/local_fuzzing/shellphish-afl/venv/local/lib/python2.7/site-packages/driller/driller_main.py", line 11, in <module> import tracer ImportError: No module named tracer

    There does not seem to be anything like shellphish/tracer, does it? What is missing now?
    Is there no complete installation guideline on how to setup driller? I simply want to use driller to fuzz and followed the instructions in the ReadMe here (which did not even tell me to do the install /shellphish/driller part you just told me).
    So, what do I have to install exactly to make the shellphuzz -i -c 1 -d 1 /home/user/local_fuzzing/target/target_binary command work? Up to this point I did the following 3:
    pip install git+https://github.com/shellphish/shellphish-afl
    pip install git+https://github.com/shellphish/fuzzer
    pip install git+https://github.com/shellphish/driller
    All inside my virtual environment. Anything else I need to fix the ImportError named above or anything that would pop up after fixing this one as well?

    Thank you very much :)

  3. rhelmot commented on Jan 6, 2019

    @rhelmot
    Member

    There are many more dependencies than are listed in the readme (which even helpfully notes that the list of dependencies is incomplete). Notably, driller requires tracer (angr/tracer) and shellphish-qemu. We can’t list this as an explicit dependency because there’s a different package called tracer on pypi.

  4. zardus commented on Jan 6, 2019

    @zardus
    Member
  5. rhelmot commented on Jan 6, 2019

    @rhelmot
    Member
  6. zardus commented on Jan 6, 2019

    @zardus
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions