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.7.112
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 /
dud /
adm /
[ HOME SHELL ]
Name
Size
Permission
Action
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
.adm.php
3.61
KB
-rw-r--r--
MainPage.html
52.5
KB
-rwxrwxrwx
MainPage_19082019.html
50.55
KB
-rwxrwxrwx
MainPage_29122018.html
50.55
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.48
KB
-rwxrwxrwx
cronjob_sendsms.php
2.54
KB
-rwxrwxrwx
database.php
434
B
-rwxrwxrwx
direct-signin.php
886
B
-rwxrwxrwx
forgot-password.php
2.31
KB
-rwxrwxrwx
forgotPassword.html
4.84
KB
-rwxrwxrwx
index.html
5.02
KB
-rwxrwxrwx
index_1.html
130
B
-rwxrwxrwx
instruction.html
10.91
KB
-rwxrwxrwx
instruction_10092018.html
8.37
KB
-rwxrwxrwx
instruction_19082019.html
10.31
KB
-rwxrwxrwx
instruction_24092018.html
9.08
KB
-rwxrwxrwx
instruction_regn.html
4.44
KB
-rwxrwxrwx
login.php
294
B
-rwxrwxrwx
resetpassword.php
697
B
-rwxrwxrwx
sendGridMail.php
1.28
KB
-rwxrwxrwx
sendMobEmailOTP.php
1.4
KB
-rwxrwxrwx
sendsmsapi.php
814
B
-rwxrwxrwx
sign-up.html
7.29
KB
-rwxrwxrwx
signin.php
977
B
-rwxrwxrwx
signup.php
1.22
KB
-rwxrwxrwx
support.html
4.76
KB
-rwxrwxrwx
upload.php
415
B
-rwxrwxrwx
upload1.php
423
B
-rwxrwxrwx
upload_file.php
748
B
-rwxrwxrwx
upload_file_09102018.php
523
B
-rwxrwxrwx
validateRegno.php
2.15
KB
-rwxrwxrwx
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'); //$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); $sms = new SMS("023", '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