!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.27 GB of 1859.98 GB (52.97%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     asignar-multiple.php (1.08 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
$pagina_actual
="";
$categoria_actual="";
require_once(
"includes/config.php");
require_once(
"includes/funciones.php");

if (
count($_POST)>0) {    

    
extract($_POSTEXTR_SKIP);

    if (isset(
$campo3)){//por si el renglon tiene 3 campos

        
$result $mysqli->query("
        DELETE FROM "
.$tabla."
        WHERE "
.$campo2."='".$valor_campo2."'
        AND "
.$campo3."='".$valor_campo3."'
        "
);

        foreach (
$_POST as $clave=>$valor){
            
$aux=explode("_",$clave);
            if (
$aux[0]=="id"){            
                
$result=$mysqli->query("
                INSERT INTO "
.$tabla." (".$campo1.", ".$campo2.", ".$campo3.") VALUES (
                    '"
.$aux[1]."',
                    '"
.$valor_campo2."',
                    '"
.$valor_campo3."'
                )"
);
            }
        }

    } else {
//si es un renglon simple

        
$result $mysqli->query("
        DELETE FROM "
.$tabla."
        WHERE "
.$campo2."='".$valor_campo2."'");

        foreach (
$_POST as $clave=>$valor){
            
$aux=explode("_",$clave);
            if (
$aux[0]=="id"){            
                
$result=$mysqli->query("
                INSERT INTO "
.$tabla." (".$campo1.", ".$campo2.")
                VALUES ('"
.$aux[1]."','".$valor_campo2."')
                "
);
            }
        }

    }

    
header('Location: '.$_SESSION["ultimo_asignar_multiple"]);
}
?>

:: 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: 2.776 ]--