Read the last error line and that should give you a clue why fuzzgrind isn't working.
Hello People,
I having some trouble with fuzzgrind:
Anyone mind help out?Code:root@bt:/pentest/fuzzers/fuzzgrind# ./fuzz/fuzz.py test [+] expanding execution with file input.txt Traceback (most recent call last): File "./fuzz/fuzz.py", line 404, in <module> search(target, worklist, [ None ] * 10) File "./fuzz/fuzz.py", line 301, in search child_inputs = expand_execution(input, callbacks) File "./fuzz/fuzz.py", line 190, in expand_execution pc = compute_path_constraint(input.filename) File "./fuzz/fuzz.py", line 137, in compute_path_constraint max_constraint=PARAM['MAX_BOUND']) File "/pentest/fuzzers/fuzzgrind/fuzz/valgrind.py", line 324, in run_valgrind p = subprocess.Popen(arg_valgrind + arg_prog, stdin=stdin, stdout=subprocess.PIPE, stderr=fp.fileno()) File "/usr/lib/python2.5/subprocess.py", line 594, in __init__ errread, errwrite) File "/usr/lib/python2.5/subprocess.py", line 1153, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Thank you.
Read the last error line and that should give you a clue why fuzzgrind isn't working.
Hello People,
"/usr/lib/python2.5/subprocess.py" is available:
"/pentest/fuzzers/fuzzgrind/fuzz/valgrind.py" is available:Code:root@bt:/usr/lib/python2.5# ls | grep subprocess.py subprocess.py subprocess.pyc subprocess.pyo
when I tried to execute valgrind.py, it was denied:Code:root@bt:/pentest/fuzzers/fuzzgrind/fuzz# ls | grep valgrind.py valgrind.py valgrind.pyc
Looking at the "valgrind.py"Code:root@bt:/pentest/fuzzers/fuzzgrind# ./fuzz/valgrind.py bash: ./fuzz/valgrind.py: Permission denied
I checked the "valgrind-3.4.1/build" directoryCode:import os import re import select import signal import subprocess import sys from ir_stmt import * from ir_expr import * from ir_type import * from x86g_calculate_condition import x86g_calculate_condition FUZZGRIND = './valgrind-3.4.1/build/bin/valgrind'
It was empty.Code:root@bt:/pentest/fuzzers/fuzzgrind/valgrind-3.4.1/build# ls -l total 0
This mean I am required to compile valgrind-3.4.1?
Thank you
Hello Guys,
I tried to reinstall the fuzzgrind, it seems not working either:
The installation process seems to cancel itself when it tried to install valgrind.....Code:oot@bt:/pentest/fuzzers/fuzzgrind# ./install.sh [fuzzgrind] Compiling some binaries make: Entering directory `/pentest/fuzzers/fuzzgrind/fault_detection' make: Nothing to be done for `all'. make: Leaving directory `/pentest/fuzzers/fuzzgrind/fault_detection' make: Entering directory `/pentest/fuzzers/fuzzgrind/testcase' make: Nothing to be done for `all'. make: Leaving directory `/pentest/fuzzers/fuzzgrind/testcase' [fuzzgrind] Installing valgrind root@bt:/pentest/fuzzers/fuzzgrind# python -V Python 2.5.2 root@bt:/pentest/fuzzers/fuzzgrind#
Anyone got solution to this problem?
Thank you.