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/Yahoo.php
<?

class Yahoo
{
	var $spt_site = "";
	var $spt_page = "";
	var $spt_params = "";
	var $spt_keyword = "";
	var $spt_raw = "";
	var $spt_tc = "";
	var $spt_adid = "";
	var $spt_kwid = "";
	var $spt_campgid = "";
	var $spt_adgrpid = "";
	
	var $spt_referer = "";
		
	var $fields = array(
					"YSMKEY"=>"OVKEY",
					"YSMRAW"=>"OVRAW",
					"YSMMTC"=>"OVMTC",
					"YSMADID"=>"OVADID",
					"YSMKWID"=>"OVKWID",
					"YSMCAMPGID"=>"OVCAMPGID",
					"YSMADGRPID"=>"OVADGRPID"
					);
	var $transtable = array(
						"spt_keyword"=>"YSMKEY",
						"spt_raw"=>"YSMRAW",
						"spt_tc"=>"YSMMTC",
						"spt_adid"=>"YSMADID",
						"spt_kwid"=>"YSMKWID",
						"spt_campgid"=>"YSMCAMPGID",
						"spt_adgrpid"=>"YSMADGRPID"
						);
	var $trackerfields = array (
								"spt_site",
								"spt_referer"
								);

	function __construct()
	{
	}
				
	function Load($site)
	{
		foreach ($this->transtable as $key=>$value)
		{
			$ovkey = $this->fields[$value];
			$this->$key = (isset($_GET[$value])) ? $_GET[$value] : $_GET[$ovkey];
			if (isset($_POST[$value]) || isset($_POST[$ovkey]))
			{
				$this->$key = (isset($_POST[$value])) ? $_POST[$value] : $_POST[$ovkey];
			}
		}
				
		$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($_GET[$key]) || isset($_GET[$value]) || isset($_POST[$key]) || isset($_POST[$value]))
			{
				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