__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* A "safe" object module. In theory, objects permitted by this module will
* be safe, and untrusted users can be allowed to embed arbitrary flash objects
* (maybe other types too, but only Flash is supported as of right now).
* Highly experimental.
*/
class HTMLPurifier_HTMLModule_SafeObject extends HTMLPurifier_HTMLModule
{
/**
* @type string
*/
public $name = 'SafeObject';
/**
* @param HTMLPurifier_Config $config
*/
public function setup($config)
{
// These definitions are not intrinsically safe: the attribute transforms
// are a vital part of ensuring safety.
$max = $config->get('HTML.MaxImgLength');
$object = $this->addElement(
'object',
'Inline',
'Optional: param | Flow | #PCDATA',
'Common',
array(
// While technically not required by the spec, we're forcing
// it to this value.
'type' => 'Enum#application/x-shockwave-flash',
'width' => 'Pixels#' . $max,
'height' => 'Pixels#' . $max,
'data' => 'URI#embedded',
'codebase' => new HTMLPurifier_AttrDef_Enum(
array(
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'
)
),
)
);
$object->attr_transform_post[] = new HTMLPurifier_AttrTransform_SafeObject();
$param = $this->addElement(
'param',
false,
'Empty',
false,
array(
'id' => 'ID',
'name*' => 'Text',
'value' => 'Text'
)
);
$param->attr_transform_post[] = new HTMLPurifier_AttrTransform_SafeParam();
$this->info_injector[] = 'SafeObject';
}
}
// vim: et sw=4 sts=4
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Tidy | Folder | 0777 |
|
|
| Bdo.php | File | 1 KB | 0777 |
|
| CommonAttributes.php | File | 722 B | 0777 |
|
| Edit.php | File | 1.4 KB | 0777 |
|
| Forms.php | File | 5.7 KB | 0777 |
|
| Hypertext.php | File | 996 B | 0777 |
|
| Iframe.php | File | 1.15 KB | 0777 |
|
| Image.php | File | 1.36 KB | 0777 |
|
| Legacy.php | File | 5.72 KB | 0777 |
|
| List.php | File | 1.86 KB | 0777 |
|
| Name.php | File | 669 B | 0777 |
|
| Nofollow.php | File | 507 B | 0777 |
|
| NonXMLCommonAttributes.php | File | 354 B | 0777 |
|
| Object.php | File | 1.49 KB | 0777 |
|
| Presentation.php | File | 1.38 KB | 0777 |
|
| Proprietary.php | File | 995 B | 0777 |
|
| Ruby.php | File | 1.03 KB | 0777 |
|
| SafeEmbed.php | File | 1.07 KB | 0777 |
|
| SafeObject.php | File | 1.9 KB | 0777 |
|
| SafeScripting.php | File | 1.23 KB | 0777 |
|
| Scripting.php | File | 2.28 KB | 0777 |
|
| StyleAttribute.php | File | 780 B | 0777 |
|
| Tables.php | File | 2.3 KB | 0777 |
|
| Target.php | File | 599 B | 0777 |
|
| TargetBlank.php | File | 522 B | 0777 |
|
| TargetNoopener.php | File | 516 B | 0777 |
|
| TargetNoreferrer.php | File | 526 B | 0777 |
|
| Text.php | File | 3.35 KB | 0777 |
|
| Tidy.php | File | 7.08 KB | 0777 |
|
| XMLCommonAttributes.php | File | 352 B | 0777 |
|