Md5()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Md5()

    I love my site yes i do.... but i hate using these long url's when scripting..so somebody told me i can use the mdhash..but im realy not sure how it is implemented.....cuz for eg..if the link is sumn like
    Code:
    http://kasi.wen.ru?ses=9494949449
    how do i retrieve the data in the link because inside that link theres sumn like this
    Code:
    $time=time();
    $id=$user;
    $add=$id.$time;
    $ses=md5($add);
    now how do i get my data n ish?
    lol...in the page that ive posted it i couldve just said sumn like
    Code:
    $user=unmd5thethang['ses'];
    lol..can anybody understand me?

    *

    #2
    Code:
    $tm = time();
          $xtm = $tm + (getsxtm()*60);
          $did = $uid.$tm;
          $res = mysql_query("INSERT INTO ibwf_ses SET id='".md5($did)."', uid='".getuid_nick($uid)."',
    i just noticed that iris blaze/wizard uses the database for this function...hmm..lol..if only i knew it was so simple..lol..

    Comment


      #3
      Code:
      $tm = time();
            $xtm = $tm + (getsxtm()*60);
            $did = $uid.$tm;
            $res = mysql_query("INSERT INTO ibwf_ses SET id='".md5($did)."', uid='".getuid_nick($uid)."',
      i just noticed that iris blaze/wizard uses the database for this function...hmm..lol..if only i knew it was so simple..lol..[/b]

      lol yes its pretty easy. so are you going to use it?

      Comment


        #4
        im thinkin of it..but i dont see the difference...il implement it after i get my mail system working.

        Comment


          #5
          HUH????

          Comment


            #6
            HUH????[/b]
            u got lavalair but u dnt know md5?

            Comment


              #7
              In Lavalair The Passwords Are Encrypted In MD5 Format , But There Are Tools To Decrypt Them

              Comment


                #8
                now how do i get my data n ish?
                lol...in the page that ive posted it i couldve just said sumn like
                Code:
                $user=unmd5thethang['ses'];
                lol..can anybody understand me?[/b]
                md5 is a one way thing .. you cannot reverse it -- ie, it is NOT encyption/decryption

                In Lavalair The Passwords Are Encrypted In MD5 Format , But There Are Tools To Decrypt Them[/b]
                MD5 strings cannot be decrypted. End of.

                The way that your 'tools' to decrypt md5 strings is by gathering a HUGE database of words/character sequences, store their md5 values, and then allow you to search for one that matches..

                does that make sense?

                ------------

                http://md5-hash-online.waraxe.us/
                It is now known how to, with a few hours' work, generate an MD5 collision. That is, to generate two byte strings with the same hash. Since there are a finite number of MD5 outputs (212**, but an infinite number of possible inputs, it has long been known that such collisions must exist, but it had been previously believed to be impractically difficult to find one. The result is that the MD5 hash of some information no longer uniquely identifies it. If I present you with information such as a public key, its MD5 hash might not uniquely identify it; I may have a second public key with the same MD5 hash.[/b]
                which means that you may find another input that has the same md5 hash (or a list of possible decryptions), but not the true, original, input.
                EDIT: that is 2 to the power of 128 .. the best calcuator i could find gave me this as an output :
                3.402823669209385e+38 ...................... A BIG NUMBER!!

                does it make sense now?

                Comment


                  #9
                  i really don't understand what you really want, but you can't decrypt the md5 hashes, it's one way encryption function, and not only me uses this as a function to store passwords and sensitive data, it also used in phpbb, joomla, and almost every other php application in the world, there's others hashes in php like sha1, which is more secure but the problem why programmers can't use this, that they already have projects, for example i can't use this for lavalair.net because md5 can't be reversed thus if i wanna use sha1 all the passwords data will be lost.


                  so you can't pass values by using md5, if you want to pass encrypted data it'll be useless or you'll have to make your own encryption/decryption function and believe me it wont do what you want.

                  Comment


                    #10
                    But I Decrypt Passwords From The Lavalair Database And The Passwords Are In MD5 Format

                    Comment


                      #11
                      thats by using rainbow tables by brute force and that doesnt allways work wouldnt i used to do that on a regular basis via http://milw0rm.com

                      Comment


                        #12
                        Remove The Link O We Start Getting Hacking Probs Etc

                        Comment


                          #13
                          lol doubt it

                          Comment


                            #14
                            Ayt

                            Comment


                              #15
                              i can't use this for lavalair.net because md5 can't be reversed thus if i wanna use sha1 all the passwords data will be lost.[/b]
                              so are you saying that the only reason sha1 isnt used in your script is because nobody would be able to login (you dont have the sha1 equivalent of their password) so their usernames would be lost?
                              lol thats not much of an excuse ... that would be fairly easy to do -- i mean, just use the this process in the login.php file and it should work okay .. leave it in for a month or two and the users who have logged in get their password security .. if someone doesnt login during that time, they deserve to have their account deleted (or you could leave it in permanently lol)

                              Code:
                              |--| check if username exists, if true[username exists], check if pass (after sha1 encryption) exists in the database, 
                              |--| --| if true[sha1 pass is present], continue login normally
                              |--| --| elseif [sha1 pass is not present], check if the md5 encrypted password exists and continue login normally, either silently updating the db or ask the user to re-input their password telling them that it is to improve security etc further details can be found at blah blah ..
                              |--| --| else[neither password is present with any encryption type], it is an incorrect password 
                              |--| else[the username doesn't exist], the username does not exist and the appropriate error message(s) can be dispayed
                              now, im off to go research sha1 and include it in my rewrite of the lavalair script hehe

                              Comment

                              Working...
                              X