shellphish / fuzzer

A Python interface to AFL, allowing for easy injection of testcases and other functionality.
BSD 2-Clause "Simplified" License
638 stars 130 forks source link

test_fuzzer.py error #11

Closed ronakdborad closed 7 years ago

ronakdborad commented 7 years ago

Hi,

While testing the fuzzer with the given test script, it is stopping with below error.

ERROR | 2017-02-03 16:35:01,011 | fuzzer.fuzzer | AFL Error: Pipe at the beginning of core_pattern Traceback (most recent call last): File "test_fuzzer.py", line 124, in run_all() File "test_fuzzer.py", line 121, in run_all all_functions[f]() File "test_fuzzer.py", line 76, in test_fuzzer_spawn f = fuzzer.Fuzzer(binary, "work") File "/home/rborad/driller/local/lib/python2.7/site-packages/fuzzer/fuzzer.py", line 46, in init Fuzzer._perform_env_checks() File "/home/rborad/driller/local/lib/python2.7/site-packages/fuzzer/fuzzer.py", line 496, in _perform_env_checks raise InstallError("execute 'echo core | sudo tee /proc/sys/kernel/core_pattern'") fuzzer.fuzzer.InstallError: execute 'echo core | sudo tee /proc/sys/kernel/core_pattern'

Can anyone help to resolve it.

Thanks

zardus commented 7 years ago

It literally says how to resolve it right in the exception :-)

ronakdborad commented 7 years ago

Thanks.