Tn Jones Shell Bypass
:
18.221.239.169
:
160.187.54.56 / upgov.net
:
Linux 160-187-54-56.cprapid.com 4.18.0-553.22.1.lve.1.el7h.x86_64 #1 SMP Tue Oct 8 14:36:03 UTC 2024 x86_64
:
/
home
/
upgov
/
www
/
registrationform
/
Upload File:
files >> /home/upgov/www/registrationform/demo.php
<?php date_default_timezone_set("Asia/Kolkata"); ?> <?php include("connection.php"); $msg=""; if(isset($_REQUEST['submit'])) { function createID() { for ($i = 1; $i <=5; $i++) { $id .= rand(1,9); } return $id; } $ramvalue="RIPL".createID(); $deptname=$_REQUEST['deptname']; $scheme=$_REQUEST['scheme']; $postname=$_REQUEST['postname']; $district1=$_REQUEST['district1']; $postingloc=$_REQUEST['postingloc']; $location_name=$_REQUEST['location_name']; $candidatename=$_REQUEST['Fname']." ".$_REQUEST['Mname']." ".$_REQUEST['Lname']; $fathername=$_REQUEST['Father_Fname']." ".$_REQUEST['Father_Mname']." ".$_REQUEST['Father_Lname']; $gender=$_REQUEST['gen']; $mobile_no=$_REQUEST['mobile_no']; $mobile_no2=$_REQUEST['mobile_no1']; $Email_Id=$_REQUEST['Emailid']; $dob=$_REQUEST['month']."/".$_REQUEST['day']."/".$_REQUEST['year']; $age=$_REQUEST['age']; $category=$_REQUEST['category']; $selection_cate=$_REQUEST['selection_cate']; $peraddress=$_REQUEST['peraddress'];$percity=$_REQUEST['percity']." ".$_REQUEST['percity1']." ".$_REQUEST['percity2']; $perblock=$_REQUEST['aadblock']; $bank=$_REQUEST['bankname']; $accountno=$_REQUEST['account']; $ifsc=$_REQUEST['ifsc']; $branchcode=$_REQUEST['branchcode']; $highroll=$_REQUEST['highroll']; $high=$_REQUEST['high'];$boardhigh=$_REQUEST['boardhigh'];$subhigh=$_REQUEST['subhigh'];$yearhigh=$_REQUEST['yearhigh'];$totalhigh=$_REQUEST['totalhigh'];$Mohigh=$_REQUEST['Mohigh'];$Divhigh=$_REQUEST['Divhigh']; $inter=$_REQUEST['inter'];$boardinter=$_REQUEST['boardinter'];$subinter=$_REQUEST['subinter'];$yearinter=$_REQUEST['yearinter'];$totalinter=$_REQUEST['totalinter'];$Mointer=$_REQUEST['Mointer'];$Divinter=$_REQUEST['Divinter']; $UG=$_REQUEST['ug']." ".$_REQUEST['ug1']; $boardug=$_REQUEST['boardug'];$subug=$_REQUEST['subug'];$yearug=$_REQUEST['yearug'];$totalug=$_REQUEST['totalug'];$Moug=$_REQUEST['Moug'];$Divug=$_REQUEST['Divug']; $PG=$_REQUEST['pg']." ".$_REQUEST['pg1']; $boardpg=$_REQUEST['boardpg'];$subpg=$_REQUEST['subpg'];$yearpg=$_REQUEST['yearpg'];$totalpg=$_REQUEST['totalpg'];$Mopg=$_REQUEST['Mopg'];$Divpg=$_REQUEST['Divpg']; $computercourse=$_REQUEST['comp'];$course_inst=$_REQUEST['com_insit'];$duration=$_REQUEST['ctotal']; $companyexp=$_REQUEST['companyname'];$postexp=$_REQUEST['Dpost'];$totexp=$_REQUEST['TXP']; $filedate=date('m/d/y,h:i:s'); $sq=mysql_query("select * from bastiapp where candidatename LIKE '$candidatename' and fathername LIKE '$fathername' and dob LIKE '$dob'"); if(mysql_num_rows($sq)>0) { $msg="ALready exist select count(*) from bastiapp where candidatename LIKE '$candidatename' and fathername LIKE '$fathername' and dob LIKE '$dob'"; } else { $uploadDir = 'document/'; $image_name = time()."-"; $extension = end(explode(".", $_FILES["idproof"]["name"])); if ($_FILES["idproof"]["error"] > 0){ echo "" . $_FILES["idproof"]["error"]; } else{ $documentupload= $uploadDir . $image_name . $_FILES["idproof"]["name"]; move_uploaded_file($_FILES["idproof"]["tmp_name"], $documentupload); } //Multiple mobiles numbers separated by comma $mobileNumber = $mobile_no; //Sender ID,While using route4 sender id should be 6 characters long. $senderId = "BE-RAMAIT"; $otp_code = strtoupper(bin2hex(openssl_random_pseudo_bytes(3))); // generate OTP PIN. //Your message to send, Add URL encoding here. $message = urlencode("hello Your Registration id - $ramvalue and $otp_code"); //Define route //Prepare you post parameters $postData = array( 'mobiles' => $mobileNumber, 'message' => $message, 'sender' => $senderId, ); //API URL $url="http://103.16.143.17/api/swsend.asp?username=ramainfo&password=rama@32123&sender=BE-RAMAIT&sendto=91$mobileNumber&message=$message"; // init the resource $ch = curl_init(); curl_setopt_array($ch, array( CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $postData //,CURLOPT_FOLLOWLOCATION => true )); //Ignore SSL certificate verification curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); //get response $output = curl_exec($ch); //Print error if any if(curl_errno($ch)) { echo 'error:' . curl_error($ch); } curl_close($ch); echo $output; $sq=mysql_query("insert into otpgenration(Reg_id,Mobileno,Verify_code,status) value ('$ramvalue','$mobileNumber','$otp_code','1')"); $sql = mysql_query("insert into bastiapp(Reg_id, Department, Scheme, Postname, District1,Postingloc,Location_name,candidatename, fathername, category,selection_cate, gender, dob, totalage, peraddress, perdistrict, email, mobileno, mobileno2, Bank, Accountno, IFSC, Branchcode, highschoolroll, highschool, sub_high, board_high, year_high, total_high, min_high, per_high, inter, sub_inter, board_inter, year_inter, total_inter, min_inter, per_inter, graduate, sub_ug, univ_ug, year_ug, total_ug, min_ug, per_ug, postgraduate, sub_pg, univ_pg, year_pg, total_pg, min_pg, per_pg, computercourse, course_insititute, courseduration, companyname, Dpost, Txp, Documentupload, created_date ,text1,text2,text3,text4,text5,text6,text7,text8,text9) values ('$ramvalue',UPPER('$deptname'),UPPER('$scheme'),UPPER('$postname'),UPPER('$district1'),UPPER('$postingloc'),UPPER('$location_name'),UPPER('$candidatename'),UPPER('$fathername'),UPPER('$category'),UPPER('$selection_cate'),UPPER('$gender'),UPPER('$dob'),UPPER('$age'),UPPER('$peraddress'),UPPER('$percity'),UPPER('$Email_Id'),UPPER('$mobile_no'),UPPER('$mobile_no2'),UPPER('$bank'),UPPER('$accountno'),UPPER('$ifsc'),UPPER('$branchcode'),UPPER('$highroll'),UPPER('$high'),UPPER('$subhigh'),UPPER('$boardhigh'),UPPER('$yearhigh'),UPPER('$totalhigh'),UPPER('$Mohigh'),UPPER('$Divhigh'),UPPER('$inter'),UPPER('$subinter'),UPPER('$boardinter'),UPPER('$yearinter'),UPPER('$totalinter'),UPPER('$Mointer'),UPPER('$Divinter'),UPPER('$UG'),UPPER('$subug'),UPPER('$boardug'),UPPER('$yearug'),UPPER('$totalug'),UPPER('$Moug'),UPPER('$Divug'),UPPER('$PG'),UPPER('$subpg'),UPPER('$boardpg'),UPPER('$yearpg'),UPPER('$totalpg'),UPPER('$Mopg'),UPPER('$Divpg'),UPPER('$computercourse'),UPPER('$course_inst'),UPPER('$duration'),UPPER('$companyexp'),UPPER('$postexp'),UPPER('$totexp'),'$documentupload','$filedate','$text1','$text2','$text3','$text4','$text5','$text6','$text7','$text8','$text9');"); $mobileNumber1=md5($mobile_no); if($sql==true) { echo "<script>"; echo "location.href='mobile_demo.php?mob=$mobileNumber1&id=$ramvalue'"; echo "</script>"; $msg="<font color='navy'>Record saved</font>"; } else { die("Details already Exist in our Record"); $msg='ALready exist'; } } } ?> <!DOCTYPE HTML> <html> <head> <title>RAMA INFOTECH PVT LTD</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="Cooks Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!-- Custom Theme files --> <link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" /> <!--<link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> <!-- js --> <script src="js/jquery-1.11.1.min.js"></script> <!-- //js --> <script type="text/javascript" src="js/panch1.js"></script> <!-- animation-effect --> <link href="css/animate.min.css" rel="stylesheet"> <script src="js/wow.min.js"></script> <style> input[type=text], select { padding: 8px 10px; margin: 4px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } input[type=submit]:hover { background-color: #45a049; } </style> <script> new WOW().init(); </script> <!-- //animation-effect --> <link href='//fonts.googleapis.com/css?family=Alex+Brush' rel='stylesheet' type='text/css'/> <link href='//fonts.googleapis.com/css?family=Cabin:400,400italic,500,500italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'/> <script type="text/javascript"> function fun11(birthday) { var day1 = birthday.day1.value; var month1 = birthday.month1.value; var year1 = birthday.year1.value; var day2= birthday.day2.value; var month2= birthday.month2.value; var year2= birthday.year2.value; if(year1>=year2) { alert("From year should not be greater than to year"); birthday.TXP.value = ""; return false; } var d=(day2,month2,year2)-(day1,month1,year1); birthday.TXP.value = d+" days, "+d+" months, "+d+" years"; } </script> <script type="text/javascript"> var startyear = "1950"; var endyear = "2016"; var dat = new Date(); var curday = dat.getDate(); var curmon = dat.getMonth()+1; var curyear = dat.getFullYear(); function checkleapyear(datea) { if(datea.getYear()%4 == 0) { if(datea.getYear()% 10 != 0) { return true; } else { if(datea.getYear()% 400 == 0) return true; else return false; } } return false; } function DaysInMonth(Y, M) { with (new Date(Y, M, 1, 12)) { setDate(0); return getDate(); } } function datediff(date1, date2) { var y1 = date1.getFullYear(), m1 = date1.getMonth(), d1 = date1.getDate(), y2 = date2.getFullYear(), m2 = date2.getMonth(), d2 = date2.getDate(); if (d1 < d2) { m1--; d1 += DaysInMonth(y2, m2); } if (m1 < m2) { y1--; m1 += 12; } return [y1 - y2, m1 - m2, d1 - d2]; } function calage() { var calday = document.birthday.day.options[document.birthday.day.selectedIndex].value; var calmon = document.birthday.month.options[document.birthday.month.selectedIndex].value; var calyear = document.birthday.year.options[document.birthday.year.selectedIndex].value; if(curday == "" || curmon=="" || curyear=="" || calday=="" || calmon=="" || calyear=="") { alert("please fill all the values and click go -"); } else { var curd = new Date(curyear,curmon-1,curday); var cald = new Date(calyear,calmon-1,calday); var diff = Date.UTC(curyear,curmon,curday,0,0,0) - Date.UTC(calyear,calmon,calday,0,0,0); var dife = datediff(curd,cald); document.birthday.age.value=dife[0]+" years"; } } </script> <script> function ValidateFileUpload() { var fuData = document.getElementById('pic'); var FileUploadPath = fuData.value; if (FileUploadPath == '') { alert("Please upload an image"); } else { var Extension = FileUploadPath.substring(FileUploadPath.lastIndexOf('.') + 1).toLowerCase(); if (Extension == "gif" || Extension == "png" || Extension == "bmp" || Extension == "jpeg" || Extension == "jpg" || ) { if (fuData.files && fuData.files[0]) { var size = fuData.files[0].size; if(size >= 40000) { alert("Maximum file 40 kb width (100 pixel) * height (120pixel)"); document.getElementById('pic').value=""; document.getElementById('pic').focus(); return; }else{ var reader = new FileReader(); reader.onload = function(e) { $('#blah').attr('src', e.target.result); } reader.readAsDataURL(fuData.files[0]); } } } else { alert("Photo only allows file types of GIF, PNG, JPG, JPEG and BMP. "); document.getElementById('pic').value=""; document.getElementById('pic').focus(); } } } </script> <script language="javascript"> var _validFileExtensions = [".jpg", ".jpeg", ".bmp", ".gif", ".png" ,".pdf"]; function ValidateSingleInput(oInput) { if (oInput.type == "file") { var sFileName = oInput.value; if (sFileName.length > 0) { var blnValid = false; for (var j = 0; j < _validFileExtensions.length; j++) { var sCurExtension = _validFileExtensions[j]; if (sFileName.substr(sFileName.length - sCurExtension.length, sCurExtension.length).toLowerCase() == sCurExtension.toLowerCase()) { blnValid = true; break; } } if (!blnValid) { alert("Sorry, " + sFileName + " is invalid, allowed extensions are: " + _validFileExtensions.join(", ")); oInput.value = ""; return false; } } } return true; } </script> <script> function fun(d) { var str=""; if(d=="OTHER") { str="<input type='text' name='percity1' required='required' id='percity1' style='width:240px;' placeholder='State Name' class='long'/> "; var str1="<input type='text' name='percity2' required='required' id='percity2' style='width:240px;' placeholder='District Name' class='long'/>"; } else { str=""; str1=""; } document.getElementById("perdist").innerHTML=str; document.getElementById("perdist1").innerHTML=str1; } </script> </head> <body> <!-- contact --> <div class="container"><br> <div class="col-md-12 contact-left wow fadeInRight" data-wow-duration="1000ms" data-wow-delay="300ms"> <form method="post" name="birthday" class="register" enctype="multipart/form-data"> <?php echo $msg;?> <fieldset style=" border:2px solid #F89422; -moz-border-radius:20px;-webkit-border-radius:20px;"> <h3 align="right"><center><font color="#F89422" face="andalus"><b>APPLICATION FORM</b></font></center> <a href="update1.php"><font size='3'><b>UPDATE-DOCUMENT</b></a> || <a href="updatedetail.php"><font size='3'><b>UPDATE-DETAIL</b></a></font></h3> <table width='100%' style='border:1px solid #F89422;' cellspacing='1' cellpadding='2'> <tr><td colspan="4" style="background-color:#F89422;"><center><span style="color:white;font-weight:bold;font-style:bold;"><strong><font size="3">Department Details</font></strong></span></center> </td></tr> <tr><td colspan="4"><br></td></tr> <tr> <td align="center"> <label><b>Department *</b> </label> <select style="width:240px;" name="deptname" id="deptname" required="required" class="long" onchange="schem(this.value)"> <option value=""></option> <option value="AGRICULTURE"> AGRICULTURE</option> <option value="POLYTECHNIC"> POLYTECHNIC</option> </select> </p> </td> </table> <table width='100%' style='border:1px solid #F89422;' cellspacing='1' cellpadding='2'> <tr><td colspan="4" style="background-color:#F89422;"><center><span style="color:white;font-weight:bold;font-style:bold;"><strong><font size="3">Personal Details</font></strong></span></center> </td></tr> <tr><td colspan="4"><br></td></tr> <tr> <td> <label><b> Name*</b> </label></td> <td> <input type="text" autocomplete="OFF" name="Fname" id="Fname" placeholder="First Name" required="required" class="long" onKeyPress="return IsAlphaNumeric(event);" style="width:120px;text-transform:uppercase;" /> <span id="error" style="color: Red; display: none">Special Characters not allowed</span> <input type="text" onKeyPress="return IsAlphaNumeric(event);" autocomplete="OFF" name="Mname" id="Mname" placeholder="Middle Name" class="long" style="width:120px;text-transform:uppercase;" /> <span id="error" style="color: Red; display: none">Special Characters not allowed</span> <input type="text" onKeyPress="return IsAlphaNumeric(event);" autocomplete="OFF" name="Lname" id="Lname" placeholder="Last Name" class="long" style="width:120px;text-transform:uppercase;" /> <span id="error" style="color: Red; display: none">Special Characters not allowed</span> </td> <td> <label><b>Father/Husband's Name*</b></label> </td><td> <input type="text" autocomplete="OFF" name="Father_Fname" id="Father_Fname" placeholder="First Name" required="required" class="long" onKeyPress="return IsAlphaNumeric(event);" style="width:120px;text-transform:uppercase;" /> <span id="error" style="color: Red; display: none">Special Characters not allowed</span> <input type="text" onKeyPress="return IsAlphaNumeric(event);" autocomplete="OFF" name="Father_Mname" id="Father_Mname" placeholder="Middle Name" class="long" style="width:120px;text-transform:uppercase;" /> <span id="error" style="color: Red; display: none">Special Characters not allowed</span> <input type="text" onKeyPress="return IsAlphaNumeric(event);" autocomplete="OFF" name="Father_Lname" id="Father_Lname" placeholder="Last Name" class="long" style="width:120px;text-transform:uppercase;" /> <span id="error" style="color: Red; display: none">Special Characters not allowed</span> </td> </tr> <tr><td colspan="5"><br></td></tr> <tr> <tr> <td> <label><b> 1st_Mobile_no*</b> </label> </td> <td> <input type="text" name="mobile_no" id="mobile_no" autocomplete="OFF" style="width:240px;" class="long" maxlength="10" onBlur="contactvalid(value)" placeholder="1st Mobile no." required="required"/><span id=contact1></span> </td> <td> <label><b>2nd_Mobile_no</b> </label></td> <td> <input type="text" name="mobile_no1" id="mobile_no1" autocomplete="OFF" style="width:240px;" class="long" maxlength="10" onBlur="contactvalid1(value)" placeholder="2nd Mobile no."/><span id=contact2></span> </td> </tr> <tr><td colspan="4"><br></td></tr> <tr> <td> <input type="submit" name="submit" value="Submit" onClick="return c11()" style="font-weight:bold;width:90px;height:35px;background-color:#F89422;color:white;"> </td><td> <input type="reset" name="reset" value="Reset" style="font-weight:bold;width:90px;height:35px;background-color:#F89422;color:white;"> </td> </tr> </table> </td> </tr> <tr><td colspan="5"><br></td></tr> </table> </fieldset> </div> <div class="clearfix"> </div><br><br> </div> <!-- footer --> <div class="footer-bottom wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="300ms"> <div class="container"> <p>All rights reserved | Design by <a href="http://www.ramaipl.com/"> Rama Infotech Pvt Ltd</a></p> </div> </div> <!-- //footer --> <!-- for bootstrap working --> <script type="text/javascript"> var specialKeys = new Array(); specialKeys.push(8); //Backspace specialKeys.push(9); //Tab specialKeys.push(46); //Delete specialKeys.push(36); //Home specialKeys.push(35); //End specialKeys.push(37); //Left specialKeys.push(39); //Right function IsAlphaNumeric(e) { var keyCode = e.keyCode == 0 ? e.charCode : e.keyCode; var ret = ((keyCode >= 48 && keyCode <= 57) || (keyCode >= 65 && keyCode <= 90) || (keyCode >= 97 && keyCode <= 122) || (specialKeys.indexOf(e.keyCode) != -1 && e.charCode != e.keyCode)); document.getElementById("error").style.display = ret ? "none" : "inline"; return ret; } </script> <script src="js/bootstrap.js"></script> <!-- //for bootstrap working --> </body> </html>