beefproject/beef — Issue #628: Augment module handler to allow pre_send to stop a command from being sent
Author: bcoles
Created: 2012-03-03 12:22:50+00:00
State: open
Labels: Enhancement, Maintainability, Priority Medium

Augment the command module handler to allow `pre_send` to stop a command from being sent if the user input is invalid.

All module input validation is currently performed within each command module (using JavaScript.)

The command should not be sent to the zombie if input validation fails. Instead input validation should be handled by module `pre_send` and an error message should be returned to the user advising which parameter was supplied incorrectly.