54
kheftel
8y

A website just emailed me my forgotten password in PLAINTEXT.

I'm out of breath from running for the hills so fast.

Comments
  • 3
    Ruuuuuuuuunnnnnnnnnnnnnnnn
  • 1
    can't they have unhashed it and then emailed it? or am I missing something?
  • 14
    @craig939393 hashing is a one-way function by design
  • 3
    @craig939393 The point is passwords should be encrypted one way so they cant be decrypted.
  • 3
    ahhh. thanks for the helpful answer.

    what confuses me then, is if you use random number generation to hash a password, surely you need to unhashed it to login and check that password against the database?

    sorry for hijacking this xD
  • 10
    @craig939393 no, no problem, happy to help!

    Here's how it works - when you type in a password on a website, the server hashes it with the same algorithm and compares it to the hashed password in their database. if the hashes match, you're allowed in. They never have to touch the plaintext password after signup. AND if (when) they get breached and the hackers get a database dump, they can't just grab all the passwords at once.
  • 4
    hopefully they use a salt and an expensive (i.e. slow) hashing function like bcrypt and even if the hackers have the database, they have to brute-force each password individually, and it is a slow process requiring lots of hardware.
  • 1
    I understand now. by touching the password in the database you invite trouble. thanks man.
  • 0
    @craig939393 anytime!
  • 10
  • 1
    @Bastian oh didn't know! Will do!!
  • 2
    @Bastian haha it was already on there
  • 2
    @kheftel
    Great tool, some guy in here told me about it, cant remember who, but it is nice ! i think is has some plugin that checks the site you visit in the registry of offendors aswell 😃
  • 1
    That is sooooo bad 😩
  • 2
    @Bastian I knew there was a site like that! *off to report some websites* Thx!
  • 1
    naaaaaame and shaaaaaame....
  • 1
    It was referralkey.com. Avoid.
  • 0
    What if the hash just looks like plain text? =)
    Besides, secure servers. No breach possible. Lol.
Add Comment