git-svn-id: https://beef.googlecode.com/svn/trunk@808 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
39 lines
681 B
Ruby
39 lines
681 B
Ruby
module BeEF
|
|
module Modules
|
|
module Commands
|
|
|
|
class Detect_plugins < BeEF::Command
|
|
|
|
def initialize
|
|
super({
|
|
'Name' => 'Installed Plugins',
|
|
'Description' => %Q{
|
|
This module will retrieve the selected zombie browser plugins.'
|
|
},
|
|
'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['Plugins'] = @datastore['plugins']
|
|
|
|
save content
|
|
#update_zombie!
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end |