[HELP] PhoenixPHP to r63B client

TheJason2012

New Member
May 9, 2012
1
0
I have an problem with my emulator config on PhoenixPHP
swift and bcstorm works great but i will trylion emulator run on my hotel
but sso tickets is user_tickets in the emulator

and how change i this
Code:
<?php$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);
$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6;
$username = $_SESSION['username'];
if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username']))
{
   $username = $_GET['username'];
   $ticket = $_GET['ticket'];
}
$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
?>
help.PNG


the ticket system is
Code:
                if (ButterflyEnvironment.useSSO)                {
                   queryreactor.setQuery("SELECT users.* FROM users RIGHT JOIN user_tickets ON user_tickets.userid = users.id WHERE user_tickets.sessionticket = @sso AND ipaddress = @ipaddress ");
               }
               else
               {
                   queryreactor.setQuery("SELECT users.* FROM users RIGHT JOIN user_tickets ON user_tickets.userid = users.id WHERE user_tickets.sessionticket = @sso ");
               }
               queryreactor.addParameter("sso", sessionTicket);
               queryreactor.addParameter("ipaddress", ip);
 

Bleep

PHP - HTML - CSS - JAVA ✔
Oct 19, 2012
266
46
I don't think PhoenixPHP works with R63b.
Download RevCMS, if the error still occurs, do the following:
Log out, log back in again. Reload client.
 

JayC

Always Learning
Aug 8, 2013
5,493
1,398
Wrong section for this tbh, you should post this under Help and Support I read through them all the time I could have replied sooner.
 

Sketchblah

New Member
Feb 13, 2013
21
1
Dont use phoenixphp. It's one of the dumbest things you can do. Its incredibly insecure. An 8 year old could hack you :p Just use revcms. Its better and more secure, and you can fix any exploits yourself too because its just better :p
 

ano2k77

Member
Feb 4, 2013
466
30
DO NOT USE PHOENIXPHP, DO NOT! If you use PhoenixPHP, prepare to get hacked tons! It's so easy to SQL Inject, get into your housekeeping and rank yourself, and that's it, hacked. People can even use Havij to SQL Inject a PhoenixPHP, RevCms or HabboPHP are the best ones, or UberCms which is a little more tricky
 

Users who are viewing this thread

Top