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/governmentgrants.us/tracker/client/sources/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/governmentgrants.us/tracker/client/sources/MIVA.php
<?

class MIVA
{
	var $spt_site 	= "";
	var $spt_page 	= "";
	var $spt_params = "";
	var $spt_sid 	= "";
	
	var $spt_referer = "";
		
	var $fields = array(
					"sid"=>"ref"
					);
	var $transtable = array(
						"spt_sid"=>"sid"
						);
	var $trackerfields = array (
								"spt_site",
								"spt_referer"
								);

	function __construct()
	{
	}
				
	function Load($site)
	{
		foreach ($this->transtable as $key=>$value)
		{
			$miva_key = $this->fields[$value];
			$this->$key = (isset($_REQUEST[$value])) ? $_REQUEST[$value] : $_REQUEST[$miva_key];
		}
				
		$this->spt_site = $site;
		$this->spt_referer = (isset($_REQUEST['spt_referer'])) ? $_REQUEST['spt_referer'] : $_SERVER['HTTP_REFERER'];		
	}
	
	function IsTracking()
	{
		foreach ($this->fields as $key=>$value)
		{
			if (isset($_REQUEST[$key]) || isset($_REQUEST[$value]) && $_REQUEST['tc'] == 'mi')
			{
				return true;
			}
		}
		return false;
	}
	
	function URLParameters()
	{
		$returnstring = "&";
		foreach ($this->transtable as $key=>$value)
		{
			$returnstring .= $value . "=" . rawurlencode($this->$key) . "&";
		}
		$returnstring .= "spt_referer=" . rawurlencode($this->spt_referer);
		return $returnstring;
	}
	
	function TrackerParameters()
	{
		$returnstring = "&";
		
		foreach ($this->transtable as $key=>$value)
		{
			$returnstring .= $value . "=" . rawurlencode($this->$key) . "&";
		}
		foreach ($this->trackerfields as $key)
		{
			$returnstring .= $key . "=" . rawurlencode($this->$key) . "&";
		}
		return $returnstring;
	}

	function FormParameters()
	{
		$returnstring = "";
		foreach ($this->transtable as $key=>$value)
		{
			$returnstring .= "<input type='hidden' name='$value' value='" . $this->$key . "'>\n";
		}
		$returnstring .= "<input type='hidden' name='spt_referer' value='" . $this->spt_referer . "'>\n";
		return $returnstring;
	}

}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit