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 /
recibos res /
[ HOME SHELL ]
Name
Size
Permission
Action
css
[ DIR ]
drwxrwxr-x
ftp
[ DIR ]
drwxrwxr-x
img
[ DIR ]
drwxrwxr-x
js
[ DIR ]
drwxrwxr-x
leerpdf
[ DIR ]
drwxrwxr-x
pdf
[ DIR ]
drwxrwxr-x
recibos
[ DIR ]
drwxrwxr-x
subir
[ DIR ]
drwxrwxr-x
admin.php
38
B
-rwxrwxr-x
buscar.php
1.92
KB
-rwxrwxr-x
cabecera.php
973
B
-rwxrwxr-x
conexion.php
220
B
-rwxrwxr-x
funciones.php
1.79
KB
-rwxrwxr-x
index.php
378
B
-rwxrwxr-x
login.php
3
KB
-rwxrwxr-x
respaldofunciones.php
2.49
KB
-rwxrwxr-x
sample.html
604.89
KB
-rwxrwxr-x
sample.pdf
563.46
KB
-rwxrwxr-x
super.php
38
B
-rwxrwxr-x
usuario.php
1.79
KB
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : buscar.php
<?php $mysqli= new mysqli("www.utparral.edu.mx","webamaster","Maestrodelweb2017","recibos"); $mysqli->query("SET NAMES 'utf8'"); $salida=""; $r = $mysqli->real_escape_string($_POST['rfc']); $query = "SELECT * FROM recibos where rfc='$r' order by anio,quincena"; if(isset($_POST['anio'])){ $a = $mysqli->real_escape_string($_POST['anio']); $r = $mysqli->real_escape_string($_POST['rfc']); $q = $mysqli->real_escape_string($_POST['quincena']); $query = "SELECT * FROM recibos WHERE "; $query.=" (quincena = '$q' "; $query.=" and anio ='$a')"; $query.=" and rfc= '$r'"; } $resultado = $mysqli->query($query); if ($resultado->num_rows>0){ $salida.="<table class='tabla_datos table table-striped table-hover '> <thead> <tr> <th>RFC</th> <th>Año</th> <th>Quincena</th> <th>Descargar</th> </thead> <tbody>"; while($fila = $resultado->fetch_assoc()){ $vinculo="recibos/".$fila['rfc'].".".$fila['quincena'].".".$fila['anio'].".pdf"; $descarga=$fila['rfc'].".".$fila['quincena'].".".$fila['anio'].".pdf"; $salida.="<tr> <td>".$fila['rfc']."</td> <td>".$fila['anio']."</td> <td>".$fila['quincena']."</td> <td><a href='".$vinculo."' download='".$descarga."'><button class='btn btn-primary'><span >Descargar</span></button></a></td> </tr>"; } $salida.="</tbody></table>"; }else{ $salida.="Ningun recibo coinside con tu busqueda"; } echo $salida; $mysqli->close(); ?>
Close