Results 1 to 4 of 4

Thread: How to fix fuzzgrind errors?

  1. #1
    Just burned his ISO
    Join Date
    May 2010
    Posts
    5

    Question How to fix fuzzgrind errors?

    Hello People,

    I having some trouble with fuzzgrind:

    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
    Anyone mind help out?

    Thank you.

  2. #2
    Junior Member Liuser's Avatar
    Join Date
    Apr 2010
    Posts
    58

    Default Re: How to fix fuzzgrind errors?

    Read the last error line and that should give you a clue why fuzzgrind isn't working.

  3. #3
    Just burned his ISO
    Join Date
    May 2010
    Posts
    5

    Question Re: How to fix fuzzgrind errors?

    Hello People,

    "/usr/lib/python2.5/subprocess.py" is available:

    Code:
    root@bt:/usr/lib/python2.5# ls | grep subprocess.py
    subprocess.py
    subprocess.pyc
    subprocess.pyo
    "/pentest/fuzzers/fuzzgrind/fuzz/valgrind.py" is available:
    Code:
    root@bt:/pentest/fuzzers/fuzzgrind/fuzz# ls | grep valgrind.py
    valgrind.py
    valgrind.pyc
    when I tried to execute valgrind.py, it was denied:

    Code:
    root@bt:/pentest/fuzzers/fuzzgrind# ./fuzz/valgrind.py
    bash: ./fuzz/valgrind.py: Permission denied
    Looking at the "valgrind.py"

    Code:
    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'
    I checked the "valgrind-3.4.1/build" directory

    Code:
    root@bt:/pentest/fuzzers/fuzzgrind/valgrind-3.4.1/build# ls -l
    total 0
    It was empty.

    This mean I am required to compile valgrind-3.4.1?

    Thank you

  4. #4
    Just burned his ISO
    Join Date
    May 2010
    Posts
    5

    Question Re: How to fix fuzzgrind errors?

    Hello Guys,

    I tried to reinstall the fuzzgrind, it seems not working either:

    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#
    The installation process seems to cancel itself when it tried to install valgrind.....

    Anyone got solution to this problem?

    Thank you.

Similar Threads

  1. What do these errors mean?
    By DarkDavil in forum Beginners Forum
    Replies: 5
    Last Post: 05-17-2010, 09:19 PM
  2. Dell Latitude D531 boot errors. (media errors)
    By Dutch in forum OLD BackTrack 4 NON working hardware
    Replies: 2
    Last Post: 08-20-2009, 05:54 PM
  3. [HELP] HP WIFI Errors
    By Ziink in forum OLD Newbie Area
    Replies: 6
    Last Post: 07-30-2008, 04:17 PM
  4. Wesside-NG Errors
    By emerpus in forum OLD BT3final Support
    Replies: 8
    Last Post: 06-21-2008, 11:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •