This repository was archived by the owner on Jun 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathgenerate.php
More file actions
58 lines (57 loc) · 1.9 KB
/
generate.php
File metadata and controls
58 lines (57 loc) · 1.9 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
$ots_rsakey = "109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413";
$version = $_POST["version"];
$tibiaspr = $_POST["file-spr"];
$tibiadat = $_POST["file-dat"];
$tibiapic = $_POST["file-pic"];
$rsakey = $_POST["rsa"];
$ipaddress = $_POST["address"];
$port = (int)$_POST["port"];
$title = $_POST["title"];
$createurl = $_POST["create-url"];
$manageurl = $_POST["manage-url"];
$siteurl = $_POST["site-url"];
$sitebutton = $_POST["site-button"];
$defaultch = $_POST["default-channel"];
$serverlog = $_POST["server-channel"];
$copyright = $_POST["copyright"];
$injectdll = $_POST["injectdll"];
$lighthack = $_POST["light-hack"];
$mchack = $_POST["mc-hack"];
$xray = $_POST["x-ray"];
$extfiles = $_POST["ext-files"];
$exteffects = $_POST["ext-effects"];
$extskills = $_POST["ext-skills"];
$exthp = $_POST["ext-hp"];
$extmp = $_POST["ext-mp"];
if($version == "7.40")
include 'clients/740.php';
else if($version == "7.60")
include 'clients/760.php';
else if($version == "7.72")
include 'clients/772.php';
else if($version == "7.92")
include 'clients/792.php';
else if($version == "8.00")
include 'clients/800.php';
else if($version == "8.10")
include 'clients/810.php';
else if($version == "8.40")
include 'clients/840.php';
else if($version == "8.54")
include 'clients/854.php';
else if($version == "8.60")
include 'clients/860.php';
else if($version == "8.70")
include 'clients/870.php';
else if($version == "9.80")
include 'clients/980.php';
else if($version == "10.96")
include 'clients/1096.php';
else if($version == "10.97")
include 'clients/1097.php';
else if($version == "10.98")
include 'clients/1098.php';
else
die("Unknown client version");
include 'pushfile.php';