Refactored out the 'commmamd' typos and added a new filter to use when checking the details returned from initially hooking a browser.
git-svn-id: https://beef.googlecode.com/svn/trunk@596 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -21,7 +21,7 @@ module BeEF
|
||||
|
||||
# get and check command id from the request
|
||||
command_id = @request.get_command_id()
|
||||
raise WEBrick::HTTPStatus::BadRequest, "command_id is invalid" if not BeEF::Filter.is_valid_commmamd_id?(command_id)
|
||||
raise WEBrick::HTTPStatus::BadRequest, "command_id is invalid" if not BeEF::Filter.is_valid_command_id?(command_id)
|
||||
|
||||
# get and check session id from the request
|
||||
hook_session_id = request.get_hook_session_id()
|
||||
|
||||
Reference in New Issue
Block a user