Files
beef/modules/browser/detect_scripts_support/module.rb
scotty.b.brown@gmail.com 35f62714b1 Moving nextgen from a branch to the trunk!!!
git-svn-id: https://beef.googlecode.com/svn/trunk@908 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-20 07:54:56 +00:00

34 lines
841 B
Ruby

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