-
Notifications
You must be signed in to change notification settings - Fork 350
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
Boofuzz can take a while to finish after fuzzing completed (v0.4.0) #529
Comments
See below |
Im gonna re-open this again. I've rebooted the box and Im having the same issue from cold start. |
So, further digging. If i have 1 primitive in a block it will close straight after fuzzing has ended. In my python script: So, it looks like it does close eventually with more than 1 block, but Boofuzz (or something in my script) is churing away in the background after the permutations have finished. |
Thanks for the detailed report @boondoggler. The webinterface only updates once a test case has finished, so we can't see where exactly boofuzz gets stuck from the output of the webinterface. The easiest way to find out where the delay comes from would be to use a debugger. That way you could simply pause the script when it appears to be stuck. Just to make sure, the session option |
Hi, Thanks for your pointers. Will look into debug option. See attached console output. Yes keep_web_open is False So as you can see, it does eventually finish. This was captured using the Python script text file attached (possibly I should add a time stamp to the final "Finished" Banner to show how long it can take...) |
A quick look in a debugger, the code seems to be going around and around in these areas: block.py (mutations) 68-69 Unsuprising really as the Request: section is still active after fuzzing has stopped. Sorry wont have anytime until next week to look at this now. |
We are also seeing a hang-up in our fuzz test when moving from boofuzz 0.3.0 to 0.4.0. |
Thanks for looking into this @boondoggler. |
I could reproduce the issue now. The root of the long wait time seems to be the combinatorial test case generation which seems to be generating huge amounts of duplicates which are recognized as such and are skipped. Lines 1470 to 1471 in e1f0ebf
When debugging we jump between those two lines. Any idea how to fix this @jtpereyda? A workaround is to use |
Hi,
I have a perfectly functioning 0.2.0 python script which ends with:
.
.
.
session.fuzz()
print("Fuzzing Finished")
With 0.2.0, the fuzzer finishes and the script prints the Finished message and terminates correctly.
With 0.4.0, the fuzzing "appears" to finish (i.e. the webserver stops logging new payload mutations, as does the boofuzz web interface), but the Boofuzz never actually terminates. Web.png shows Boofuzz on its last mutation correctly, but the Request section is still running.
Looking at Wireshark output (wireshark.png), we see my last web server response (packet 64000) then there is just traffic relating to updating the test cases (packet 64005 onward).
Any ideas? Am I being a dork?
)
The text was updated successfully, but these errors were encountered: