HavocFramework / Havoc

The Havoc Framework.
GNU General Public License v3.0
6.31k stars 903 forks source link

ChunkBOFs fix when there are no parameters #429

Closed spd-000 closed 7 months ago

spd-000 commented 7 months ago

Hello!

This commit (https://github.com/HavocFramework/Havoc/commit/12025ead0f4431258593a518e2c7a15f2ff3f8ff) breaks BOFs that do not have parameters (like whoami, driversigs, etc ...)

Here is my quick fix that sets ParamsFileID = 0 when there are no parameters.

Feel free to modify/fix the code.

S4ntiagoP commented 7 months ago

Hi there! Thank for not only finding the issue but also taking the time to create your own fix. I think a found a simpler solution on this commit: https://github.com/HavocFramework/Havoc/commit/e6edba7df56ae4f996644ca7b8f9aa962a543d02. Let me know if you still are having issues.