Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Handle invalid payloads more clearly #11823
Currently, if you have an error in a payload module (e.g. you have a syntax error in a module), the error is not noticed early enough in the generation process by the parameter validator, leading to a mysterious message like so from msfvenom, due to it failing to instantiate the payload module later in the process:
This change cleans up some of the error handling, checks to see if the payload
I'm seeing a handful of spec errors, both via Travis here on Github, and locally:
I think most of the issue is that a few of the test cases will need updating, but I'm unclear as to why some seemingly unrelated test cases are failing now.
I'm happy to dig deeper later, but I'm going to call it a night for now.