One Doubt

Results 1 to 15 of 15
  1. #1
    Elite Member kombinho is offline
    Member +Rank
    Nov 2011 Join Date
    121Posts

    note One Doubt

    Hello Ragezone staff, I have doubts that a long time I could not solve ...
    Is there a way I do a global password?
    Type a password to get in all loguins?
    When I need to get in any account I use suspect only the password ...
    If you have someone like me can go?


  2. #2
    Viva la Vida NaMeLeS is offline
    Grand MasterRank
    Jul 2011 Join Date
    613Posts

    Re: One Doubt

    I doubt it...

    Maybe with some very good server side mysql programming but I still doubt it.

    Anyway, it would be insecure, the password on PW accounts are easy to break, the server doesn't reject multiple requests so with the right program that connects directly to the server you can crack a password very fast, thus, a master password would be insecure

  3. #3
    Black Magic Development das7002 is offline
    Grand MasterRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: One Doubt

    It'd be better to just change password of accounts as needed then having a master password. For example, you can write a pwadmin plugin that saves old password and updates account with gm password so that they can login. That would be seething incredibly easy to do, but I dont really see the point as everything you need to know about a players account is available in pwadmin anyway.
    Posted via Mobile Device

  4. #4
    Sorcerer Supreme ivanaivana is offline
    Member +Rank
    Oct 2010 Join Date
    RussiaLocation
    323Posts

    Re: One Doubt

    This way it is impossible. Cos you need to reverse and recompile with new blocks authd, uniquenamed.

    But you can easily force registration script to write pass into some field in database. Like Namaless said, it is unsecure, cos if some1 get your databases, they will get all pass.

  5. #5
    Elite Member kombinho is offline
    Member +Rank
    Nov 2011 Join Date
    121Posts

    Re: One Doubt

    Then someone can at least teach me to do a log with records?
    Example date it was created, login and password?

  6. #6
    Member RolleR987 is offline
    MemberRank
    Jul 2009 Join Date
    32Posts

    Re: One Doubt

    you can change the password of any account you have, enter it, and then change password back
    - place this "md5.php" file on your web server (it only generates encrypted password)
    PHP Code:
    <form action="" method="POST">Login:
        <input class="input_box" type="text" name="login">Password:
        <input class="input_box" type="password" name="pass"/>            
        <input class="input_submit" type="submit" value="Get it!" />
        <p>
    <?php 
    $sum
    =$_REQUEST['login'].$_REQUEST['pass'];
    $md=md5($sum);
    $cc="0x";
    $md52=$cc.$md;
    $login $_REQUEST['login'];
    $pass $_REQUEST['pass'];
    $Salt base64_encode(md5($login.$passtrue));
    echo 
    "MSSQL:<br>exec adduser $login,$md52,'0','0','0','0','0','0','0','0','0','0','0','1','','1',$md52<br>";
    echo 
    "MYSQL:<br>call adduser('$login', '$Salt', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '$Salt')";
    ?></form>
    - login your phpmyadmin
    - open modify page of account you need to enter

    (my regisration script writes encrypted password twise, in "passwd" and "passwd2" fields)

    - open md5.php enter login you need and new password you need into web form and push 'Get it!'
    - you will see mysql and mssql querrys for registering new account

    - cjT6rg+XZaNYt5DVogfVJQ==is the encrypted password for login:Login and password:Password you will get other value for your account
    - copy that value in your phpmyadmin in passwd line of your account and save it
    now you can login in game with your new password
    ps when you finish what you had to do just copy back encrypted password from passwd2 to passwd
    Last edited by RolleR987; 26-12-11 at 05:07 PM.

  7. #7
    Genesis?Is it a new drug? renan7899 is offline
    Grand MasterRank
    Apr 2010 Join Date
    BrazilLocation
    519Posts

    Re: One Doubt

    Spoiler:
    Quote Originally Posted by RolleR987 View Post
    you can change the password of any account you have, enter it, and then change password back
    - place this "md5.php" file on your web server (it only generates encrypted password)
    PHP Code:
    <form action="" method="POST">Login:
        <input class="input_box" type="text" name="login">Password:
        <input class="input_box" type="password" name="pass"/>            
        <input class="input_submit" type="submit" value="Get it!" />
        <p>
    <?php 
    $sum
    =$_REQUEST['login'].$_REQUEST['pass'];
    $md=md5($sum);
    $cc="0x";
    $md52=$cc.$md;
    $login $_REQUEST['login'];
    $pass $_REQUEST['pass'];
    $Salt base64_encode(md5($login.$passtrue));
    echo 
    "MSSQL:<br>exec adduser $login,$md52,'0','0','0','0','0','0','0','0','0','0','0','1','','1',$md52<br>";
    echo 
    "MYSQL:<br>call adduser('$login', '$Salt', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '$Salt')";
    ?></form>
    - login your phpmyadmin
    - open modify page of account you need to enter

    (my regisration script writes encrypted password twise, in "passwd" and "passwd2" fields)

    - open md5.php enter login you need and new password you need into web form and push 'Get it!'
    - you will see mysql and mssql querrys for registering new account

    - cjT6rg+XZaNYt5DVogfVJQ==is the encrypted password for login:Login and password:Password you will get other value for your account
    - copy that value in your phpmyadmin in passwd line of your account and save it
    now you can login in game with your new password
    ps when you finish what you had to do just copy back encrypted password from passwd2 to passwd



    Yeah.... probably that's why they created passwd2. They may have other methods to use it, but yours is great. xD

  8. #8
    Elite Member kombinho is offline
    Member +Rank
    Nov 2011 Join Date
    121Posts

    Re: One Doubt

    As much as the fellow above has tried to make it clear I could not understand.

  9. #9
    Grand Master 343 is offline
    Grand MasterRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,510Posts

    Re: One Doubt

    Quote Originally Posted by kombinho View Post
    As much as the fellow above has tried to make it clear I could not understand.
    Basically you're forcing a password change (in the password field), then when you're done accessing the account in question you change it back to the users 'normal' password (because that will be still stored in the password2 field)

  10. #10
    Elite Member kombinho is offline
    Member +Rank
    Nov 2011 Join Date
    121Posts

    Re: One Doubt

    In fact I know it is but it looks the way it is "A8A ± ¿| DàËdz" U3 "there is no way to figure this o.0

  11. #11
    Black Magic Development das7002 is offline
    Grand MasterRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: One Doubt

    Quote Originally Posted by kombinho View Post
    In fact I know it is but it looks the way it is "A8A ± ¿| DàËdz" U3 "there is no way to figure this o.0
    It's just binary data if it were read as ASCII/UTF-8...

  12. #12
    Elite Member kombinho is offline
    Member +Rank
    Nov 2011 Join Date
    121Posts

    Re: One Doubt

    I do not know any method to be able to see what these codes mean: /

  13. #13
    Black Magic Development das7002 is offline
    Grand MasterRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: One Doubt

    Quote Originally Posted by kombinho View Post
    I do not know any method to be able to see what these codes mean: /
    Code:
    hex(select `passwd` from `users` where `uid` = 1234);

  14. #14
    Robb rbb138 is offline
    Grand MasterRank
    Jan 2009 Join Date
    London, EnglandLocation
    1,241Posts

    Re: One Doubt

    Quote Originally Posted by ivanaivana View Post
    This way it is impossible. Cos you need to reverse and recompile with new blocks authd, uniquenamed.

    But you can easily force registration script to write pass into some field in database. Like Namaless said, it is unsecure, cos if some1 get your databases, they will get all pass.
    You're forgetting that we do actually have the full source code for authd in a compilable environment, it's only java afterall.
    With a little bit of java magic we could easily implement a system to stop multiple logins or have a master password defined in the java class itself, instead of the database.

    Quote Originally Posted by das7002 View Post
    Code:
    hex(select `passwd` from `users` where `uid` = 1234);
    Using Hex() has a 5% chance of failing.

    You wanna use the stored function acquireuserpasswd:
    Code:
    CALL acquireuserpasswd('username',@uid,@password)
    SELECT @password
    Would give you the password for an account called "username" and print the user ID to a variable called @uid and the encrypted password string to a variable called @password.

    I used this to extract 80,000 accounts and passwords so i could later import them into our forum database and every single one of them worked.

  15. #15
    Black Magic Development das7002 is offline
    Grand MasterRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: One Doubt

    Quote Originally Posted by rbb138 View Post
    You're forgetting that we do actually have the full source code for authd in a compilable environment, it's only java afterall.
    With a little bit of java magic we could easily implement a system to stop multiple logins or have a master password defined in the java class itself, instead of the database.


    Using Hex() has a 5% chance of failing.

    You wanna use the stored function acquireuserpasswd:
    Code:
    CALL acquireuserpasswd('username',@uid,@password)
    SELECT @password
    Would give you the password for an account called "username" and print the user ID to a variable called @uid and the encrypted password string to a variable called @password.

    I used this to extract 80,000 accounts and passwords so i could later import them into our forum database and every single one of them worked.
    eh w/e, I was only posting that as a way to see what the data really is and not in ASCII (hex() is a mysql function)



Advertisement