403Webshell
Server IP : 172.67.216.182  /  Your IP : 162.158.108.43
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/wwwroot/lapma.in/airpay_php_v3/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/lapma.in/airpay_php_v3/sendtoairpay.php
<?php
date_default_timezone_set('Asia/Kolkata');
header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );

	$buyerEmail = trim($_POST['buyerEmail']);
	$buyerPhone = trim($_POST['buyerPhone']);
	$buyerFirstName = trim($_POST['buyerFirstName']);
	$buyerLastName = trim($_POST['buyerLastName']);
	$buyerAddress = trim($_POST['buyerAddress']);
	$amount = trim($_POST['amount']);
	$buyerCity = trim($_POST['buyerCity']);
	$buyerState = trim($_POST['buyerState']);
	$buyerPinCode = trim($_POST['buyerPinCode']);
	$buyerCountry = trim($_POST['buyerCountry']);
	$orderid = trim($_POST['orderid']); //Your System Generated Order ID
	// $hiddenmod = trim($_POST['directindexvar']);
	$currency = trim($_POST['currency']);
	$isocurrency = trim($_POST['isocurrency']);
	
    include('config.php');
    include('checksum.php');
    include('validation.php');
	

	// $date = date('Y-m-d');
	// $alldata   = $buyerEmail.$buyerFirstName.$buyerLastName.$buyerAddress.$buyerCity.$buyerState.$buyerCountry.$amount.$orderid.$hiddenmod;
	// $privatekey = Checksum::encrypt($username.":|:".$password, $secret);
	// $keySha256 = Checksum::encryptSha256($username."~:~".$password);
	// $checksum = Checksum::calculateChecksum($alldata,$keySha256);

	$alldata   = $buyerEmail.$buyerFirstName.$buyerLastName.$buyerAddress.$buyerCity.$buyerState.$buyerCountry.$amount.$orderid;
	$privatekey = Checksum::encrypt($username.":|:".$password, $secret);
    $keySha256 = Checksum::encryptSha256($username."~:~".$password);
    $checksum = Checksum::calculateChecksumSha256($alldata.date('Y-m-d'),$keySha256);
  $hiddenmod = "";
	
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3./org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Airpay</title>
<script type="text/javascript">
function submitForm(){
			var form = document.forms[0];
			form.submit();
		}
</script>
</head>
<body onload="javascript:submitForm()">
<center>
<table width="500px;">
	<tr>
		<td align="center" valign="middle">Do Not Refresh or Press Back <br/> Redirecting to Airpay</td>
	</tr>
	<tr>
		<td align="center" valign="middle">
			<form action="	https://payments.airpay.co.in/pay/index.php" method="post">
                <input type="hidden" name="privatekey" value="<?php echo $privatekey; ?>">
                <input type="hidden" name="mercid" value="<?php echo $mercid; ?>">
				<input type="hidden" name="orderid" value="<?php echo $orderid; ?>">
 		        <input type="hidden" name="currency" value="<?php echo $currency; ?>">
		        <input type="hidden" name="isocurrency" value="<?php echo $isocurrency; ?>">
				<!-- <input type="hidden" name="arpyVer" value="3"> -->
				<input type="hidden" name="chmod" value="<?php echo $hiddenmod; ?>">					
				<?php
				Checksum::outputForm($checksum);
				?>

			</form>
		</td>

	</tr>

</table>

</center>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit