Giter Site home page Giter Site logo

Comments (9)

ifratric avatar ifratric commented on July 25, 2024

It should work like than (I see in the example command lines on server you have port 800 and in one client port 8000 but I assume that's a typo in a bug report). Do you get any error messages on either client or server? What's the exact behavior you are experiencing?

from jackalope.

HappyLongShort avatar HappyLongShort commented on July 25, 2024

Yes,sorry my bad.I meant port 8000 on both.
This is on the same machine.
For the server instance
fuzzer.exe -start_server 127.0.0.1:8000 -out server_out_dir
For the client instance
fuzzer.exe -server 127.0.0.1:8000 -in in -out server_out_dir -t 1000 -delivery file -instrument_module test.dll -target_module example.exe -target_method fuzz -nargs 1 -iterations 1000 -persist -loop -cmp_coverage -- example.exe @@

I can see the port 8000 listening but it has 0 connections,and the samples are not saved at the server_samples dir but in the samples dir

from jackalope.

ifratric avatar ifratric commented on July 25, 2024

I just tried to reproduce and everything appears to be running normally for me. My commands

Server:

fuzzer.exe -start_server 127.0.0.1:8000 -out server_out

Client:

fuzzer.exe -in in -out out -t 1000 -delivery shmem -instrument_module test.exe -target_module test.exe -target_method fuzz -nargs 1 -iterations 10000 -persist -loop -cmp_coverage -server 127.0.0.1:8000 -- test.exe -m @@

Using the test binary provided with Jackalope and starting with a single input sample.

Note some server behavior that you might not expect

  • The client will not connect to the server until it finishes processing all files in the input corpus.
  • The client will not send any samples from the input corpus to the server. The server assumes all clients already have those. Thus, you'll see samples in the server's output directory only after the client discovers new samples not in corpus.

from jackalope.

ifratric avatar ifratric commented on July 25, 2024

Sorry, pressed send too soon, updated comment.

from jackalope.

HappyLongShort avatar HappyLongShort commented on July 25, 2024

That makes sense.Thanks for the quick response.Will let the fuzzer go through all the samples first

from jackalope.

ifratric avatar ifratric commented on July 25, 2024

One other thing, you might want to avoid pointing both the client and the server to the same output directory. While that might work due to server using different file and directory names in the output, I don't have a high degree of confidence this is always the case.

from jackalope.

HappyLongShort avatar HappyLongShort commented on July 25, 2024

Understood.Will it create state.dat in the client output dir?As that way would possible to resume fuzzing from the client dir with mupltiple threads

from jackalope.

ifratric avatar ifratric commented on July 25, 2024

Yes, both client and server will save state periodically in the output dir. That way you can resume both.

But even if you don't resume the client (and resume the server), the client should still be able to pick up the latest samples from the server.

from jackalope.

HappyLongShort avatar HappyLongShort commented on July 25, 2024

Understood.Thank you so much for answering my questions

from jackalope.

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.