passbe/beef-migration-test-2 — Issue #26: Add Command Module Function: Get command module callback
Author: passbe
Created: 2011-12-08 09:29:22+00:00
State: open

Add a callback function to permit the alteration of parameters and variables based upon the hooked browser details.

Currently, when the command module righthand pain is displayed, it is not possible to display the hooked browser's domain in a variable setting. This is because there is no callback to the module.

Add a callback method called pre_display() to /lib/modules/command.rb. This method will be called before the configuration options of each command module is presented in the browser. The likely place this callback will be triggered is the select_command_module() function in /ui/modules/modules.rb.

It may help to refer to how the pre_send() callback works. pre_display() will be very similar.
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=160