403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/drogentest-online.de/web/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/drogentest-online.de/web/partnerlink.php
<?php
require_once("wp-load.php");

$post = get_post($_GET['post_id']);

$sOfferLink = get_post_meta($_GET['post_id'], 'offer_link');
$link = $sOfferLink ? $sOfferLink[0] : false;

if($link === false) {
	if(isset($_GET['search'])) { // Produktsuche auf Amazon
		$sAmazonSearch = urlencode(str_replace('-', ' ', $_GET['post_id']));

		header("location: http://www.amazon.de/s/ref=as_li_ss_tl?_encoding=UTF8&field-keywords=".$sAmazonSearch."&linkCode=ur2&search-type=ss&site-redirect=de&tag=babyratgebernet-21");
		die;
	} elseif(isset($_GET['link_id'])) {
		$sOfferLink = get_post_meta($_GET['link_id'], 'offer_link');
		
		header("location: ".$sOfferLink[0]);
		die;
	} else {
		$sAmazonLink = get_post_meta($_GET['post_id'], 'offer_asa');
		if(isset($sAmazonLink[0])) {
			header("location: http://www.amazon.de/exec/obidos/ASIN/".$sAmazonLink[0]."/handysofortor-21");
			die;
		} else {
			echo "fehlerhafter Link";
		}
	}
} else {
	header("location: ".$link);
	die;
}

Youez - 2016 - github.com/yon3zu
LinuXploit