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.12.34.96
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_test /
[ HOME SHELL ]
Name
Size
Permission
Action
css
[ DIR ]
drwxr-xr-x
html_modules
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
MainPage.html
7.6
KB
-rwxr-xr-x
MainPage2.html
15.28
KB
-rwxr-xr-x
Thumbs.db
2.5
KB
-rwxr-xr-x
background.jpg
42.45
KB
-rwxr-xr-x
cManualMailer.php
3.69
KB
-rwxr-xr-x
cronjob_sendsms.php
1.77
KB
-rwxr-xr-x
database.php
377
B
-rwxr-xr-x
forgot-password.html
5.51
KB
-rwxr-xr-x
forgot-password.php
2.19
KB
-rwxr-xr-x
forgotPassword.html
4.85
KB
-rwxr-xr-x
getLocation.php
429
B
-rwxr-xr-x
getstatesanduniv.php
419
B
-rwxr-xr-x
helpdesk.html
2.2
KB
-rwxr-xr-x
index.html
5.16
KB
-rwxr-xr-x
index2.html
9.49
KB
-rwxr-xr-x
instruction.html
4.46
KB
-rwxr-xr-x
lastdate.html
3.14
KB
-rwxr-xr-x
pgResponse.php
4.3
KB
-rwxr-xr-x
registration.html
7.25
KB
-rwxr-xr-x
registration.php
543
B
-rwxr-xr-x
resetpassword.php
696
B
-rwxr-xr-x
sendGridMail.php
1.2
KB
-rwxr-xr-x
sendMobEmailOTP.php
3.44
KB
-rwxr-xr-x
sendsmsapi.php
434
B
-rwxr-xr-x
sendsmsbulk.php
791
B
-rwxr-xr-x
sign-up.html
12.02
KB
-rwxr-xr-x
signin.php
1.43
KB
-rwxr-xr-x
signup.php
830
B
-rwxr-xr-x
smspush.php
6.61
KB
-rwxr-xr-x
smspush_bkp.php
2.85
KB
-rwxr-xr-x
validateInfo.php
1.69
KB
-rwxr-xr-x
validateRegno.php
562
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : forgot-password.php
<?php require_once("cManualMailer.php"); include ("database.php"); include("sendsmsapi.php"); include("sendGridMail.php"); error_reporting(E_ALL); ini_set('display_errors', 'on'); //$regno = $_POST['regno']; $mob = trim($_POST['mobile']); $query = "SELECT femail from masuser where fmobileno = '{$mob}' and ifnull(factive,'') = 'T'"; $result = mysqli_query($conn,$query); $count = mysqli_num_rows($result); if($count >0) { $row = mysqli_fetch_assoc($result); $email = $row['femail']; $otp = rand(100000, 900000); $smsotp = "Dear Student, Your mobile OTP for reseting password is $otp"; $username = 'logisyhttp'; $password = 'Logis986'; $from = 'LOGINF'; $to = $mob; $text = $smsotp; $category = ''; $smsresp = sendsmaapi($username,$password,$from,$to,$text,$category); $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'>OTP for reseting your password is $otp<br/></p></br>"; $message.="</br>"; $message.="</body>"; $message.="</html>"; $subject="Student Portal : Forgot Password"; $resp = sendGridMail($email,$subject,$message); $data = json_decode($resp, true); //$data = send_manual_mail($email,$subject,$message,$replay_to=null,$cc=null,'techsupport@logisys.net.in'); $query = "update masuser set fresetotp = '{$otp}', fresetotptime = now(), fresetotpcount = fresetotpcount+1 where fmobileno = '{$mob}'"; $result = mysqli_query($conn,$query); if($result == 1) { $response['femail'] = $email; $response['status'] = 'success'; $response['msg'] = 'OTP sent to your registered mobile: '.$mob.' and email :'.$email; echo json_encode($response); } else { $response['status'] = 'error'; $response['msg'] = 'Something went wrong'; echo json_encode($response); } } else { $response['status'] = 'error'; $response['msg'] = 'Try with registered mobile number'; echo json_encode($response); } mysqli_close($conn); ?>
Close