-
-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to write an HTTP fuzzer #2798
Comments
I would say that just the http status code might not be enough feedback for some really useful fuzzing (albeit possible). Maybe also take a look at https://github.com/TNO-S3/WuppieFuzz for inspiration, it sounds very much related. |
Been working on this for the past few days and the approach I'm taking is rewriting the the GenericInProcessExecutor but adding the metadata to state in the |
I'm currently writing a TCP/IP fuzzer for my master's thesis, where I'm using the TCP flags in the header of the returned packets as feedback. I'm using a custom (Disclaimer: Still very much work in progress, should be done in a bit more than a month) |
BTW for the TCP/IP thing, you could do an async mutational stage that spawns a bunch of tasks and collects and evals the results later (right?) |
One could do that probably, yes. I cannot — no time left :D Also: overcommit is a quick and dirty fix. |
@domenukk I also asked on the WuppieFuzz repo about the same issue, i.e. how they pass data outside the harness, and they actually don't pass data out the harness but rather return |
If I may: Have you considered just writing a custom |
You can use a ValueObserver, set a value in a global variable (or similar), LibAFL/libafl/src/observers/value.rs Line 33 in c5b7c7c
Then you can use a custom Feedback to write to metadata (or observe the value directly if that's what you want) |
Maybe there's a cleaner, more rusty way, @addisoncrump may know |
@riesentoaster I didn't think about writing one from scratch honestly - I think I'lll also try that out, thanks! |
Check out the |
Wasnt't sure if there was a forum to post questions, so I figured I'd ask here. As the title says, I'm trying to write an HTTP fuzzer for practice, but right now I'm kind of stuck at how to link things together. I'm writing an HTTPFeedback that holds a set of HTTP codes, and the idea is that in its
is_interesting
function, it will see if the HTTP status code is in its set, and return a value based on that. The only problem is, how do I communicate the returned HTTP status code to the feedback? Would I do that through the ExitKind or state or something else?Thanks if you're able to help out, and if this isn't the right place to ask, I'd be more than happy to repost my question somewhere else.
The text was updated successfully, but these errors were encountered: