Code Monkey home page Code Monkey logo

Comments (6)

stong avatar stong commented on August 18, 2024

Could you compile in Debug mode and run it? There should be some more output I think

from winnie.

kmackinley avatar kmackinley commented on August 18, 2024

I'm having the same issue. The only additional information that came out of compiling in debug mode is:

TRACE: Watchdog timeout

Otherwise, it is identical to OP's output above.

from winnie.

HE-UMU avatar HE-UMU commented on August 18, 2024

Hi, I am facing the same problem.

cmd: toy_example.exe out.cur_input
PEB=0x000000000028B000, Base address=0x0000000000030000
Binname: toy_example.exe, OEP: 0000000000001438
Entrypoint = 0000000000031438
TRACE: Watchdog timeout

[-] PROGRAM ABORT : Entrypoint trap trimed out: the forkserver injection failed, or the target process never reached its entrypoint.

     Location : spawn_child_with_injection(), e:\winnie\afl-fuzz\forkserver.c:448

from winnie.

Vulmatch avatar Vulmatch commented on August 18, 2024

@HE-UMU @kmackinley @newuser54
I figured it out. It is because the DLL injection works only when 32bit injects 32 exe or 64 bit inject 64bit. In this repo, the author by default sets the toy_example project to x86. Recompile both afl-fuzzer and toy_example.exe with x64 works.

However, I am facing another bug: "Failed to set process affinity" pops up in the forkserver.exe. Still working on this issue.

from winnie.

Vulmatch avatar Vulmatch commented on August 18, 2024

Ohhhh, finally it worked. I configured the virtual machine to contain 4 cores rather than one core and the problem solved. This is really a damn awesome project!

from winnie.

stong avatar stong commented on August 18, 2024

@LeoLiu-2020 Thank you!

I will update the documentation to specify the machine must be multicore.

from winnie.

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.