# Pantera - Web Pen-Test Proxy # # FILENAME : panteraHTML.py # CODER : Simon Roses Femerling # DATE : 12/06/2004 # LAST UPDATE : 07/04/2006 # ABSTRACT : Used by Pantera Proxy to create HTML Pages. # Heavely base on SpikeProxy. # # - 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. # ''' @author: Simon Roses Femerling @license: GNU General Public License 2.0 or later @contact: pantera.proxy@gmail.com @organization: OWASP / Roses Labs ''' ############################################################################################# # classes ############################################################################################# ############################################################################################# # FUNC : class PanteraHTML # PARAMS : ... # RETURN : ... # ABSTRACT : Pantera HTML class class PanteraHTML: ''' ''' ############################################################################################# # FUNC : def __init__ # PARAMS : ... # RETURN : ... # ABSTRACT : Init internal variables def __init__(self): ''' ''' """ __init__ func """ self.cssfilename="pantera.css" # our default css file self.index_data_rigth = "" self.index_data_left = "" self.inside = 0 self.data_footer = "

%s
\r\n" % data strhtml += "