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:
@@ -21,10 +21,12 @@ class Raw_javascript < BeEF::Command
|
||||
'value' => "alert(\'BeEF Raw Javascript\');\nreturn \'It worked!\';",
|
||||
'type' => 'textarea', 'width' => '400px', 'height' => '100px'],
|
||||
],
|
||||
'File' => __FILE__ ,
|
||||
'Target' => {
|
||||
'browser_name' => BeEF::Constants::Browsers::ALL
|
||||
}
|
||||
'File' => __FILE__
|
||||
})
|
||||
|
||||
set_target({
|
||||
'verified_status' => VERIFIED_WORKING,
|
||||
'browser_name' => ALL
|
||||
})
|
||||
|
||||
use_template!
|
||||
|
||||
Reference in New Issue
Block a user