Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
htdocs /
STR /
servicios /
[ HOME SHELL ]
Name
Size
Permission
Action
agregarMaterial.php
629
B
-rwxrwxr-x
agregarServicio.php
631
B
-rwxrwxr-x
cargarMaterial.php
613
B
-rwxrwxr-x
cargarServicios.php
606
B
-rwxrwxr-x
guardarCotizacion.php
2.11
KB
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : agregarMaterial.php
<?php if (isset($_POST['nombre']) && isset($_POST['descripcion']) && isset($_POST['medida']) && isset($_POST['precio']) ) { include "../conexion/conexion.php"; $nombre=$_POST['nombre']; $descripcion=$_POST['descripcion']; $medida=$_POST['medida']; $precio=$_POST['precio']; $query="INSERT INTO materiales VALUES(DEFAULT,'$nombre','$descripcion','$medida',$precio)"; $resultado=$enlace->query($query); if ($resultado) { echo "material agregado"; }else{ echo "error al agregar material"; } }else{ echo "error al recibir los datos"; } ?>
Close