Account Password and safe service password

Results 1 to 21 of 21
  1. #1
    Member joeynsam42330 is offline
    MemberRank
    Jul 2010 Join Date
    51Posts

    Account Password and safe service password

    Hello

    I was wanting to know how i can i retrieve a lost account password and a lost safe service password if a player forgets it. Thanks for your help
    Last edited by joeynsam42330; 05-05-11 at 10:45 AM.


  2. #2
    Account Upgraded | Title Enabled! [D@nte] is offline
    MemberRank
    Apr 2010 Join Date
    249Posts

    Re: Account Password and safe service password

    Bruteforce it...

    Set a new one and send it to the attachet mail address for storepw if i'm right iweb has an function to reset it

  3. #3
    Member joeynsam42330 is offline
    MemberRank
    Jul 2010 Join Date
    51Posts

    Re: Account Password and safe service password

    on pwadmin i have to put in old pw before i can change it

  4. #4
    Member joeynsam42330 is offline
    MemberRank
    Jul 2010 Join Date
    51Posts

    Re: Account Password and safe service password

    On pwAdmin i have to enter the old password to change it

  5. #5
    Account Upgraded | Title Enabled! [D@nte] is offline
    MemberRank
    Apr 2010 Join Date
    249Posts

    Re: Account Password and safe service password

    Bruteforce it...

    Set a new one and send it to the attachet mail address for storepw if i'm right iweb has an function to reset it

    ---------- Post added at 10:45 AM ---------- Previous post was at 10:42 AM ----------

    wow this bugged forum is amazing dbl post with 60 min delay -.-

    hi, generate and inject the pw by hand to the db?

  6. #6
    Account Upgraded | Title Enabled! [D@nte] is offline
    MemberRank
    Apr 2010 Join Date
    249Posts

    Re: Account Password and safe service password

    wow this bugged forum is amazing dbl post with 60 min delay -.-

    hi, generate and inject the pw by hand to the db?

  7. #7
    Member joeynsam42330 is offline
    MemberRank
    Jul 2010 Join Date
    51Posts

    Re: Account Password and safe service password

    i cant see anything in the db im using hrace009 server

    ty

  8. #8
    Member joeynsam42330 is offline
    MemberRank
    Jul 2010 Join Date
    51Posts

    Re: Account Password and safe service password

    i cant see anything in the db im using hrace009 server

    ty

    ---------- Post added at 03:11 PM ---------- Previous post was at 02:57 PM ----------

    I cant see anything in my db i use winscp and im using hrace009 release

    ---------- Post added at 03:12 PM ---------- Previous post was at 03:11 PM ----------

    I cant see any characters in my db im using winscp and hrace009 release

  9. #9
    Member joeynsam42330 is offline
    MemberRank
    Jul 2010 Join Date
    51Posts

    Re: Account Password and safe service password

    I cant see any characters in my db im using winscp and hrace009 release

  10. #10
    Account Upgraded | Title Enabled! [D@nte] is offline
    MemberRank
    Apr 2010 Join Date
    249Posts

    Re: Account Password and safe service password

    LOL

    Great idea to try viewing an MSSQL/MYSQL DB with WinSCP

  11. #11
    Member joeynsam42330 is offline
    MemberRank
    Jul 2010 Join Date
    51Posts

    Re: Account Password and safe service password

    Is there tool i can use to view it sorry im just learning

    ---------- Post added at 05:40 PM ---------- Previous post was at 04:54 PM ----------

    ok i got into database but how can i get the password to look like :%ÞÚüƒ¦JÐÞ©µ is it under function if so what is it ive tried everything


    thanks guys

  12. #12
    Account Upgraded | Title Enabled! [D@nte] is offline
    MemberRank
    Apr 2010 Join Date
    249Posts

    Re: Account Password and safe service password

    Cgz you are using a PW release with a fucked up Accountdb, due to the fact that your db saves the PWs as varbinary instead of varchar you'll have either use the storedprocedures to set a new passwort or rewrite you register script to give you the ability to change already registered accounts.

  13. #13
    Member joeynsam42330 is offline
    MemberRank
    Jul 2010 Join Date
    51Posts

    Re: Account Password and safe service password

    IS there a way to change the db so it saves the pw correctly or replace the db so it saves the password correctly.

  14. #14
    Member demonniak is offline
    MemberRank
    Mar 2011 Join Date
    55Posts

    Re: Account Password and safe service password

    hello , you can force the account password

    http://forum.ragezone.com/f694/littl...2/#post6317980

    script by romulan =)

    thanx you romulan ;)

  15. #15
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Account Password and safe service password

    Quote Originally Posted by [D@nte] View Post
    Cgz you are using a PW release with a fucked up Accountdb, due to the fact that your db saves the PWs as varbinary instead of varchar you'll have either use the storedprocedures to set a new passwort or rewrite you register script to give you the ability to change already registered accounts.
    Btw all releases use varbinary instead of varchar

  16. #16
    Member joeynsam42330 is offline
    MemberRank
    Jul 2010 Join Date
    51Posts

    Re: Account Password and safe service password

    Quote Originally Posted by demonniak View Post
    hello , you can force the account password

    http://forum.ragezone.com/f694/littl...2/#post6317980

    script by romulan =)

    thanx you romulan ;)
    where do i put these scripts to make it work srry im new to this

  17. #17
    Account Upgraded | Title Enabled! [D@nte] is offline
    MemberRank
    Apr 2010 Join Date
    249Posts

    Re: Account Password and safe service password

    Quote Originally Posted by Romulan View Post
    Btw all releases use varbinary instead of varchar
    If they all do they are all fucked up!

    VARBINARY is no suitable container to store any hex represented values!

    Anyways our users db do not use varbinary anymore i'll ask Anubis IF he is willed to release the updated stored procedures etc.
    But in any case this is only useful if you want to set up a new users db or have time & knowledge coz it is a shit load of work to convert all passwd from the varbinary to the correct varchar format.

  18. #18
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Account Password and safe service password

    Quote Originally Posted by [D@nte] View Post
    If they all do they are all fucked up!

    VARBINARY is no suitable container to store any hex represented values!

    Anyways our users db do not use varbinary anymore i'll ask Anubis IF he is willed to release the updated stored procedures etc.
    But in any case this is only useful if you want to set up a new users db or have time & knowledge coz it is a shit load of work to convert all passwd from the varbinary to the correct varchar format.
    /facepalm

    You do realize what hex is don't you? Hex is a representation of binary data in an easy for humans to read format... Hell you could even get MySQL to return the hex for you with hex(select `password` from `users` where `id` = '32') tada!

  19. #19
    Angelemu founder tbnanubis is offline
    MemberRank
    Mar 2011 Join Date
    Unicorn ForestLocation
    527Posts

    Re: Account Password and safe service password

    Quote Originally Posted by das7002 View Post
    /facepalm

    You do realize what hex is don't you? Hex is a representation of binary data in an easy for humans to read format... Hell you could even get MySQL to return the hex for you with hex(select `password` from `users` where `id` = '32') tada!
    stored in a string in all releases and using the "varbin2hexsubstr" function.
    its very bad portable and dumpable, you run into charset issues very easily with this "idontknowanameforthisshit" which was initially produced by a typo the first guy who made the mysql support did.

    they are many ways to adjust that stuff to be readable AND portable, it contains 1 little change to acquireuserpasswd, some little adjustments to register and password scripts and 1! query to update the user table.

  20. #20
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Account Password and safe service password

    Quote Originally Posted by tbnanubis View Post
    they are many ways to adjust that stuff to be readable AND portable, it contains 1 little change to acquireuserpasswd, some little adjustments to register and password scripts and 1! query to update the user table.
    Ok maybe you can share that stuff for the mysql's noobs? ^^

  21. #21
    Angelemu founder tbnanubis is offline
    MemberRank
    Mar 2011 Join Date
    Unicorn ForestLocation
    527Posts

    Re: Account Password and safe service password

    Quote Originally Posted by Romulan View Post
    Ok maybe you can share that stuff for the mysql's noobs? ^^
    i shared the adjustments to register scripts already somewhere here.. about the conversion query... well i executed it and without a "crap" db for testing it will be difficult to build that query again xD

    it was something like "UPDATE users SET passwd=varbin3hexsubstr(passwd,16,0)"

    just check how the call in "acquireuserpasswd" is and use the same. if you mess it up, you can execute "update users set passwd=passwd2" if your accounts were generated by the "adduser" function.

    remember to change your acquireuserpasswd after that conversion!

    ---------- Post added at 04:04 AM ---------- Previous post was at 04:01 AM ----------

    here is the changed procedure:
    Code:
    CREATE DEFINER = `pw`@`%` PROCEDURE `acquireuserpasswd`(in name1 VARCHAR(64), out uid1 INTEGER, out passwd1 VARCHAR(64))
    BEGIN
    DECLARE passwdtemp VARCHAR(64);
    START TRANSACTION;
    SELECT id, passwd INTO uid1, passwd1 FROM users WHERE name = name1;
    COMMIT;
    END;
    be careful, the definer has to be the user your gameserver connects with.

    IN ANY CASE: MAKE BACKUPS!
    Last edited by tbnanubis; 12-05-11 at 06:06 AM.



Advertisement