User_info fix for HabboPHP

Results 1 to 14 of 14
  1. #1
    Account Upgraded | Title Enabled! Dokotrs is offline
    MemberRank
    Nov 2011 Join Date
    345Posts

    User_info fix for HabboPHP

    Add code just below "require 'init.php';" in me.php

    Code:
     $my_id = $user->id;
    $regdate = $user->account_created;
    $regstamp = strtotime($regdate);
    $userinfo = mysql_query("SELECT user_id FROM user_info WHERE user_id = '".$my_id."'") or die(mysql_error());
    $userinfo_num = mysql_num_rows($userinfo);
    if($userinfo_num == 0){
    mysql_query("INSERT INTO user_info (user_id, bans, cautions, reg_timestamp, login_timestamp, cfhs, cfhs_abusive) VALUES ('".$my_id."',0,0,'".$regstamp."',0,0,0)");
    }
    Q: What's the point of fixing user_info?

    A: It makes the 'my page' in client work.
    untitled.png

    Credits to thewicard from devbest. :)
    Last edited by Dokotrs; 25-06-13 at 09:05 AM.


  2. #2
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: User_info fix for HabboPHP

    Nice fix :-)

  3. #3
    QUIT RETROS Zedd is offline
    MemberRank
    Dec 2012 Join Date
    NorwayLocation
    295Posts

    Re: User_info fix for HabboPHP

    HabboPHP sucks...

  4. #4
    Account Upgraded | Title Enabled! Dokotrs is offline
    MemberRank
    Nov 2011 Join Date
    345Posts

    Re: User_info fix for HabboPHP

    Quote Originally Posted by jKody View Post
    HabboPHP sucks...
    Why?

    Sent from my GT-I8160 using Tapatalk 2

  5. #5
    QUIT RETROS Zedd is offline
    MemberRank
    Dec 2012 Join Date
    NorwayLocation
    295Posts

    Re: User_info fix for HabboPHP

    Bad security
    Don't have a web.config or .htaccess
    Using SHA1

    But the design is perfect.

  6. #6
    Hakuna Matata Matata is offline
    MemberRank
    Sep 2012 Join Date
    DenmarkLocation
    807Posts

    Re: User_info fix for HabboPHP

    Quote Originally Posted by jKody View Post
    Bad security
    Don't have a web.config or .htaccess
    Using SHA1

    But the design is perfect.
    Easy to change.

  7. #7
    Apprentice sh0ckw4v3 is offline
    MemberRank
    Jun 2013 Join Date
    9Posts

    Re: User_info fix for HabboPHP

    Quote Originally Posted by jKody View Post
    Bad security
    Don't have a web.config or .htaccess
    Using SHA1

    But the design is perfect.
    "Using SHA1" And what is bad about SHA1? i would like to know.

  8. #8
    QUIT RETROS Zedd is offline
    MemberRank
    Dec 2012 Join Date
    NorwayLocation
    295Posts

    Re: User_info fix for HabboPHP

    u need a hash code etc, and NO cms's use it.

    stop rage m8.

  9. #9
    The one and only! Hejula is offline
    MemberRank
    Nov 2008 Join Date
    4,128Posts

    Re: User_info fix for HabboPHP

    Quote Originally Posted by jKody View Post
    u need a hash code etc, and NO cms's use it.

    stop rage m8.
    So create a simple script forcing users to update their password when they next login. It's not difficult.

  10. #10
    Apprentice sh0ckw4v3 is offline
    MemberRank
    Jun 2013 Join Date
    9Posts

    Re: User_info fix for HabboPHP

    Quote Originally Posted by jKody View Post
    u need a hash code etc, and NO cms's use it.

    stop rage m8.
    That's not a reason to say anything about SHA1. Better yet, lets just md4 it.

  11. #11
    Enthusiast cbalow is offline
    MemberRank
    Mar 2012 Join Date
    28Posts

    Re: User_info fix for HabboPHP

    Why bad security ?

  12. #12
    QUIT RETROS Zedd is offline
    MemberRank
    Dec 2012 Join Date
    NorwayLocation
    295Posts

    Re: User_info fix for HabboPHP

    Someone with how to make it work on MD5? And also a web.config, and too how to fix exploits.

  13. #13
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: User_info fix for HabboPHP

    Quote Originally Posted by jKody View Post
    Someone with how to make it work on MD5? And also a web.config, and too how to fix exploits.
    Replace old encryption with MD5, Google and Google.

  14. #14
    Enthusiast cbalow is offline
    MemberRank
    Mar 2012 Join Date
    28Posts

    Re: User_info fix for HabboPHP

    Quote Originally Posted by jKody View Post
    Someone with how to make it work on MD5? And also a web.config, and too how to fix exploits.
    Which exploits ? I see any one.



Advertisement