Giter VIP home page Giter VIP logo

Comments (2)

ivanfratric avatar ivanfratric commented on July 24, 2024 1

It seems that WinAFL was unable to write a new sample file over existing one. When that happens, WinAFL first attempts to kill the target process and then attempts to overwrite the file again. So the error you see can be one of two things:

  • Either WinAFL was unable to kill the target process or
  • The input file was open in such a way that even killing the target process didn't help to release it.

I'm curious to see which one it was. When that happens, can you check if you can delete the .cur_input file and check in the task manager if the target process is still running and try to kill it from there?

The only workaround for now is (after manually deleting the input file) to restart WinAFL and resume the fuzzing session. You can resume the session by using '-i -' instead of your input directory (same as Linux AFL).

In the future versions, it might be possible to resolve issues like this by falling to another input file if deleting the current one fails repeatedly (e.g. .cur_input1, .cur_input2 etc.)

from winafl.

bytems avatar bytems commented on July 24, 2024

So I ran WinAFL again to follow your suggestions and here are my observations.

When the tools reaches a hang, the following pops up:
image
Selecting cancel results in the system error message I talked about in the beginning of the issue.
However, if I don't select cancel. The tool does keep on running, and the '.cur_input' file keeps on getting updated. As such, if I try to delete the '.cur_input' file, a window pops up explaining that the deletion cannot be carried through because the file is open in another program.
Ending the task in "Task Manager" kills the target process and gets rid of the messages (shown above), and WinAFL still runs. Which is great.

Thanks ivanfratric. I believe the issue has been resolved.

from winafl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.