Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.15.142.42
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
studentportal_wait /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
MainPage.js
52.74
KB
-rwxr-xr-x
MainPage2.js
49.35
KB
-rwxr-xr-x
OnlineApp.js
758
B
-rwxr-xr-x
admin.js
15.54
KB
-rwxr-xr-x
advanced-form-elements.js
5.41
KB
-rwxr-xr-x
appRefund.js
7.75
KB
-rwxr-xr-x
chartjs.js
3.9
KB
-rwxr-xr-x
compressed.js
440.45
KB
-rwxr-xr-x
demo.js
3.53
KB
-rwxr-xr-x
examApp.js
23.21
KB
-rwxr-xr-x
examtimetable.js
2.35
KB
-rwxr-xr-x
forgot-password.js
3.24
KB
-rwxr-xr-x
form_submit.js
1.3
KB
-rwxr-xr-x
helpers.js
576
B
-rwxr-xr-x
iamarks.js
2.67
KB
-rwxr-xr-x
registration.js
4.88
KB
-rwxr-xr-x
script.js
3.28
KB
-rwxr-xr-x
sign-in.js
4.01
KB
-rwxr-xr-x
sign-up.js
10.38
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sign-up.js
function validateRegno() { if (!$("#validateform").valid()) { return; } var univcode = $("#univ").val(); var parameters = `&univ=${$("#univ").val()} ®no=${$("#regno").val()}`; $.ajax({ type: "post", url: "validateRegno.php", data: parameters, success: function(response) { var { status, result } = JSON.parse(response); if (status == "invalid") { swal({ title: "Invalid Reg. number / Roll number", type: "warning", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }); } else if (status == "success") { var { fname, ffather, fmother, fregno } = result; if (univcode == "001") { $("#aperinfo") .html(`<table class="table no-border" style="font-weight:600;font-size:14px"> <tr style="color:#ea0000;"> <td width="35%" >NEW REG. NO.</td><td width="2%"> : </td> <td> ${fregno}</td> </tr> <tr> <td width="35%">Student Name</td><td width="2%"> : </td><td> ${fname}</td> </tr> <tr> <td width="35%">Father Name</td><td width="2%"> : </td><td> ${ffather}</td> </tr> <tr> <td width="35%">Mother Name</td><td width="2%"> : </td><td> ${fmother}</td> </tr> </table>`); } else { $("#aperinfo") .html(`<table class="table no-border" style="font-weight:600;font-size:14px"> <tr> <td width="35%">Student Name</td><td width="2%"> : </td><td> ${fname}</td> </tr> <tr> <td width="35%">Father Name</td><td width="2%"> : </td><td> ${ffather}</td> </tr> <tr> <td width="35%">Mother Name</td><td width="2%"> : </td><td> ${fmother}</td> </tr> </table>`); } $(".card1").css("margin-top", "0%"); $("#hrule").css("display", "none"); // $("#sign-up-scroll").slimScroll({ // height: "700px" // }); $("#perinfo").css("display", "block"); $("#sendpasswd").css("display", "none"); $("#sendotpform").show(); } } }); } function validateInfo() { if (!$("#sendotpform").valid()) { return; } var parameters = `&mobile=${$("#mobile").val()}&email=${$("#email").val()} &univ=${$("#univ").val()} ®no=${$("#regno").val()}&dob=${$("#dob").val()} &password=${$("#password").val()}&adharno=${$("#adharno").val()} &parmobile=${$("#parmobile").val()}`; //password $.ajax({ type: "post", url: "validateInfo.php", data: parameters, success: function(response) { var { status, result } = JSON.parse(response); if (status == "invalid") { var { fmobexist, femailexist, fregexist } = result; var message; var id; if (fmobexist >= "1") { message = "This mobile number is already registered!!"; id = "mobile"; } else if (femailexist >= "1") { message = "This email id is already registered!!"; id = "email"; } else if (fregexist >= "1") { message = "This Reg. number / Roll number is already registered!!"; id = "regno"; } swal( { title: message, type: "warning", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }, function(isConfirm) { if (isConfirm) swal.close(); document.getElementById(id).focus(); } ); } else if (status == "invalidreg") { swal({ title: "Invalid Reg. number / Roll number", type: "warning", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }); } else if (status == "success") { $.ajax({ type: "post", url: "sendMobEmailOTP.php", data: parameters, success: function(response) { var { status, sms } = JSON.parse(response); if (sms == "Sent.") { swal({ title: "OTP Sent to your mobile and email Seperately", text: "Enter mobile OTP, Email OTP and proceed", type: "success", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }); $("#sendotp").html("Re-Send OTP"); $("#mobile").attr("disabled", "true"); $("#email").attr("disabled", "true"); $("#state").attr("disabled", "true"); $("#univ").attr("disabled", "true"); $("#regno").attr("disabled", "true"); $("#dob").attr("disabled", "true"); $("#password").attr("disabled", "true"); //cpassword $("#cpassword").attr("disabled", "true"); $("#otpform").show(); } } }); } } }); } function signup() { if (!$("#otpform").valid()) { return; } var parameters = `&mobile=${$("#mobile").val()} &motp=${$("#motp").val()}&eotp=${$("#eotp").val()}`; $.ajax({ type: "post", url: "signup.php", data: parameters, success: function(response) { var { status } = JSON.parse(response); if (status == "success") { swal( { title: "You have registered successfully to student portal", text: "Click OK to continue", type: "success", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }, function() { //window.location.href = 'sign-in.html'; signInWithSignup($("#mobile").val(), $("#password").val()); } ); } else { swal({ title: "Invalid OTP. Try resend OTP.", type: "warning", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }); } } }); } function signInWithSignup(regno, passwd) { var parameters = "®no=" + regno + "&passwd=" + passwd.toUpperCase(); $.ajax({ type: "post", url: "signin.php", data: parameters, success: function(response) { if (response === "invalid") { alert("Invalid Login"); } else { window.location.href = "MainPage.html"; } } }); } /* var mobile; var regno; function sendotps() { //$("#otpmsg").append('<img src="loding.gif" height="40" width="40"> SENDING OTP'); var parameters = `&mobile=${$('#mobile').val()}&email=${$('#email').val()} &univ=${$('#univ').val()} ®no=${$('#regno').val()}&dob=${$('#dob').val()} &password=${$('#password').val()}&adharno=${$('#adharno').val()}`; $.ajax({ type: 'post', url: 'sendMobEmailOTP.php', data:parameters, success: function(response) { var {status, sms, email} = JSON.parse(response); if(sms == 'Sent.' && email == 'success') { swal({ title: "OTP Sent to your mobile and email seperately", text: "Click OK and enter mobile and email OTP and proceed", type: "success", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }); $("#sendotp").html('Re-Send OTP'); $('#mobile').attr('disabled', 'true'); $('#email').attr('disabled', 'true'); $('#state').attr('disabled', 'true'); $('#univ').attr('disabled', 'true'); $('#regno').attr('disabled', 'true'); $('#dob').attr('disabled', 'true'); $('#password').attr('disabled', 'true');//cpassword $('#cpassword').attr('disabled', 'true'); } } }); } function showOtpStatus(response) { $("#otpmsg").html(""); response = $.trim(response); if(response == 'sent') { swal({ title: "OTP Sent to your mobile.", text: "Enter mobile OTP for next step of Registeration.", type: "success", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }); $("#sendpasswd").html('Re-Send OTP'); } else { $("#otpmsg").html(response); $("#otpmsg").css('color', 'red'); } } function showPassword(response) { if(response == "inserted") { swal({ title: "Registeration link has been sent to your Email.", text: "Click on the link for next step of Registeration", type: "success", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }, function () { window.location.href = 'index.html'; }); } else { $("#confirm").html(""); swal({ title: "Invalid OTP / OTP expired!!. Try resend OTP.", type: "warning", showCancelButton: false, confirmButtonColor: "#5495ff", confirmButtonText: "OK", closeOnConfirm: false }) //swal("Invalid OTP / OTP expired!!. Try resend OTP.", "warning");// } } function loadmaster() { $("#success").hide(); } function sendEmail() { var emailid = document.getElementById("email").value; var parameters = "&email="+emailid+"®no="+regno; $.ajax({ type: 'post', url: 'sendEmail.php', data:parameters, success: function(response) { if(response == 'inserted') { $("#email").prop('disabled', true); $("#sendemailbtn").prop('disabled', true); $("#msg").html('signup was successfull check your email inbox'); } } }); } */
Close