• 大小: 381KB
    文件类型: .rar
    金币: 2
    下载: 3 次
    发布日期: 2021-06-11
  • 语言: PHP
  • 标签: cms  

资源简介

phpaa cms 当作练习SQL注入的平台,安装方便,漏洞明显,适合小白实战演练.

资源截图

代码片段和文件信息

“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2010 Frederico Caldeira Knabben

== BEGIN LICENSE ==

Licensed under the terms of any of the following licenses at your
choice:

 - GNU General Public License Version 2 or later (the “GPL“)
   http://www.gnu.org/licenses/gpl.html

 - GNU Lesser General Public License Version 2.1 or later (the “LGPL“)
   http://www.gnu.org/licenses/lgpl.html

 - Mozilla Public License Version 1.1 or later (the “MPL“)
   http://www.mozilla.org/MPL/MPL-1.1.html

== END LICENSE ==

This is the integration file for Python.
“““

import cgi
import os
import re
import string

def escape(text replace=string.replace):
    “““Converts the special characters ‘<‘ ‘>‘ and ‘&‘.

    RFC 1866 specifies that these characters be represented
    in HTML as < > and & respectively. In Python
    1.5 we use the new string.replace() function for speed.
    “““
    text = replace(text ‘&‘ ‘&‘) # must be done 1st
    text = replace(text ‘<‘ ‘<‘)
    text = replace(text ‘>‘ ‘>‘)
    text = replace(text ‘“‘ ‘"‘)
    text = replace(text “‘“ ‘‘‘)
    return text

# The FCKeditor class
class FCKeditor(object):
def __init__(self instanceName):
self.InstanceName = instanceName
self.basePath = ‘/fckeditor/‘
self.Width = ‘100%‘
self.Height = ‘200‘
self.ToolbarSet = ‘Default‘
self.Value = ‘‘;

self.Config = {}

def Create(self):
return self.CreateHtml()

def CreateHtml(self):
HtmlValue = escape(self.Value)
Html = ““

if (self.IsCompatible()):
File = “fckeditor.html“
link = “%seditor/%s?InstanceName=%s“ % (
self.basePath
File
self.InstanceName

if (self.ToolbarSet is not None):
link += “&Toolbar=%s“ % self.ToolbarSet

# Render the linked hidden field
Html += “yle=\“display:none\“ />“ % (
self.InstanceName
self.InstanceName
HtmlValue


# Render the configurations hidden field
Html += “yle=\“display:none\“ />“ % (
self.InstanceName
self.GetConfigFieldString()


# Render the editor iframe
Html += “rame id=\“%s\__frame\“ src=\“%s\“ width=\“%s\“ height=\“%s\“ frameborder=\“0\“ scrolling=\“no\“>rame>“ % (
self.InstanceName
link
self.Width
self.Height

else:
if (self.Width.find(“%%“) < 0):
WidthCSS = “%spx“ % self.Width
else:
WidthCSS = self.Width
if (self.Height.find(“%%“) < 0):
HeightCSS = “%spx“ % self.Height
else:
HeightCSS = self.Height

Html += “yle=\“width: %s; height: %s;\“ wrap=\“virtual\“>%s“ % (
self.InstanceName
WidthCSS
HeightCSS
HtmlValue

return Html

def IsCom

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        707  2008-06-06 14:05  phpaaCMS_0.5\include\editor\editor\filemanager\connectors\py\htaccess.txt

     文件       2212  2010-05-14 09:13  phpaaCMS_0.5\源码之家说明.txt

     文件       3100  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\skins\_fckviewstrips.html

     文件          0  2008-06-06 14:04  phpaaCMS_0.5\include\editor\editor\dialog\fck_spellerpages\spellerpages\blank.html

     文件       6113  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\filemanager\browser\default\browser.html

     文件       1593  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\wsc\ciframe.html

     文件       4138  2008-06-06 14:04  phpaaCMS_0.5\include\editor\editor\dialog\fck_spellerpages\spellerpages\controls.html

     文件       5651  2010-02-15 13:31  phpaaCMS_0.5\include\editor\editor\dialog\fck_about.html

     文件       6315  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_anchor.html

     文件       3110  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_button.html

     文件       3109  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_checkbox.html

     文件       5289  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_colorselector.html

     文件      10792  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_div.html

     文件      22602  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_docprops.html

     文件       2844  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_docprops\fck_document_preview.html

     文件        945  2008-06-06 14:05  phpaaCMS_0.5\include\editor\editor\dtd\fck_dtd_test.html

     文件       5732  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_flash.html

     文件       1593  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_flash\fck_flash_preview.html

     文件       2945  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_form.html

     文件       3141  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_hiddenfield.html

     文件       9785  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_image.html

     文件       2975  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_image\fck_image_preview.html

     文件      12885  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_link.html

     文件       3909  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_listprop.html

     文件      12343  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_paste.html

     文件       2669  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\plugins\placeholder\fck_placeholder.html

     文件       3125  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_radiobutton.html

     文件      17090  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_replace.html

     文件      23819  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_scayt.html

     文件       6275  2010-02-15 12:12  phpaaCMS_0.5\include\editor\editor\dialog\fck_select.html

............此处省略419个文件信息

评论

共有 条评论