- Seperated browser details detection into seperate modules. [Issue #: 280]

git-svn-id: https://beef.googlecode.com/svn/trunk@808 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
a.m.saafan@gmail.com
2011-03-26 19:40:20 +00:00
parent ecd1e428b6
commit c87649450d
8 changed files with 301 additions and 21 deletions

View File

@@ -0,0 +1,39 @@
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