[PATCHER] Phoenix License URL Modifier
I have made a program which uses the default Phoenix 3.0. It will use a program called de4dot which will clean the legit Phoenix automaitcally. My program will replace otaku.cm with any hostname, without requiring a source change!
This allows the ability to use the legit Phoenix without bugs! And to host your own license server without DNS edits either.
How to use;
The legit Phoenix is already included so no need to worry about finding it!
Download of 3.11
https://www.rapidshare.com/files/333...?directstart=1
Step 1)
Open up LicenseChanger.exe and it should open de4dot and create a new file called phx-cleaned.exe, once that is done, this will appear:
http://i.imgur.com/oPuLuK2.png
And put in any domain your hotel is hosted on, if my hotel domain was http://scoobydoohotel.com/ I would type scoobydoohotel.com then press ENTER!
New feature!
You can now change the console colours!
http://i.imgur.com/IK1PVvG.png
And the output is
http://i.imgur.com/8l5CQKo.png
Step 2
You should see all this (shows which strings are being replaced):
http://i.imgur.com/evtQy3q.png
Congrats it modified the program! It has made a new file called phx-licensemodify.exe, copy that file into the main folder where Phoenix 3.0 is.
Put it inside the folder where Phoenix 3.0.exe is of the legit download, posted above or
https://www.rapidshare.com/files/333...?directstart=1
Step 3
This is where it's gon' get hard, son!
Where the root directory of scoobydoohotel.com is, make a new directory/folder called /phx/
Add these two files - copy their names WORD FOR WORD:
Put 127.0.0.1 inside override.php. Now open licence.php and add (Thanks to Bui)
Code:
<?php
if (!function_exists('getallheaders')) {
function getallheaders() {
$headers = '';
foreach ($_SERVER as $name => $value) {
if (substr($name, 0, 5) == 'HTTP_') {
$headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value;
}
}
return $headers;
}
}
$res = getallheaders();
if (isset($res['Authname'])) {
$user = $res['Authname'];
} else {
$user = "Bui";
}
if (isset($res['Authpass'])) {
$pass = $res['Authpass'];
} else {
$pass = "nope";
}
$k1 = "CF4E14B54958188F9EC4A75CBE1B2B4C";
$k1 = strtoupper(md5($k1 . $user));
$k1 = strtoupper(md5($k1 . $pass));
$k1 = strtoupper(md5($k1 . strlen($user)));
$k1 = strtoupper(md5($k1 . strlen($pass)));
$k2 = strtoupper(md5(strlen($user) * 14986));
$k3 = strtoupper(md5(strlen($pass) % 14986));
header('AuthU: ' . strlen($user));
header('AuthGen: ' . strtoupper(md5(strlen($user) * strlen($pass))) . 'a669d0dc7051ddb9d102157cca675e57' . $k1 . $k2 . $k3);
header('MinBuild: 14986');
header('CurBuild: 14986');
header('ExtraData: 0.0.0.0:1232:1233');
header('dce: true');
?>
Step 4
Open up phx-licensemodify.exe remembering that you need to edit config.conf, add
Code:
game.tcp.port=30000
And edit the port, then start the server! :):
So you know what Phoenix can listen on, and it should work!
Congrats you've edited Phoenix without decompiling!
http://i.imgur.com/vAEik0Q.png
Download
To protect my code and the intelligence behind this application - I have obfuscated it. It may have a false positive!
Don't trust? Don't download.
Rep or Like? :love:
Quote:
Originally Posted by
Matthew
Nice release! I was very bored and decided to add a little extra layer of security to stop people from both using and seeing your licence.php and override.php files. If you're interested do the following:
Open up licence.php and add the following code to the top
right after the '<?php' tag:
PHP Code:
$allowedIps = array
(
'127.0.0.1',
'12.345.67.98' //Here should be your server IP
);
if(!in_array($_SERVER['REMOTE_ADDR'], $allowedIps))
{
header("HTTP/1.0 404 Not Found");
exit;
}
Thinking about it, you're going to want to put your own IP in override.php to initiate the secret hotel commands like :rave, :makesay etc. With this comes a risk - your own IP is there in the php file. Any script kiddie (boy there are a lot) can simply go on your hotel and go to /phx/override.php and attack your IP so I highly recommend you use the following code for your override.php
Since there is no PHP in this file, we need to add the tags so, the entire file should look like this (In case you're an utter noob, heres a pic
http://puu.sh/2JVsT.png):
PHP Code:
<?php
$allowedIps = array
(
'127.0.0.1',
'12.345.67.98' //Here should be your server IP
);
if(!in_array($_SERVER['REMOTE_ADDR'], $allowedIps))
{
header("HTTP/1.0 404 Not Found");
exit;
}
?>
your.ip.here
To state the obvious, you need to change the 12.345.67.98 and your.ip.here to your own IP's.
Re: [PATCHER] Phoenix License URL Modifier
is the phx.exe the REAL phoenix.exe or like your decompiled source..
if its the real this is rilly epic :o
Re: [PATCHER] Phoenix License URL Modifier
Quote:
Originally Posted by
ImNotSatan
is the phx.exe the REAL phoenix.exe or like your decompiled source..
if its the real this is rilly epic :o
It's the official Phoenix binary, but this program modifies it.
Nice release, Quackster. Glad to see licence.php being used :)
Re: [PATCHER] Phoenix License URL Modifier
Quote:
Originally Posted by
ImNotSatan
is the phx.exe the REAL phoenix.exe or like your decompiled source..
if its the real this is rilly epic :o
Yep, the real one.
If you want to make sure, delete the existing phx.exe and add the legit Phoenix and name it phx.exe :wink:
Because it will still work (as it's still the legit version)!
Re: [PATCHER] Phoenix License URL Modifier
Cheers alex! ;[ your program hates me!!! lool but yeah it works great! Like + rep
Re: [PATCHER] Phoenix License URL Modifier
Alex, fantastic release. You rock, fullstop.
Re: [PATCHER] Phoenix License URL Modifier
Nice release,
I go to make out a test.
Re: [PATCHER] Phoenix License URL Modifier
Gives me the invalid license thinggy. Help.
EDIT: Found out what's wrong when going through the license part. Just change your name to Bui and password to nope in the config file.
Re: [PATCHER] Phoenix License URL Modifier
Quote:
Originally Posted by
LikeOMG
Gives me the invalid license thinggy. Help.
EDIT: Found out what's wrong when going through the license part. Just change your name to Bui and password to nope in the config file.
What number did it say when it said invalid license?
##1 etc.
Re: [PATCHER] Phoenix License URL Modifier
Quote:
Originally Posted by
Quackster
What number did it say when it said invalid license?
##1 etc.
#5, fixed it though, its the license.php's fault. Just found something new, when I open my badges, the emu closed by itself. Any ideas?
Re: [PATCHER] Phoenix License URL Modifier
Quote:
Originally Posted by
LikeOMG
#5, fixed it though, its the license.php's fault. Just found something new, when I open my badges, the emu closed by itself. Any ideas?
I'll have a look into it!
Re: [PATCHER] Phoenix License URL Modifier
Does it work good or not?
do bugs occur?
Re: [PATCHER] Phoenix License URL Modifier
Thanks Quackster. But I think that the official Phoenix might have a few backdoors going by the length of the license check string and stuff. Mine wasn't working when i tried changing the string on my own :/ but when i used your license.php from quackster.net it worked fine. Any quick solutions so I don't have to hotlink to yours XD ( which i am VERY sorry about )
Re: [PATCHER] Phoenix License URL Modifier
Quote:
Originally Posted by
Vrop93
Thanks Quackster. But I think that the official Phoenix might have a few backdoors going by the length of the license check string and stuff. Mine wasn't working when i tried changing the string on my own :/ but when i used your license.php from quackster.net it worked fine. Any quick solutions so I don't have to hotlink to yours XD ( which i am VERY sorry about )
There is no backdoors in licence.php. Those strings are all checked by Phoenix; I reverse engineered the licence server ;)
Re: [PATCHER] Phoenix License URL Modifier
Quote:
Originally Posted by
Bui
There is no backdoors in licence.php. Those strings are all checked by Phoenix; I reverse engineered the licence server ;)
I'm not talking about the license.php, I know it doesn't have backdoors, I'm talking about the original Phoenix. I think I remember seeing a string comparing the length of the url to the license check string checking the length or the string in the source