Moving nextgen from a branch to the trunk!!!
git-svn-id: https://beef.googlecode.com/svn/trunk@908 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
34
modules/browser/detect_scripts_support/module.rb
Normal file
34
modules/browser/detect_scripts_support/module.rb
Normal file
@@ -0,0 +1,34 @@
|
||||
class Detect_scripts_support < BeEF::Core::Command
|
||||
|
||||
def initialize
|
||||
super({
|
||||
'Name' => 'Scripts Support',
|
||||
'Description' => %Q{
|
||||
This module will retrieve the selected zombie browser scripting engines.'
|
||||
},
|
||||
'Category' => 'Browser',
|
||||
'Author' => ['wade','vo','passbe','saafan'],
|
||||
'File' => __FILE__
|
||||
})
|
||||
|
||||
set_target({
|
||||
'verified_status' => VERIFIED_WORKING,
|
||||
'browser_name' => ALL
|
||||
})
|
||||
|
||||
use 'beef.dom'
|
||||
use_template!
|
||||
end
|
||||
|
||||
def callback
|
||||
content = {}
|
||||
content['Java enabled'] = @datastore['java_enabled']
|
||||
content['VBscript enabled'] = @datastore['vbscript_enabled']
|
||||
content['Has Flash'] = @datastore['has_flash']
|
||||
content['Has Google Gears'] = @datastore['has_googlegears']
|
||||
|
||||
save content
|
||||
#update_zombie!
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user