# Pantera Passive Plugin Template # # FILENAME : plugin_template.py # CODER : Simon Roses Femerling # DATE : 06/07/2006 # LAST UPDATE : 06/07/2006 # ABSTRACT : # # - Roses Labs Innovations (RL+I) # Roses Labs # http://www.roseslabs.com # # Copyright (c) 2003-2006 Roses Labs. # # You may not distribute, transmit, repost this software for commercial # purposes without Roses Labs written permission. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, publish, # distribute the Software, and to permit persons to whom the Software # is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # from panteraPlugins import PPM plugin_info = {'id':"PluginTemplate", # Must the same name as the class!! 'name':"Plugin Template", # common name 'author':"Simon Roses Femerling", # author 'email':"sroses@roseslabs.com", # email 'version':"0.1", # plugin version 'desc':"Basic PPA plugin template.", # plugin description 'tag':"ssl" # Plugin must define to which tag it belongs } class PluginTemplate(PPM): """ Plugin class """ def InitAnalyzer(self): """ Init function """ PPM.__init__(self) # must always be here, to call Plugin class # # put code here # def BeginAnalyzer(self,obj): """ Begin PPA analysis function """ # # put code here # # RL+I EOF