-
Notifications
You must be signed in to change notification settings - Fork 347
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
Update sessions.py #614
base: master
Are you sure you want to change the base?
Update sessions.py #614
Conversation
siw3kosky
commented
Mar 31, 2022
- Changed plain print about completion of fuzzing session into log info message.
- Catching EOFError exception when all test cases are executed to not throw traceback.
- Changed plain print about completion of fuzzing session into log info message. - Catching EOFError exception when all test cases are executed to not throw traceback.
Thanks @siw3kosky ! In what situation does the |
Unfortunately, in my case, I always got |
@siw3kosky how do you execute the boofuzz script? Is it possible that the terminal doesn't support Maybe we should put a try catch directly around |
I executed it directly from the ubuntu shell and via vscode.
I think thats also a good solution, should I create new pull request? :) |
@siw3kosky We should trace down that error and figure out why it's happening -- ideally we shouldn't cause the exception in the first place if we can help it. Could you share a very simple script that reproduces the problem? |
Ok gentlemen, after a short investigation I know why it is happening.
I run my script with multiprocessing, so it is running in the background. |
@siw3kosky That makes sense! Which python library are you using for multithreading? In the case of multithreading, does it still make sense to leave the web server open for a time? |
I am using |
@siw3kosky are you able to share an example script showing how you run the fuzzer with If nothing else, I would wrap a try/except directly around the |
We could also detect if the shell is interactive or not. https://stackoverflow.com/questions/2356399/tell-if-python-is-in-interactive-mode |
I think it depends on the threading scheme being used. I was hoping @siw3kosky could share the approach being used. |