Updated for issue 185. This change added another traffic light (orange == user prompt) to the module targets. Also targets are now set using the set_target() function.
No OS target functionality is currently in place. git-svn-id: https://beef.googlecode.com/svn/trunk@619 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -198,6 +198,8 @@ class Modules < BeEF::HttpController
|
||||
case command_module.verify_target() # select the correct icon for the command module
|
||||
when BeEF::Constants::CommandModule::MODULE_TARGET_VERIFIED_NOT_WORKING
|
||||
command_module_icon_path += BeEF::Constants::CommandModule::MODULE_TARGET_VERIFIED_NOT_WORKING_IMG
|
||||
when BeEF::Constants::CommandModule::MODULE_TARGET_VERIFIED_USER_NOTIFY
|
||||
command_module_icon_path += BeEF::Constants::CommandModule::MODULE_TARGET_VERIFIED_USER_NOTIFY_IMG
|
||||
when BeEF::Constants::CommandModule::MODULE_TARGET_VERIFIED_WORKING
|
||||
command_module_icon_path += BeEF::Constants::CommandModule::MODULE_TARGET_VERIFIED_WORKING_IMG
|
||||
when BeEF::Constants::CommandModule::MODULE_TARGET_VERIFIED_UNKNOWN
|
||||
|
||||
Reference in New Issue
Block a user