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 /
subir /
[ HOME SHELL ]
Name
Size
Permission
Action
bootstrap
[ DIR ]
drwxrwxr-x
uploads
[ DIR ]
drwxrwxr-x
class.upload.php
227.44
KB
-rwxrwxr-x
db.php
798
B
-rwxrwxr-x
delete.php
192
B
-rwxrwxr-x
image_list.php
679
B
-rwxrwxr-x
index.php
2.35
KB
-rwxrwxr-x
jquery.min.js
84.68
KB
-rwxrwxr-x
schema.sql
196
B
-rwxrwxr-x
upload.php
611
B
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : db.php
<?php /** * Conexion a la base de datos y funciones * Autor: evilnapsis **/ function con(){ return new mysqli("localhost","root","","images"); } function insert_img($title, $folder, $image){ $con = con(); $con->query("insert into image (title, folder,src,created_at) value (\"$title\",\"$folder\",\"$image\",NOW())"); } function get_imgs(){ $images = array(); $con = con(); $query=$con->query("select * from image order by created_at desc"); while($r=$query->fetch_object()){ $images[] = $r; } return $images; } function get_img($id){ $image = null; $con = con(); $query=$con->query("select * from image where id=$id"); while($r=$query->fetch_object()){ $image = $r; } return $image; } function del($id){ $con = con(); $con->query("delete from image where id=$id"); } ?>
Close